diff options
author | prspkt <prspkt@protonmail.com> | 2019-08-12 01:52:13 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-08-12 02:00:08 +0300 |
commit | 8165853636fdbf50d6deeddfdb1eadb24e08d861 (patch) | |
tree | 42e36f22aa57c310f868d3bec93d66dd2cf7e204 /community/py3-docopt | |
parent | 63cb7d35302e22b37a23c858025855676cae0985 (diff) | |
download | aports-8165853636fdbf50d6deeddfdb1eadb24e08d861.tar.bz2 aports-8165853636fdbf50d6deeddfdb1eadb24e08d861.tar.xz |
community/py-docopt: drop python2
Signed-off-by: prspkt <prspkt@protonmail.com>
Diffstat (limited to 'community/py3-docopt')
-rw-r--r-- | community/py3-docopt/APKBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/community/py3-docopt/APKBUILD b/community/py3-docopt/APKBUILD new file mode 100644 index 0000000000..61c5f0beab --- /dev/null +++ b/community/py3-docopt/APKBUILD @@ -0,0 +1,27 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py3-docopt +_pkgname=docopt +pkgver=0.6.2 +pkgrel=3 +pkgdesc="A Python argument parser" +url="http://docopt.org/" +arch="noarch" +license="MIT" +depends="python3" +makedepends="py3-setuptools" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +replaces=py-docopt # Backwards compatibility +provides=py-docopt=$pkgver-r$pkgrel # Backwards compatibility + +build() { + python3 setup.py build +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="af138feccf8c37b374ee44fcda4938a88107d434df13c173214021b1a3348b152a595095a86982b66ac03a11db8e0f1e9e6a3a65c98deea92330311daeb831a3 docopt-0.6.2.tar.gz" |