aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2023-01-25 02:19:07 +0000
committerpsykose <alice@ayaya.dev>2023-01-25 03:19:07 +0100
commitdeffb67710a6f8c677300c704c7acb710ffe215e (patch)
tree5fcf2665eb1709e4a137102a85909bd9b100fa86
parent62f669f4724bd11cf1edc8081cdaee0fbf0ff8b9 (diff)
downloadaports-deffb67710a6f8c677300c704c7acb710ffe215e.tar.gz
aports-deffb67710a6f8c677300c704c7acb710ffe215e.tar.bz2
aports-deffb67710a6f8c677300c704c7acb710ffe215e.tar.xz
community/py3-cx_freeze: upgrade to 6.14.0
-rw-r--r--community/py3-cx_freeze/APKBUILD27
1 files changed, 11 insertions, 16 deletions
diff --git a/community/py3-cx_freeze/APKBUILD b/community/py3-cx_freeze/APKBUILD
index 9ac66eb4ef..1c83ed794a 100644
--- a/community/py3-cx_freeze/APKBUILD
+++ b/community/py3-cx_freeze/APKBUILD
@@ -2,40 +2,35 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-cx_freeze
_pkgname=cx_Freeze
-pkgver=6.13.1
-pkgrel=1
+pkgver=6.14.0
+pkgrel=0
pkgdesc="Set of utilities for freezing Python scripts into executables"
url="https://github.com/marcelotduarte/cx_Freeze"
arch="all !ppc64le"
-license="PSF"
+license="PSF-2.0"
depends="patchelf"
-makedepends="py3-setuptools python3-dev"
+makedepends="py3-gpep517 py3-setuptools python3-dev py3-wheel"
source="$pkgname-$pkgver.tar.gz::https://github.com/marcelotduarte/cx_Freeze/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
+options="!check" # todo
prepare() {
default_prepare
- # fix permissions, which are 0700 for files and 2700 for directories
- find "$builddir" -type f -exec chmod 0644 {} \;
- find "$builddir" -type d -exec chmod 0755 {} \;
-
- sed -i '/patchelf/c\#' "$builddir/setup.cfg"
sed -i 's/DESTSHARED/DESTLIB/' "$builddir/cx_Freeze/freezer.py"
}
build() {
- python3 setup.py build
-}
-
-check() {
- python3 setup.py check
+ gpep517 build-wheel \
+ --wheel-dir dist \
+ --output-fd 3 3>&1 >&2
}
package() {
- python3 setup.py install --skip-build --prefix=/usr --root="$pkgdir"
+ python3 -m installer -d "$pkgdir" \
+ dist/*.whl
}
sha512sums="
-48d569fdce5c6cb100232ce3577f0a55a40f3d1dcafa884a4d62af7f27200a21eb892504b47fb7cd106f410354b70d98a8e5245382431bc1f6d990510c77cb36 py3-cx_freeze-6.13.1.tar.gz
+044f473eb177149511e92a12ec118d061f6df17491cbf1bffef5c0c0f91d73eb14ffc0946545c2414168505d0eece09b6a4e532fb08d856c63cfe0423b4200f2 py3-cx_freeze-6.14.0.tar.gz
"