Skip to content
Snippets Groups Projects
Commit 8ac02dfb authored by Francesco Colista's avatar Francesco Colista
Browse files

community/py-cx_freeze: upgrade to 5.0.2, added check() function

parent d0ed9ed5
No related branches found
No related tags found
No related merge requests found
......@@ -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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment