aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-cx_freeze
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-05-22 07:52:22 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-05-22 07:52:22 +0000
commit8ac02dfb243e16ba898712561a558f1e619bcaf5 (patch)
tree9bb247b59b0203c56c944969a70cd3e3aaef00ec /community/py-cx_freeze
parentd0ed9ed5228eddc85fbc057bafaf57d4329dfee1 (diff)
downloadaports-8ac02dfb243e16ba898712561a558f1e619bcaf5.tar.bz2
aports-8ac02dfb243e16ba898712561a558f1e619bcaf5.tar.xz
community/py-cx_freeze: upgrade to 5.0.2, added check() function
Diffstat (limited to 'community/py-cx_freeze')
-rw-r--r--community/py-cx_freeze/APKBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/community/py-cx_freeze/APKBUILD b/community/py-cx_freeze/APKBUILD
index 8aa36a74bd..a8977e8846 100644
--- a/community/py-cx_freeze/APKBUILD
+++ b/community/py-cx_freeze/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py-cx_freeze
_pkgname=cx_Freeze
-pkgver=5.0.1
+pkgver=5.0.2
pkgrel=0
pkgdesc="Set of utilities for freezing Python scripts into executables"
url="http://cx-freeze.sourceforge.net/"
@@ -16,6 +16,12 @@ subpackages="py3-${pkgname/py-/}:_py3 py2-${pkgname/py-/}:_py2"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
+check() {
+ cd "$builddir"
+ python2 setup.py check
+ python3 setup.py check
+}
+
build() {
cd "$builddir"
python2 setup.py build || return 1
@@ -46,4 +52,4 @@ _py3() {
}
-sha512sums="26c60d4970a602abac7ac2fdf19222187921b25e85898902fa13644d4f7ede28ab7c28bbcad732eb07dfc17a59878278af5c802d1c85b483bba6df5955a865cc cx_Freeze-5.0.1.tar.gz"
+sha512sums="eac1a5cfd5b73f43a9447f3fce8a6ba513e253da10f44a74e4fbcd5b83068a57316e215aa03acac6807dee235e6f690b4bbba1447667bb2cba33b1182cb87d29 cx_Freeze-5.0.2.tar.gz"