aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-magic/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-magic/APKBUILD')
-rw-r--r--community/py3-magic/APKBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/community/py3-magic/APKBUILD b/community/py3-magic/APKBUILD
index a9a74303e5..eb270c4272 100644
--- a/community/py3-magic/APKBUILD
+++ b/community/py3-magic/APKBUILD
@@ -3,14 +3,16 @@
pkgname=py3-magic
_pkgname=python-magic
pkgver=0.4.20
-pkgrel=0
+pkgrel=1
pkgdesc="Python3 wrapper for libmagic"
url="https://pypi.python.org/pypi/python-magic/"
arch="noarch"
license="MIT"
depends="python3 libmagic"
makedepends="py3-setuptools"
-source="$pkgname-$pkgver.tar.gz::https://github.com/ahupp/$_pkgname/archive/$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/ahupp/$_pkgname/archive/$pkgver.tar.gz
+ fix-expected-test-value.patch
+ "
builddir="$srcdir/$_pkgname-$pkgver"
replaces="py-magic" # Backwards compatibility
@@ -28,4 +30,5 @@ package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="3927958a6957177d1a6e8bcbbb3723f489018f9037b619bbf7478ab68ba2ddd52d9a0caf18e6a73671e8e5e1cb8a9efb957756ba9547a7dd66ab6ba293f37826 py3-magic-0.4.20.tar.gz"
+sha512sums="3927958a6957177d1a6e8bcbbb3723f489018f9037b619bbf7478ab68ba2ddd52d9a0caf18e6a73671e8e5e1cb8a9efb957756ba9547a7dd66ab6ba293f37826 py3-magic-0.4.20.tar.gz
+73bab842f7abebca1549aa94c9350cb0576370aac410a64700e7611be140df3edfa99b054b277de1a739c4b0168f0cd8ea4323bd772a480cb3c4458dddde5b87 fix-expected-test-value.patch"