summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/py3-pluggy/APKBUILD15
-rw-r--r--user/py3-pluggy/scm.patch14
2 files changed, 23 insertions, 6 deletions
diff --git a/user/py3-pluggy/APKBUILD b/user/py3-pluggy/APKBUILD
index a1e6d354b..552956797 100644
--- a/user/py3-pluggy/APKBUILD
+++ b/user/py3-pluggy/APKBUILD
@@ -2,17 +2,19 @@
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=py3-pluggy
_pkgname=pluggy
-pkgver=0.6.0
+pkgver=0.7.1
pkgrel=0
pkgdesc="Plugin management and hook calling for Python"
url="https://pypi.python.org/pypi/pluggy"
arch="noarch"
-options="!check" # Cyclic dependency with py3-tox. Passes on x86_64
+options="!check" # Cyclic dependency with py3-pytest. Passes on x86_64
+# Certified net clean
license="MIT"
depends="python3"
makedepends="python3-dev"
-#checkdepends="py3-tox"
-source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+#checkdepends="py3-pytest"
+source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz
+ scm.patch"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
@@ -22,7 +24,7 @@ build() {
check() {
cd "$builddir"
- tox -e py36-pytestrelease
+ PYTHONPATH="$builddir/build/lib:$PYTHONPATH" pytest testing
}
package() {
@@ -30,4 +32,5 @@ package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="dd58dabe2e65eee64d62c8748c2bbd99457288e99b819eb12312f2acdb0740ac46fd08f83522bc992297b9f14eec14c216c2c9688580f68393bf6fc609e65812 py3-pluggy-0.6.0.tar.gz"
+sha512sums="e19f6c1b3f2e711df1c8b075a2b802751afd218f1b692f08b2434c01d71c402331ff8c937550fbdfece2098f6d6856422d485f193e188916b365ded2e4087697 py3-pluggy-0.7.1.tar.gz
+6b805de27cf1255e0279e076fbcb94ef0494ab0d8bc73999ab45afdb026108d249b730932e28b723b9a0d63aba1746da6e72901cebb9ab6bd91ea3b5e9e64d3b scm.patch"
diff --git a/user/py3-pluggy/scm.patch b/user/py3-pluggy/scm.patch
new file mode 100644
index 000000000..5e42a72e4
--- /dev/null
+++ b/user/py3-pluggy/scm.patch
@@ -0,0 +1,14 @@
+--- pluggy-0.7.1/setup.py 2018-07-28 22:45:12.000000000 +0000
++++ pluggy-0.7.1/setup.py 2018-10-11 04:54:18.590233336 +0000
+@@ -24,10 +24,7 @@
+ name='pluggy',
+ description='plugin and hook calling mechanisms for python',
+ long_description=long_description,
+- use_scm_version={
+- 'write_to': 'pluggy/_version.py',
+- },
+- setup_requires=['setuptools-scm'],
++ version='0.7.1',
+ license='MIT license',
+ platforms=['unix', 'linux', 'osx', 'win32'],
+ author='Holger Krekel',