aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptrcnull <git@ptrcnull.me>2023-04-22 15:25:26 +0000
committerpsykose <alice@ayaya.dev>2023-04-22 17:25:26 +0200
commit224a7b0d10c6981192805068ab6e7b149f684e24 (patch)
treed074afbff671f1b26dc4d3a063529ca130d998fa
parent1658be7196e6977ab8879af7af36b587983b464d (diff)
community/[g-l]*: split -pyc
-rw-r--r--community/gajim/APKBUILD4
-rw-r--r--community/gallery-dl/APKBUILD3
-rw-r--r--community/gcovr/APKBUILD3
-rwxr-xr-xcommunity/gdal/APKBUILD3
-rw-r--r--community/gedit-plugins/APKBUILD10
-rw-r--r--community/git-archive-all/APKBUILD3
-rw-r--r--community/git-machete/APKBUILD3
-rw-r--r--community/git-review/APKBUILD4
-rw-r--r--community/gkraken/APKBUILD3
-rw-r--r--community/glances/APKBUILD4
-rw-r--r--community/gnome-browser-connector/APKBUILD3
-rw-r--r--community/gnome-tweaks/APKBUILD4
-rw-r--r--community/goobook/APKBUILD4
-rw-r--r--community/gpgme/APKBUILD3
-rw-r--r--community/gpodder-adaptive/APKBUILD4
-rw-r--r--community/gpodder/APKBUILD4
-rw-r--r--community/greenbone-feed-sync/APKBUILD3
-rw-r--r--community/gvm-tools/APKBUILD3
-rw-r--r--community/gyp/APKBUILD3
-rw-r--r--community/hivemind-ptt/APKBUILD3
-rw-r--r--community/httpie/APKBUILD4
-rw-r--r--community/ibus-hangul/APKBUILD10
-rw-r--r--community/ibus/APKBUILD8
-rw-r--r--community/ifstate/APKBUILD4
-rw-r--r--community/interrogate/APKBUILD3
-rw-r--r--community/iotop/APKBUILD4
-rw-r--r--community/ipython/APKBUILD4
-rw-r--r--community/jellyfin-mpv-shim/APKBUILD3
-rw-r--r--community/jupyter-nbclassic/APKBUILD3
-rw-r--r--community/jupyter-nbclient/APKBUILD3
-rw-r--r--community/jupyter-nbconvert/APKBUILD3
-rw-r--r--community/jupyter-nbformat/APKBUILD3
-rw-r--r--community/jupyter-notebook-shim/APKBUILD3
-rw-r--r--community/jupyter-notebook/APKBUILD3
-rw-r--r--community/jupyter-server-terminals/APKBUILD3
-rw-r--r--community/jupyter-server/APKBUILD3
-rw-r--r--community/kajongg/APKBUILD9
-rw-r--r--community/kapidox/APKBUILD3
-rw-r--r--community/khal/APKBUILD3
-rw-r--r--community/kitty/APKBUILD10
-rw-r--r--community/lensfun/APKBUILD4
-rw-r--r--community/libmarisa/APKBUILD4
-rw-r--r--community/libteam/APKBUILD20
-rw-r--r--community/liquidctl/APKBUILD4
-rw-r--r--community/lirc/APKBUILD10
-rw-r--r--community/lldb/APKBUILD6
-rw-r--r--community/lyx/APKBUILD10
47 files changed, 145 insertions, 76 deletions
diff --git a/community/gajim/APKBUILD b/community/gajim/APKBUILD
index 5a4336d3a49..d91510daeec 100644
--- a/community/gajim/APKBUILD
+++ b/community/gajim/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Peter Shkenev <santurysim@gmail.com>
pkgname=gajim
pkgver=1.7.3
-pkgrel=0
+pkgrel=1
_pkgver_suffix=""
pkgdesc="A full featured and easy to use XMPP client"
url="https://gajim.org/"
@@ -36,7 +36,7 @@ checkdepends="xvfb-run font-dejavu"
source="
https://gajim.org/downloads/${pkgver:0:3}/gajim-$pkgver$_pkgver_suffix.tar.gz
"
-subpackages="$pkgname-doc $pkgname-lang"
+subpackages="$pkgname-doc $pkgname-lang $pkgname-pyc"
build() {
./pep517build/build_metadata.py -o dist/metadata
diff --git a/community/gallery-dl/APKBUILD b/community/gallery-dl/APKBUILD
index 7e975635ec1..bd7544a2ff2 100644
--- a/community/gallery-dl/APKBUILD
+++ b/community/gallery-dl/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Hoang Nguyen <folliekazetani@protonmail.com>
pkgname=gallery-dl
pkgver=1.25.2
-pkgrel=0
+pkgrel=1
pkgdesc="CLI tool to download image galleries"
url="https://github.com/mikf/gallery-dl"
arch="noarch"
@@ -12,6 +12,7 @@ makedepends="py3-setuptools"
checkdepends="py3-pytest yt-dlp"
subpackages="
$pkgname-doc
+ $pkgname-pyc
$pkgname-bash-completion
$pkgname-zsh-completion
$pkgname-fish-completion
diff --git a/community/gcovr/APKBUILD b/community/gcovr/APKBUILD
index 103f8bb8f28..d0a2d8fd8c1 100644
--- a/community/gcovr/APKBUILD
+++ b/community/gcovr/APKBUILD
@@ -2,13 +2,14 @@
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=gcovr
pkgver=6.0
-pkgrel=0
+pkgrel=1
pkgdesc="Generates a simple report that summarizes the gcc code coverage"
url="http://gcovr.com/"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-setuptools py3-lxml py3-jinja2"
checkdepends="py3-pytest py3-pyutilib cmake"
+subpackages="$pkgname-pyc"
source="gcovr-$pkgver.tar.gz::https://github.com/gcovr/gcovr/archive/$pkgver.tar.gz"
options="!check" # tests are failing
diff --git a/community/gdal/APKBUILD b/community/gdal/APKBUILD
index d1a55f289a1..cde96b21a19 100755
--- a/community/gdal/APKBUILD
+++ b/community/gdal/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Holger Jaekel <holger.jaekel@gmx.de>
pkgname=gdal
pkgver=3.6.3
-pkgrel=5
+pkgrel=6
pkgdesc="A translator library for raster and vector geospatial data formats"
url="https://gdal.org/"
arch="all"
@@ -66,6 +66,7 @@ checkdepends="
"
subpackages="
$pkgname-dev
+ py3-$pkgname-pyc
py3-$pkgname:_py3
$pkgname-tools
$pkgname-doc
diff --git a/community/gedit-plugins/APKBUILD b/community/gedit-plugins/APKBUILD
index ab49f3a5d37..cbb496703e3 100644
--- a/community/gedit-plugins/APKBUILD
+++ b/community/gedit-plugins/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Ralf Rachinger <alpine@ralfrachinger.de>
pkgname=gedit-plugins
pkgver=44.1
-pkgrel=0
+pkgrel=1
pkgdesc="Plugins for gedit, the GNOME text editor"
url="https://gitlab.gnome.org/GNOME/gedit/blob/master/plugins/list-of-gedit-plugins.md"
arch="all !s390x"
@@ -11,7 +11,7 @@ depends="python3 py3-gobject3 vte3 gucharmap py3-dbus libpeas-python3"
makedepends="glib-dev gtk+3.0-dev gtksourceview4-dev libpeas-dev gedit-dev vala
libgit2-glib-dev itstool vte3-dev gucharmap-dev py3-dbus-dev meson"
checkdepends="appstream-glib"
-subpackages="$pkgname-lang $pkgname-doc"
+subpackages="$pkgname-lang $pkgname-doc $pkgname-pyc"
source="https://download.gnome.org/sources/gedit-plugins/${pkgver%.*}/gedit-plugins-$pkgver.tar.xz"
build() {
@@ -27,6 +27,12 @@ package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
+pyc() {
+ default_pyc
+ local IFS=$'\n'
+ amove $(find usr/lib/gedit/plugins -type d -name __pycache__)
+}
+
sha512sums="
d5d767210b362747e4ba51b61b4d1c58bf5b37aa5f942cb9654f71c534d8bce2594ebc9004bed686627403fe1c3a6af84a45f4ce72af1f27fa7b644d11cdc9e2 gedit-plugins-44.1.tar.xz
"
diff --git a/community/git-archive-all/APKBUILD b/community/git-archive-all/APKBUILD
index a1cfdc67015..05b22f2ec32 100644
--- a/community/git-archive-all/APKBUILD
+++ b/community/git-archive-all/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=git-archive-all
pkgver=1.23.1
-pkgrel=1
+pkgrel=2
pkgdesc="Wrapper for git-archive that archives a git superproject and its submodules"
url="https://github.com/Kentzo/git-archive-all"
arch="noarch"
@@ -11,6 +11,7 @@ license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pycodestyle py3-pytest py3-pytest-cov py3-pytest-mock"
+subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/Kentzo/git-archive-all/archive/refs/tags/$pkgver.tar.gz"
build() {
diff --git a/community/git-machete/APKBUILD b/community/git-machete/APKBUILD
index 924e109971f..13f98bd9c3e 100644
--- a/community/git-machete/APKBUILD
+++ b/community/git-machete/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=git-machete
pkgver=3.16.3
-pkgrel=0
+pkgrel=1
pkgdesc="git repository organizer & rebase/merge workflow automation tool"
url="https://github.com/VirtusLab/git-machete"
arch="noarch"
@@ -11,6 +11,7 @@ depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pytest-mock"
subpackages="
+ $pkgname-pyc
$pkgname-bash-completion
$pkgname-zsh-completion
$pkgname-fish-completion
diff --git a/community/git-review/APKBUILD b/community/git-review/APKBUILD
index 591ca71ba5b..2129df34ccf 100644
--- a/community/git-review/APKBUILD
+++ b/community/git-review/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=git-review
pkgver=2.3.1
-pkgrel=1
+pkgrel=2
pkgdesc="git command for submitting branches to Gerrit"
url="https://opendev.org/opendev/git-review"
arch="noarch"
@@ -10,7 +10,7 @@ license="Apache-2.0"
depends="git python3 py3-requests py3-idna py3-urllib3
py3-chardet py3-certifi py3-setuptools"
makedepends="py3-pbr"
-subpackages="$pkgname-doc"
+subpackages="$pkgname-doc $pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/g/git-review/git-review-$pkgver.tar.gz"
build() {
diff --git a/community/gkraken/APKBUILD b/community/gkraken/APKBUILD
index 608430a03b9..f119ec5e306 100644
--- a/community/gkraken/APKBUILD
+++ b/community/gkraken/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gkraken
pkgver=1.2.0
-pkgrel=1
+pkgrel=2
pkgdesc="GUI that allows to control cooling of NZXT Kraken X pumps from Linux"
url="https://gitlab.com/leinardi/gkraken"
arch="noarch !riscv64" # py3-matplotlib
@@ -11,6 +11,7 @@ depends="python3 libdazzle libnotify py3-gobject3 py3-rx liquidctl py3-injector
py3-matplotlib py3-peewee py3-xdg"
makedepends="meson gobject-introspection-dev gtk+3.0-dev"
options="!check" # no tests
+subpackages="$pkgname-pyc"
source="https://gitlab.com/leinardi/gkraken/-/archive/$pkgver/gkraken-$pkgver.tar.gz
60-gkraken.rules
"
diff --git a/community/glances/APKBUILD b/community/glances/APKBUILD
index 0a88b3b5181..cebac85308f 100644
--- a/community/glances/APKBUILD
+++ b/community/glances/APKBUILD
@@ -4,7 +4,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=glances
pkgver=3.3.1.1
-pkgrel=0
+pkgrel=1
pkgdesc="CLI curses based monitoring tool"
url="https://nicolargo.github.io/glances/"
arch="noarch"
@@ -22,7 +22,7 @@ depends="
python3
"
makedepends="py3-setuptools"
-subpackages="$pkgname-doc"
+subpackages="$pkgname-doc $pkgname-pyc"
source="glances-$pkgver.tar.gz::https://github.com/nicolargo/glances/archive/v$pkgver.tar.gz"
options="!check" # tests fail on builder infra due to env. limitations
diff --git a/community/gnome-browser-connector/APKBUILD b/community/gnome-browser-connector/APKBUILD
index 5ef2e5b64ca..57483cf5e4a 100644
--- a/community/gnome-browser-connector/APKBUILD
+++ b/community/gnome-browser-connector/APKBUILD
@@ -2,13 +2,14 @@
# Maintainer: knuxify <knuxify@gmail.com>
pkgname=gnome-browser-connector
pkgver=42.1
-pkgrel=1
+pkgrel=2
pkgdesc="OS-native connector for the GNOME browser extension"
url="https://wiki.gnome.org/action/show/Projects/GnomeShellIntegration"
arch="noarch"
license="GPL-3.0-or-later"
depends="python3 py3-gobject3"
makedepends="meson"
+subpackages="$pkgname-pyc"
source="https://gitlab.gnome.org/nE0sIghT/gnome-browser-connector/-/archive/v$pkgver/gnome-browser-connector-v$pkgver.tar.gz"
builddir="$srcdir/gnome-browser-connector-v$pkgver"
options="!check" # no test suite
diff --git a/community/gnome-tweaks/APKBUILD b/community/gnome-tweaks/APKBUILD
index 25cd766181f..4d7f87381d5 100644
--- a/community/gnome-tweaks/APKBUILD
+++ b/community/gnome-tweaks/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-tweaks
pkgver=40.10
-pkgrel=5
+pkgrel=6
pkgdesc="GNOME3 tool to customize advanced options"
url="https://wiki.gnome.org/Apps/Tweaks"
# armhf, s390x blocked by mozjs91 -> gnome-shell-schemas
@@ -22,7 +22,7 @@ makedepends="
gettext-dev
meson
"
-subpackages="$pkgname-lang"
+subpackages="$pkgname-lang $pkgname-pyc"
source="https://download.gnome.org/sources/gnome-tweaks/${pkgver%.*}/gnome-tweaks-$pkgver.tar.xz"
build() {
diff --git a/community/goobook/APKBUILD b/community/goobook/APKBUILD
index 917af658f25..99ed88d8a68 100644
--- a/community/goobook/APKBUILD
+++ b/community/goobook/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer:
pkgname=goobook
pkgver=3.5.2
-pkgrel=1
+pkgrel=2
pkgdesc="Access Google contacts from the command line"
url="https://gitlab.com/goobook/goobook"
arch="noarch !ppc64le" # limited by py3-grpcio
@@ -19,7 +19,7 @@ depends="
"
makedepends="py3-docutils py3-gpep517 py3-poetry-core"
options="!check" # no test suite on gitlab
-subpackages="$pkgname-doc"
+subpackages="$pkgname-doc $pkgname-pyc"
source="https://gitlab.com/goobook/goobook/-/archive/$pkgver/goobook-$pkgver.tar.gz"
build() {
diff --git a/community/gpgme/APKBUILD b/community/gpgme/APKBUILD
index 513aa0efb1c..d1dfe80b6d3 100644
--- a/community/gpgme/APKBUILD
+++ b/community/gpgme/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gpgme
pkgver=1.20.0
-pkgrel=0
+pkgrel=1
pkgdesc="gnupg made easy"
url="https://www.gnupg.org/related_software/gpgme/"
arch="all"
@@ -27,6 +27,7 @@ subpackages="
$pkgname-dev
$pkgname-doc
gpgmepp
+ py3-gpgme-pyc
py3-gpgme:py3
q$pkgname
$pkgname-lisp:lisp:noarch
diff --git a/community/gpodder-adaptive/APKBUILD b/community/gpodder-adaptive/APKBUILD
index b43a387a40f..89281195dbb 100644
--- a/community/gpodder-adaptive/APKBUILD
+++ b/community/gpodder-adaptive/APKBUILD
@@ -3,7 +3,7 @@
pkgname=gpodder-adaptive
pkgver=3.11.1
_plusver=1
-pkgrel=0
+pkgrel=1
pkgdesc="Podcast aggregator (adaptive version)"
url="https://github.com/gpodder/gpodder/tree/adaptive"
arch="all !s390x !riscv64" # blocked by adwaita-icon-theme
@@ -23,7 +23,7 @@ depends="
"
makedepends="py3-setuptools intltool help2man"
checkdepends="py3-pytest py3-pytest-httpserver py3-pytest-cov py3-minimock desktop-file-utils"
-subpackages="$pkgname-doc $pkgname-lang"
+subpackages="$pkgname-doc $pkgname-lang $pkgname-pyc"
source="gpodder-adaptive-$pkgver+$_plusver.tar.gz::https://github.com/gpodder/gpodder/archive/refs/tags/adaptive/$pkgver+$_plusver.tar.gz"
builddir="$srcdir/gpodder-adaptive-$pkgver-$_plusver"
diff --git a/community/gpodder/APKBUILD b/community/gpodder/APKBUILD
index b013f9c0fec..e585166b268 100644
--- a/community/gpodder/APKBUILD
+++ b/community/gpodder/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
pkgname=gpodder
pkgver=3.11.1
-pkgrel=1
+pkgrel=2
pkgdesc="Podcast aggregator"
url="https://gpodder.org"
arch="noarch !s390x !riscv64" # blocked by adwaita-icon-theme
@@ -20,7 +20,7 @@ depends="
"
makedepends="py3-setuptools intltool help2man"
checkdepends="py3-pytest py3-pytest-httpserver py3-pytest-cov py3-minimock desktop-file-utils"
-subpackages="$pkgname-doc $pkgname-lang"
+subpackages="$pkgname-doc $pkgname-lang $pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/gpodder/gpodder/archive/refs/tags/$pkgver.tar.gz"
check() {
diff --git a/community/greenbone-feed-sync/APKBUILD b/community/greenbone-feed-sync/APKBUILD
index 2cdae0bd23e..f3e9b4c2d0c 100644
--- a/community/greenbone-feed-sync/APKBUILD
+++ b/community/greenbone-feed-sync/APKBUILD
@@ -3,7 +3,7 @@
pkgname=greenbone-feed-sync
# follow the same version of gvm-tools
pkgver=23.4.0
-pkgrel=1
+pkgrel=2
pkgdesc="New script for syncing the Greenbone Community Feed"
url="https://github.com/greenbone/greenbone-feed-sync"
arch="noarch !armhf !ppc64le" # limited by py3-pytest-httpx
@@ -22,6 +22,7 @@ checkdepends="
py3-pontos
py3-pytest
"
+subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/greenbone/greenbone-feed-sync/archive/refs/tags/v$pkgver.tar.gz"
build() {
diff --git a/community/gvm-tools/APKBUILD b/community/gvm-tools/APKBUILD
index a85bc67d274..a1423a43701 100644
--- a/community/gvm-tools/APKBUILD
+++ b/community/gvm-tools/APKBUILD
@@ -3,7 +3,7 @@
pkgname=gvm-tools
# follow the same version of py3-gvm
pkgver=23.3.0
-pkgrel=0
+pkgrel=1
pkgdesc="Collection of tools for remote controlling a OpenVAS / Greenbone"
url="https://github.com/greenbone/gvm-tools"
arch="noarch"
@@ -11,6 +11,7 @@ license="GPL-3.0-or-later"
depends="python3 py3-gvm py3-lxml"
makedepends="py3-gpep517 py3-installer py3-poetry-core py3-wheel"
checkdepends="py3-gvm py3-pytest"
+subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/greenbone/gvm-tools/archive/v$pkgver.tar.gz"
build() {
diff --git a/community/gyp/APKBUILD b/community/gyp/APKBUILD
index 4bac6de06aa..228f038a05e 100644
--- a/community/gyp/APKBUILD
+++ b/community/gyp/APKBUILD
@@ -4,7 +4,7 @@
pkgname=gyp
pkgver=20220714
_gitrev=9d09418933ea2f75cc416e5ce38d15f62acd5c9a
-pkgrel=1
+pkgrel=2
pkgdesc="Generate Your Projects Meta-Build system"
options="!check" # Tests currently fail
url="https://gyp.gsrc.io"
@@ -12,6 +12,7 @@ arch="noarch"
license="BSD-3-Clause"
depends="python3 ninja py3-six"
makedepends="py3-setuptools"
+subpackages="$pkgname-pyc"
source="$pkgname-$_gitrev.tar.gz::https://github.com/chromium/gyp/archive/$_gitrev.tar.gz
py3.8.patch
fips.patch
diff --git a/community/hivemind-ptt/APKBUILD b/community/hivemind-ptt/APKBUILD
index 5254a8b9ac9..3ff56a86db8 100644
--- a/community/hivemind-ptt/APKBUILD
+++ b/community/hivemind-ptt/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=hivemind-ptt
pkgver=0.1.6
-pkgrel=3
+pkgrel=4
pkgdesc="Mycroft Push to Talk Satellite"
url="https://github.com/JarbasHiveMind/HiveMind-PTT"
arch="noarch"
@@ -21,6 +21,7 @@ depends="
python3
"
makedepends="py3-setuptools"
+subpackages="$pkgname-pyc"
source="https://pypi.python.org/packages/source/H/HiveMind-PtT/HiveMind-PtT-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/HiveMind-PtT-$pkgver"
diff --git a/community/httpie/APKBUILD b/community/httpie/APKBUILD
index 245f74feb39..aa01ae54ebc 100644
--- a/community/httpie/APKBUILD
+++ b/community/httpie/APKBUILD
@@ -4,7 +4,7 @@
# Contributor: Mickaël Schoentgen <mickael@apible.io>
pkgname=httpie
pkgver=3.2.1
-pkgrel=3
+pkgrel=4
pkgdesc="CLI, cURL-like tool"
url="https://httpie.org/"
arch="noarch"
@@ -36,7 +36,7 @@ checkdepends="
py3-werkzeug
"
source="https://files.pythonhosted.org/packages/source/h/httpie/httpie-$pkgver.tar.gz"
-subpackages="$pkgname-doc"
+subpackages="$pkgname-doc $pkgname-pyc"
options="!check" # fail on random network errors
# secfixes:
diff --git a/community/ibus-hangul/APKBUILD b/community/ibus-hangul/APKBUILD
index d8dc1239ed4..6898b47cc8c 100644
--- a/community/ibus-hangul/APKBUILD
+++ b/community/ibus-hangul/APKBUILD
@@ -2,14 +2,14 @@
# Maintainer: Cormac Stephenson <c7s@kasku.net>
pkgname=ibus-hangul
pkgver=1.5.4
-pkgrel=2
+pkgrel=3
pkgdesc="Korean input method engine for IBus"
url="https://github.com/libhangul/ibus-hangul"
arch="all"
license="GPL-2.0-only"
depends="py3-gobject3 gtk-update-icon-cache"
makedepends="automake autoconf libtool ibus-dev libhangul-dev gtk+3.0-dev"
-subpackages="$pkgname-lang"
+subpackages="$pkgname-lang $pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/libhangul/ibus-hangul/archive/refs/tags/$pkgver.tar.gz
0001-Update-gettext-version.patch
"
@@ -37,6 +37,12 @@ package() {
make DESTDIR="$pkgdir" install
}
+pyc() {
+ default_pyc
+
+ amove usr/share/ibus-hangul/setup/__pycache__
+}
+
sha512sums="
9ee5a3364fdfb1ec0177c797009f9723f1c7c9bb096c24ec2a8b12340e230207df4c7fe490534dea237850822cd307c6971dec56e9767b5a9fcef82278875b01 ibus-hangul-1.5.4.tar.gz
9b8c8e4925bf4c688e96e3c35916aa5bdb1e918747c9d759307d09e37365877b2e80f9be4c08fe52c60bb28252ed644fcae0d9b10d6381673f585b9d84356686 0001-Update-gettext-version.patch
diff --git a/community/ibus/APKBUILD b/community/ibus/APKBUILD
index 5d48af83121..800bd325e61 100644
--- a/community/ibus/APKBUILD
+++ b/community/ibus/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=ibus
pkgver=1.5.27
-pkgrel=1
+pkgrel=2
pkgdesc="Next Generation Input Bus for Linux"
url="https://github.com/ibus/ibus/wiki"
arch="all"
@@ -19,6 +19,7 @@ subpackages="
$pkgname-dev
$pkgname-doc
$pkgname-lang
+ $pkgname-pyc
$pkgname-emoji
$pkgname-bash-completion:bashcomp:noarch
"
@@ -76,6 +77,11 @@ bashcomp() {
amove usr/share/bash-completion
}
+pyc() {
+ default_pyc
+ amove usr/share/ibus/setup/__pycache__
+}
+
sha512sums="
38236a7e20d7e5b31ae5a7eaf767c28c8bf2942ab3727e26e9625e81e048ea5a7f5f0c17a2aa1cdd34ccec2468663766e5e5f18f6bd7f0393a4dc429136c478f ibus-1.5.27.tar.gz
1e2e62ce52becf75d794c403e8f21bb72e8406aacbdbc5189f62a3b7c54166c40da0032d3f3865f5a23d9d2c782f974b7bcc9ba5ce437d9eb435dd3db3ff0b06 0001-Use-more-portable-call-to-mktemp.patch
diff --git a/community/ifstate/APKBUILD b/community/ifstate/APKBUILD
index 20326776331..ec927031525 100644
--- a/community/ifstate/APKBUILD
+++ b/community/ifstate/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Thomas Liske <thomas@fiasko-nw.net>
pkgname=ifstate
pkgver=1.8.3
-pkgrel=0
+pkgrel=1
pkgdesc="Manage host interface settings in a declarative manner"
url="https://ifstate.net/"
arch="noarch"
@@ -17,7 +17,7 @@ source="https://files.pythonhosted.org/packages/source/i/ifstate/ifstate-$pkgver
ifstate.conf
ifstate.initd
"
-subpackages="$pkgname-openrc"
+subpackages="$pkgname-openrc $pkgname-pyc"
build() {
python3 setup.py build
diff --git a/community/interrogate/APKBUILD b/community/interrogate/APKBUILD
index 65752efa535..335a8d8a1fa 100644
--- a/community/interrogate/APKBUILD
+++ b/community/interrogate/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=interrogate
pkgver=1.5.0
-pkgrel=1
+pkgrel=2
pkgdesc="Interrogate a codebase for docstring coverage"
url="https://github.com/econchick/interrogate"
arch="noarch"
@@ -10,6 +10,7 @@ license="MIT"
depends="python3 py3-attrs py3-click py3-colorama py3-py py3-tabulate py3-toml"
makedepends="py3-setuptools"
checkdepends="python3-dev py3-pytest py3-pytest-cov py3-pytest-mock"
+subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/i/interrogate/interrogate-$pkgver.tar.gz"
builddir="$srcdir/interrogate-$pkgver"
diff --git a/community/iotop/APKBUILD b/community/iotop/APKBUILD
index b54d9f12d29..c60e95185b2 100644
--- a/community/iotop/APKBUILD
+++ b/community/iotop/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=iotop
pkgver=0.6
-pkgrel=10
+pkgrel=11
# source tarballs are gone now using git repo - commit's first 7 chars
_commit=59e2537
pkgdesc="I/O monitoring tool"
@@ -12,7 +12,7 @@ license="GPL-2.0-or-later"
install="$pkgname.pre-upgrade"
depends="python3"
makedepends="python3-dev py3-setuptools"
-subpackages="$pkgname-doc"
+subpackages="$pkgname-doc $pkgname-pyc"
source="$pkgname-$pkgver-$_commit.tar.gz::https://repo.or.cz/iotop.git/snapshot/$_commit.tar.gz
fix-python.patch"
diff --git a/community/ipython/APKBUILD b/community/ipython/APKBUILD
index e12e600a916..e4d8ea9ac06 100644
--- a/community/ipython/APKBUILD
+++ b/community/ipython/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=ipython
pkgver=8.12.0
-pkgrel=0
+pkgrel=1
pkgdesc="A rich toolkit to help you make the most of using Python interactively"
options="!check" # Too many tests fail
url="https://ipython.org/"
@@ -22,7 +22,7 @@ depends="
"
makedepends="py3-setuptools"
checkdepends="py3-pathlib2 py3-pytest py3-nose py3-matplotlib"
-subpackages="$pkgname-doc"
+subpackages="$pkgname-doc $pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/ipython/ipython/archive/$pkgver.tar.gz"
# secfixes:
diff --git a/community/jellyfin-mpv-shim/APKBUILD b/community/jellyfin-mpv-shim/APKBUILD
index 033e4e80988..d710ddeb31f 100644
--- a/community/jellyfin-mpv-shim/APKBUILD
+++ b/community/jellyfin-mpv-shim/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=jellyfin-mpv-shim
pkgver=2.6.0
-pkgrel=0
+pkgrel=1
pkgdesc="MPV Cast Client for Jellyfin "
url="https://github.com/jellyfin/jellyfin-mpv-shim"
arch="noarch"
@@ -17,6 +17,7 @@ depends="
python3-tkinter
"
makedepends="py3-setuptools"
+subpackages="$pkgname-pyc"
source="https://pypi.python.org/packages/source/j/jellyfin-mpv-shim/jellyfin-mpv-shim-$pkgver.tar.gz"
options="!check" # No tests
diff --git a/community/jupyter-nbclassic/APKBUILD b/community/jupyter-nbclassic/APKBUILD
index 532f4bfe332..67688099de4 100644
--- a/community/jupyter-nbclassic/APKBUILD
+++ b/community/jupyter-nbclassic/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
pkgname=jupyter-nbclassic
pkgver=0.5.3
-pkgrel=0
+pkgrel=1
pkgdesc="Jupyter notebook as jupyter server extension"
url="https://github.com/jupyter/nbclassic"
# s390x, ppc64le: no jupyter-server
@@ -11,6 +11,7 @@ license="BSD-3-Clause"
depends="py3-traitlets jupyter-server jupyter-notebook-shim"
makedepends="py3-gpep517 py3-jupyter-packaging"
checkdepends="py3-pytest py3-pytest-tornasync py3-pytest-jupyter"
+subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/jupyter/nbclassic/releases/download/v$pkgver/nbclassic-$pkgver.tar.gz"
builddir="$srcdir/nbclassic-$pkgver"
diff --git a/community/jupyter-nbclient/APKBUILD b/community/jupyter-nbclient/APKBUILD
index 242e8a9d81a..b028b9a7f44 100644
--- a/community/jupyter-nbclient/APKBUILD
+++ b/community/jupyter-nbclient/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
pkgname=jupyter-nbclient
pkgver=0.7.2
-pkgrel=0
+pkgrel=1
pkgdesc="Client library for executing notebooks"
url="https://github.com/jupyter/nbclient"
arch="noarch"
@@ -16,6 +16,7 @@ depends="
makedepends="py3-gpep517 py3-hatchling"
checkdepends="py3-pytest py3-xmltodict jupyter-nbconvert py3-ipykernel"
options="!check" # circular dependency with jupyter-nbconvert
+subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/jupyter/nbclient/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/nbclient-$pkgver"
diff --git a/community/jupyter-nbconvert/APKBUILD b/community/jupyter-nbconvert/APKBUILD
index b818a48553d..567398400b6 100644
--- a/community/jupyter-nbconvert/APKBUILD
+++ b/community/jupyter-nbconvert/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
pkgname=jupyter-nbconvert
pkgver=7.2.10
-pkgrel=0
+pkgrel=1
pkgdesc="Notebook conversion tool for jupyter"
url="https://github.com/jupyter/nbconvert"
arch="noarch"
@@ -29,6 +29,7 @@ depends="
"
checkdepends="py3-pytest py3-ipykernel"
makedepends="py3-gpep517 py3-hatchling py3-installer"
+subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/jupyter/nbconvert/archive/refs/tags/v$pkgver.tar.gz
deprecation-warnings.patch
"
diff --git a/community/jupyter-nbformat/APKBUILD b/community/jupyter-nbformat/APKBUILD
index 3395db1cab9..73ec136cf77 100644
--- a/community/jupyter-nbformat/APKBUILD
+++ b/community/jupyter-nbformat/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
pkgname=jupyter-nbformat
pkgver=5.8.0
-pkgrel=0
+pkgrel=1
pkgdesc="Reference implemtnation of the jupyter notebook format"
url="https://github.com/jupyter/nbformat"
arch="noarch"
@@ -10,6 +10,7 @@ license="BSD-3-Clause"
makedepends="py3-gpep517 py3-installer py3-hatch-nodejs-version"
depends="py3-traitlets py3-jsonschema py3-fastjsonschema py3-jupyter_core py3-ipython_genutils"
checkdepends="py3-pytest py3-testpath py3-pep440"
+subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/jupyter/nbformat/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/nbformat-$pkgver"
diff --git a/community/jupyter-notebook-shim/APKBUILD b/community/jupyter-notebook-shim/APKBUILD
index 61eb8f37c45..afe78e1b5e2 100644
--- a/community/jupyter-notebook-shim/APKBUILD
+++ b/community/jupyter-notebook-shim/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
pkgname=jupyter-notebook-shim
pkgver=0.2.2
-pkgrel=1
+pkgrel=2
pkgdesc="Shim layer for notebook traits and config"
url="https://github.com/jupyter/notebook_shim"
# s390x, ppc64le: no jupyter-server
@@ -11,6 +11,7 @@ license="BSD-3-Clause"
depends="jupyter-server"
makedepends="py3-gpep517 py3-installer py3-hatchling"
checkdepends="py3-pytest py3-pytest-jupyter py3-pytest-tornasync"
+subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/jupyter/notebook_shim/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/notebook_shim-$pkgver"
diff --git a/community/jupyter-notebook/APKBUILD b/community/jupyter-notebook/APKBUILD
index 3869e1a9f82..ea02f939e8b 100644
--- a/community/jupyter-notebook/APKBUILD
+++ b/community/jupyter-notebook/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
pkgname=jupyter-notebook
pkgver=6.5.3
-pkgrel=0
+pkgrel=1
pkgdesc="Jupyter interactive notebook"
url="https://github.com/jupyter/notebook"
# py3-argon2-cffi is not available on s390x
@@ -31,6 +31,7 @@ depends="
makedepends="bower npm py3-setuptools"
checkdepends="py3-pytest"
options="!check" # lots of unpackaged dependencies + many dependencies would only work on x86_64
+subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/jupyter/notebook/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/notebook-$pkgver"
diff --git a/community/jupyter-server-terminals/APKBUILD b/community/jupyter-server-terminals/APKBUILD
index 0d7232f4596..3255ef3e80f 100644
--- a/community/jupyter-server-terminals/APKBUILD
+++ b/community/jupyter-server-terminals/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
pkgname=jupyter-server-terminals
pkgver=0.4.4
-pkgrel=0
+pkgrel=1
pkgdesc="Jupyter server extension for terminals"
url="https://github.com/jupyter-server/jupyter_server_terminals"
arch="noarch"
@@ -10,6 +10,7 @@ license="BSD-3-Clause"
depends="py3-terminado"
makedepends="py3-gpep517 py3-hatchling"
checkdepends="py3-pytest jupyter-server"
+subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/jupyter-server/jupyter_server_terminals/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/jupyter_server_terminals-$pkgver"
options="!check" # circular dependency on jupyter-server
diff --git a/community/jupyter-server/APKBUILD b/community/jupyter-server/APKBUILD
index b3f3e505dfe..8934a2b0024 100644
--- a/community/jupyter-server/APKBUILD
+++ b/community/jupyter-server/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
pkgname=jupyter-server
pkgver=2.5.0
-pkgrel=0
+pkgrel=1
pkgdesc="Backend for Jupyter web applications"
url="https://github.com/jupyter-server/jupyter_server"
# s390x: no py3-argon2-cffi
@@ -44,6 +44,7 @@ checkdepends="
py3-pytest-tornasync
py3-requests
"
+subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/jupyter-server/jupyter_server/releases/download/v$pkgver/jupyter_server-$pkgver.tar.gz"
builddir="$srcdir/jupyter_server-$pkgver"
diff --git a/community/kajongg/APKBUILD b/community/kajongg/APKBUILD
index b4b6a098349..93c3062776e 100644
--- a/community/kajongg/APKBUILD
+++ b/community/kajongg/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kajongg
pkgver=22.12.3
-pkgrel=0
+pkgrel=1
# armhf blocked by extra-cmake-modules
arch="noarch !armhf"
url="https://kde.org/applications/games/org.kde.kajongg"
@@ -23,7 +23,7 @@ makedepends="
samurai
"
source="https://download.kde.org/stable/release-service/$pkgver/src/kajongg-$pkgver.tar.xz"
-subpackages="$pkgname-doc $pkgname-lang"
+subpackages="$pkgname-doc $pkgname-lang $pkgname-pyc"
build() {
cmake -B build -G Ninja \
@@ -42,6 +42,11 @@ package() {
DESTDIR="$pkgdir" cmake --install build
}
+pyc() {
+ default_pyc
+ amove usr/share/kajongg/__pycache__
+}
+
sha512sums="
d878a5c7a259938bc6010c38ff9feac6579fba5d6f7a2d84748f75f418af5fb2a57e54258087e6433898214bd32501fd93bf3eac65c7b32770310e160490e395 kajongg-22.12.3.tar.xz
"
diff --git a/community/kapidox/APKBUILD b/community/kapidox/APKBUILD
index 00e4627724f..d2c1296f0e6 100644
--- a/community/kapidox/APKBUILD
+++ b/community/kapidox/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kapidox
pkgver=5.105.0
-pkgrel=0
+pkgrel=1
arch="noarch !armhf" # armhf blocked by extra-cmake-modules
pkgdesc="Scripts and data for building API documentation (dox) in a standard format and style"
url="https://community.kde.org/Frameworks"
@@ -19,6 +19,7 @@ makedepends="
samurai
"
checkdepends="bash"
+subpackages="$pkgname-pyc"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kapidox-$pkgver.tar.xz"
options="!check" # No useful tests
diff --git a/community/khal/APKBUILD b/community/khal/APKBUILD
index 81622c90a5b..22d9251f829 100644
--- a/community/khal/APKBUILD
+++ b/community/khal/APKBUILD
@@ -3,7 +3,7 @@
pkgname=khal
_pyname=$pkgname
pkgver=0.10.5
-pkgrel=2
+pkgrel=3
pkgdesc="CLI calendar application build around CalDAV"
url="https://lostpackets.de/khal"
arch="noarch"
@@ -26,6 +26,7 @@ makedepends="py3-setuptools py3-setuptools_scm py3-sphinx py3-sphinxcontrib-news
checkdepends="py3-packaging py3-pytest py3-freezegun vdirsyncer"
subpackages="
$pkgname-doc
+ $pkgname-pyc
$pkgname-bash-completion
$pkgname-zsh-completion
$pkgname-fish-completion
diff --git a/community/kitty/APKBUILD b/community/kitty/APKBUILD
index 748be88519e..8dccfb4ebb6 100644
--- a/community/kitty/APKBUILD
+++ b/community/kitty/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=kitty
pkgver=0.28.1
-pkgrel=0
+pkgrel=1
pkgdesc="Modern, hackable, featureful, OpenGL based terminal emulator"
url="https://sw.kovidgoyal.net/kitty/"
arch="all"
@@ -34,7 +34,7 @@ makedepends="
zlib-dev
"
install="$pkgname.post-install $pkgname.post-upgrade"
-subpackages="$pkgname-wayland $pkgname-x11 $pkgname-kitten"
+subpackages="$pkgname-wayland $pkgname-x11 $pkgname-kitten $pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/kovidgoyal/kitty/archive/v$pkgver.tar.gz
disable-docs.patch
"
@@ -86,6 +86,12 @@ kitten() {
amove usr/bin/kitten
}
+pyc() {
+ default_pyc
+ local IFS=$'\n'
+ amove $(find usr/lib/kitty -type d -name __pycache__)
+}
+
sha512sums="
75462ac6e6b3c23de9966f73a40faad31a7583e30881a07e1906ca591f0865e0d762c5f59422ae8f66255d904ea80c54c709e52770587a3b5394b779fc39d861 kitty-0.28.1.tar.gz
1676b3d5272c14561660ccb7b89c30b65b6c044b4ce0f57ba4fe88d3c4aefe3becf480a70b593602d907c501cb785ae7481c612ce125610fecc751e2d31f8a7c disable-docs.patch
diff --git a/community/lensfun/APKBUILD b/community/lensfun/APKBUILD
index 540c009ce93..5f52f051f1e 100644
--- a/community/lensfun/APKBUILD
+++ b/community/lensfun/APKBUILD
@@ -2,13 +2,13 @@
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=lensfun
pkgver=0.3.3
-pkgrel=2
+pkgrel=3
pkgdesc="Image manipulation library to rectify lens defects"
url="https://lensfun.github.io/"
arch="all"
license="LGPL-3.0-or-later"
makedepends="py3-docutils cmake doxygen libpng-dev glib-dev samurai"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-tools py3-$pkgname:py3"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-tools py3-$pkgname-pyc py3-$pkgname:py3"
source="pgkname-$pkgver.tar.gz::https://github.com/lensfun/lensfun/archive/refs/tags/v$pkgver.tar.gz"
build() {
diff --git a/community/libmarisa/APKBUILD b/community/libmarisa/APKBUILD
index 865245aa782..c5561c5f195 100644
--- a/community/libmarisa/APKBUILD
+++ b/community/libmarisa/APKBUILD
@@ -2,13 +2,13 @@
# Maintainer: Eric Tian <thxdaemon+gitlab.alpine@gmail.com>
pkgname=libmarisa
pkgver=0.2.6
-pkgrel=2
+pkgrel=3
pkgdesc="MARISA: Matching Algorithm with Recursively Implemented StorAge"
url="https://github.com/s-yata/marisa-trie"
arch="all"
license="BSD-2-Clause OR LGPL-2.1-or-later"
makedepends="autoconf automake libtool python3-dev swig"
-subpackages="$pkgname-dev py3-marisa:py"
+subpackages="$pkgname-dev py3-marisa-pyc py3-marisa:py"
source="$pkgname-$pkgver.tar.gz::https://github.com/s-yata/marisa-trie/archive/v$pkgver.tar.gz
format-sec.patch
"
diff --git a/community/libteam/APKBUILD b/community/libteam/APKBUILD
index 9784f0ef379..abfbee67f2a 100644
--- a/community/libteam/APKBUILD
+++ b/community/libteam/APKBUILD
@@ -2,14 +2,14 @@
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=libteam
pkgver=1.31
-pkgrel=3
+pkgrel=4
pkgdesc="Library for controlling team network device"
url="http://libteam.org"
arch="all"
license="LGPL-2.1-or-later"
makedepends="autoconf automake libtool libnl3-dev libdaemon-dev jansson-dev
dbus-dev linux-headers bsd-compat-headers doxygen swig python3-dev"
-subpackages="$pkgname-dev $pkgname-doc py3-$pkgname:_py3"
+subpackages="$pkgname-dev $pkgname-doc py3-$pkgname-pyc py3-$pkgname:_py3"
source="$pkgname-$pkgver.tar.gz::https://github.com/jpirko/libteam/archive/v$pkgver.tar.gz
fix-fd_set.patch
memcpy-memset-implicit-declaration.patch
@@ -33,18 +33,22 @@ build() {
--localstatedir=/var \
--disable-static
make
-}
-_py3() {
- pkgdesc="Python Bindings for libteam"
-
- cd "$builddir"/binding/python
+ cd binding/python
python3 setup.py build
- python3 setup.py install --root "$subpkgdir" -O1
}
package() {
make DESTDIR="$pkgdir" install
+
+ cd binding/python
+ python3 setup.py install --root "$pkgdir" -O1
+}
+
+_py3() {
+ pkgdesc="Python Bindings for libteam"
+
+ amove usr/lib/python3*
}
sha512sums="
diff --git a/community/liquidctl/APKBUILD b/community/liquidctl/APKBUILD
index 57b5f70e920..29ae5bd1e0d 100644
--- a/community/liquidctl/APKBUILD
+++ b/community/liquidctl/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer:
pkgname=liquidctl
pkgver=1.12.1
-pkgrel=1
+pkgrel=2
pkgdesc="Liquid Cooler Control"
url="https://github.com/liquidctl/liquidctl"
options="!check" # Requires writable /var/run
@@ -25,7 +25,7 @@ makedepends="
py3-wheel
"
checkdepends="py3-pytest"
-subpackages="$pkgname-doc"
+subpackages="$pkgname-doc $pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/liquidctl/liquidctl/archive/v$pkgver.tar.gz"
prepare() {
diff --git a/community/lirc/APKBUILD b/community/lirc/APKBUILD
index 544b4a36f1a..5bf46f2f718 100644
--- a/community/lirc/APKBUILD
+++ b/community/lirc/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Cian Hughes <Ci@nHugh.es>
pkgname=lirc
pkgver=0.10.2
-pkgrel=0
+pkgrel=1
pkgdesc="Infrared signal receiver and sender"
options="!check" # no tests
arch="all"
@@ -19,7 +19,7 @@ makedepends="
automake
libxslt
"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-python:python:noarch"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-python-pyc $pkgname-python:python:noarch"
source="https://master.dl.sourceforge.net/project/lirc/LIRC/$pkgver/lirc-$pkgver.tar.gz
0001-lirc.org-Remove-non-free-advertising.patch
0002-lirc-setup-Fix-crash-on-start-on-missing-lirc.config.patch
@@ -50,12 +50,18 @@ python() {
depends=""
amove usr/lib/python3*
+ amove usr/share/lirc/python-pkg
# This is a symlink to ../lib/python3.10/site-packages/lirc-setup/lirc-setup
# if we don't move this symlink to the subpackage we have a recursive dep.
amove usr/bin/lirc-setup
}
+pyc() {
+ default_pyc
+ amove usr/share/lirc/python-pkg/__pycache__
+}
+
sha512sums="
d4d2baf0c268162faa34947f8206df1fd1907fab29a9b8f83dc8852e03f837cc8dcb679cff436aa3aec52479ec579a3357d25bf0e6a83ff769d8eb2c60a12629 lirc-0.10.2.tar.gz
12ad8a6ad5d600ac9ebe65e3eb8d05b77745b1e8c4cc51924d8135994b9e0419765f3a16d692eeca5c1c525672be69975e6145be714b5b05a6f8b61677d3fbbf 0001-lirc.org-Remove-non-free-advertising.patch
diff --git a/community/lldb/APKBUILD b/community/lldb/APKBUILD
index 452493e4943..dc5b48ce38a 100644
--- a/community/lldb/APKBUILD
+++ b/community/lldb/APKBUILD
@@ -4,7 +4,7 @@
pkgname=lldb
# Note: Update together with llvm.
pkgver=16.0.2
-pkgrel=0
+pkgrel=1
_llvmver=${pkgver%%.*}
pkgdesc="Next generation, high-performance debugger"
# riscv64: https://github.com/llvm/llvm-project/issues/55383
@@ -31,7 +31,7 @@ makedepends="
swig
xz
"
-subpackages="$pkgname-dev $pkgname-doc py3-$pkgname:py3"
+subpackages="$pkgname-dev $pkgname-doc py3-$pkgname-pyc py3-$pkgname:py3"
source="https://github.com/llvm/llvm-project/releases/download/llvmorg-${pkgver//_/-}/lldb-${pkgver//_/}.src.tar.xz
https://github.com/llvm/llvm-project/releases/download/llvmorg-${pkgver//_/-}/cmake-${pkgver//_/}.src.tar.xz
atomic.patch
@@ -79,6 +79,7 @@ check() {
package() {
DESTDIR="$pkgdir" cmake --install build
install -Dm644 build/docs/man/lldb.1 -t "$pkgdir"/usr/share/man/man1
+ python3 -m compileall -fq "$pkgdir"/usr/lib/python3*
}
dev() {
@@ -94,7 +95,6 @@ py3() {
replaces="py-lldb"
amove usr/lib/python3.*
- python3 -m compileall -fq "$subpkgdir"/usr/lib/python3*
}
sha512sums="
diff --git a/community/lyx/APKBUILD b/community/lyx/APKBUILD
index 1719938848a..78b6969c8ad 100644
--- a/community/lyx/APKBUILD
+++ b/community/lyx/APKBUILD
@@ -3,7 +3,7 @@
pkgname=lyx
_pkgver=2.3.7-1
pkgver=${_pkgver/-/.}
-pkgrel=1
+pkgrel=2
pkgdesc="Advanced WYSIWYM document processor & LaTeX front-end"
url="https://www.lyx.org"
arch="all"
@@ -20,7 +20,7 @@ depends="
imagemagick
python3
"
-subpackages="$pkgname-doc $pkgname-lang"
+subpackages="$pkgname-doc $pkgname-lang $pkgname-pyc"
source="https://ftp.lip6.fr/pub/lyx/stable/2.3.x/lyx-$_pkgver.tar.xz
"
builddir="$srcdir/$pkgname-${_pkgver%-*}"
@@ -39,6 +39,12 @@ package() {
make DESTDIR="$pkgdir" install
}
+pyc() {
+ default_pyc
+ local IFS=$'\n'
+ amove $(find usr/share/lyx -type d -name __pycache__)
+}
+
sha512sums="
b8aaefb68993032354fea3c6fd87d6da161395c92b5def4ecf92a7d6873ec59e01cdfb45c51ae1aaa62aa54db8e100b00ff9c2c9e0f1307c2f46860cd8c6eefe lyx-2.3.7-1.tar.xz
"