aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Maxwell <keith.maxwell@gmail.com>2020-05-07 08:02:16 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-05-07 07:36:40 +0000
commitbd6e3136bbeda574ca593d3a55abb9ec2b696209 (patch)
treed8cabfe9ae548e8d3d0c4965e2bcde2700ddf32b
parent478d2c4063cc17c2e78a551ecae9c2525a95bd0d (diff)
downloadaports-bd6e3136bbeda574ca593d3a55abb9ec2b696209.tar.gz
aports-bd6e3136bbeda574ca593d3a55abb9ec2b696209.tar.bz2
aports-bd6e3136bbeda574ca593d3a55abb9ec2b696209.tar.xz
community/py3-magic: upgrade to 0.4.18
Enable check()
-rw-r--r--community/py3-magic/APKBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/community/py3-magic/APKBUILD b/community/py3-magic/APKBUILD
index 610c66ef43..d4c91d1266 100644
--- a/community/py3-magic/APKBUILD
+++ b/community/py3-magic/APKBUILD
@@ -2,10 +2,9 @@
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=py3-magic
_pkgname=python-magic
-pkgver=0.4.15
-pkgrel=3
+pkgver=0.4.18
+pkgrel=0
pkgdesc="Python3 wrapper for libmagic"
-options="!check" # 2 out of 7 tests fail
url="https://pypi.python.org/pypi/python-magic/"
arch="noarch"
license="MIT"
@@ -22,11 +21,11 @@ build() {
}
check() {
- PYTHONPATH="$PWD/build/lib" python3 test/test.py
+ LC_ALL=en_US.UTF-8 PYTHONPATH="$PWD/build/lib" python3 test/test.py
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="004d6bfde52d58a9d3019ef4ff8c5b18b6a4206bf89820d3a0ae0ed78813f80dfba422aee9685528f88c990526ba65fa2153ac3b95b8863ce6cb3ebe925bd780 py3-magic-0.4.15.tar.gz"
+sha512sums="d5f0047c7537ce0598537629c60aa708623480792d489fa003328b5c6c5b0d42748b6e996f27dc2c164c598813fcf19393567e7ea266a9f0718cf2ddafbd33ac py3-magic-0.4.18.tar.gz"