mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/py3-dexml: fix build
This commit is contained in:
parent
b91ebb9869
commit
17f59ed81d
@ -12,17 +12,20 @@ replaces="py-dexml" # for backwards compatibility
|
||||
provides="py-dexml=$pkgver-r$pkgrel" # for backwards compatibility
|
||||
depends="python3"
|
||||
makedepends="python3-dev py3-setuptools"
|
||||
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
||||
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
|
||||
py3.patch
|
||||
"
|
||||
builddir="$srcdir"/$_pkgname-$pkgver
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
||||
}
|
||||
|
||||
sha512sums="b8ac2b9f875ac7cf699eb9ee17adb8678ed8d4a796130bbb60f05431207adb68f490b7a7a41600acbc16a3cc08d55f22d91a13e53fe3d835a322709ee3446c9f dexml-0.5.1.tar.gz"
|
||||
sha512sums="
|
||||
b8ac2b9f875ac7cf699eb9ee17adb8678ed8d4a796130bbb60f05431207adb68f490b7a7a41600acbc16a3cc08d55f22d91a13e53fe3d835a322709ee3446c9f dexml-0.5.1.tar.gz
|
||||
de2ea4ce179d64c0bb3bf66a40739b4f1b01504b43e74666f60882d86da83d22edbe4606bd24c9605947ac677cc69169e5270df8574b8c9737830959bb16300f py3.patch
|
||||
"
|
||||
|
||||
13
testing/py3-dexml/py3.patch
Normal file
13
testing/py3-dexml/py3.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 285a258..2521bb6 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -20,8 +20,6 @@ except ImportError:
|
||||
from distutils.core import setup
|
||||
else:
|
||||
setup_kwds["test_suite"] = "dexml.test"
|
||||
- if sys.version_info > (3,):
|
||||
- setup_kwds["use_2to3"] = True
|
||||
|
||||
|
||||
# Extract the docstring and version declaration from the module.
|
||||
Loading…
x
Reference in New Issue
Block a user