diff options
Diffstat (limited to 'user/py3-importlib_metadata')
-rw-r--r-- | user/py3-importlib_metadata/APKBUILD | 33 | ||||
-rw-r--r-- | user/py3-importlib_metadata/scm.patch | 18 |
2 files changed, 51 insertions, 0 deletions
diff --git a/user/py3-importlib_metadata/APKBUILD b/user/py3-importlib_metadata/APKBUILD new file mode 100644 index 000000000..d642738f9 --- /dev/null +++ b/user/py3-importlib_metadata/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Max Rees <maxcrees@me.com> +# Maintainer: Max Rees <maxcrees@me.com> +pkgname=py3-importlib_metadata +_pkgname=importlib_metadata +_p="${_pkgname#?}" +_p="${_pkgname%"$_p"}" +pkgver=0.19 +pkgrel=0 +pkgdesc="Python package metadata accessor" +url="https://pypi.python.org/pypi/importlib_metadata" +arch="noarch" +# Certified net clean +license="Apache-2.0" +depends="python3 py3-importlib_resources py3-zipp" +makedepends="" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz + scm.patch" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + python3 setup.py build +} + +check() { + python3 setup.py test +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="2d0126e7430804b2295ec159778082806957cb86b5c7408c38064cc7c7e62229d382778284a5a231925ab336a7cc6da8e705f6bd7ae6da66f11acd1229bda17b py3-importlib_metadata-0.19.tar.gz +5aa0967a0c9e5c27434689586e51fcf3898a52f904d7ec92cf1eda15810da04b837ac0f5caea32d9f41733b13e826b06a1064b6f15e14c5fac5b2c4b6fd950c8 scm.patch" diff --git a/user/py3-importlib_metadata/scm.patch b/user/py3-importlib_metadata/scm.patch new file mode 100644 index 000000000..1c33ab959 --- /dev/null +++ b/user/py3-importlib_metadata/scm.patch @@ -0,0 +1,18 @@ +--- importlib_metadata-0.19/setup.cfg 2019-07-28 13:52:18.000000000 -0400 ++++ importlib_metadata-0.19/setup.cfg 2019-08-06 05:14:29.910183441 -0400 +@@ -16,7 +16,7 @@ classifiers = + + [options] + python_requires = >=2.7,!=3.0,!=3.1,!=3.2,!=3.3 +-setup_requires = setuptools-scm ++setup_requires = + install_requires = + zipp>=0.5 + pathlib2; python_version=='3.4.*' or python_version < '3' +--- importlib_metadata-0.19/setup.py 2019-07-28 13:51:04.000000000 -0400 ++++ importlib_metadata-0.19/setup.py 2019-08-06 05:14:08.670183361 -0400 +@@ -1,3 +1,3 @@ + from setuptools import setup + +-setup(use_scm_version=True) ++setup(version='0.19') |