summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/py3-pluggy/APKBUILD11
-rw-r--r--user/py3-pluggy/scm.patch24
2 files changed, 15 insertions, 20 deletions
diff --git a/user/py3-pluggy/APKBUILD b/user/py3-pluggy/APKBUILD
index 552956797..2604e972f 100644
--- a/user/py3-pluggy/APKBUILD
+++ b/user/py3-pluggy/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=py3-pluggy
_pkgname=pluggy
-pkgver=0.7.1
+pkgver=0.12.0
pkgrel=0
pkgdesc="Plugin management and hook calling for Python"
url="https://pypi.python.org/pypi/pluggy"
@@ -10,7 +10,7 @@ arch="noarch"
options="!check" # Cyclic dependency with py3-pytest. Passes on x86_64
# Certified net clean
license="MIT"
-depends="python3"
+depends="python3 py3-importlib_metadata"
makedepends="python3-dev"
#checkdepends="py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz
@@ -18,19 +18,16 @@ source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/
builddir="$srcdir/$_pkgname-$pkgver"
build() {
- cd "$builddir"
python3 setup.py build
}
check() {
- cd "$builddir"
PYTHONPATH="$builddir/build/lib:$PYTHONPATH" pytest testing
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="e19f6c1b3f2e711df1c8b075a2b802751afd218f1b692f08b2434c01d71c402331ff8c937550fbdfece2098f6d6856422d485f193e188916b365ded2e4087697 py3-pluggy-0.7.1.tar.gz
-6b805de27cf1255e0279e076fbcb94ef0494ab0d8bc73999ab45afdb026108d249b730932e28b723b9a0d63aba1746da6e72901cebb9ab6bd91ea3b5e9e64d3b scm.patch"
+sha512sums="a3a64caefc797334b73b0614e467613b99909037a62dcbfbb0cf917788ee8d12af4f43d7c371634ac6eb6f32a5aa08e51aa8179e70b5998d4d055cd7f535129f py3-pluggy-0.12.0.tar.gz
+7a5c4d3fe2d57b079c2589c2ca1b75d96ff2561cf5bfb7991b81828dd6de04f6b126633f248bb71a5f165174184792b5857f9c7678e694dd68e0ba2b1ffef627 scm.patch"
diff --git a/user/py3-pluggy/scm.patch b/user/py3-pluggy/scm.patch
index 5e42a72e4..733e8d297 100644
--- a/user/py3-pluggy/scm.patch
+++ b/user/py3-pluggy/scm.patch
@@ -1,14 +1,12 @@
---- 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',
+--- pluggy-0.12.0/setup.py 2019-05-27 16:19:53.000000000 -0400
++++ pluggy-0.12.0/setup.py 2019-08-06 04:29:39.930173285 -0400
+@@ -29,8 +29,7 @@ def main():
+ 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',
+- use_scm_version={"write_to": "src/pluggy/_version.py"},
+- setup_requires=["setuptools-scm"],
++ version='0.12.0',
+ license="MIT license",
+ platforms=["unix", "linux", "osx", "win32"],
+ author="Holger Krekel",