diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-10-02 16:02:52 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-10-02 16:04:49 +0200 |
commit | e538e4f6f26140d02f5a2e6e7c19773eb75552f2 (patch) | |
tree | e2428eea4dc10ea314ddd6a25c622cb69113c9e8 /main/py2-singledispatch | |
parent | 8f3c50960631f11e2bffcda00bc3e71d614a293e (diff) | |
download | aports-e538e4f6f26140d02f5a2e6e7c19773eb75552f2.tar.bz2 aports-e538e4f6f26140d02f5a2e6e7c19773eb75552f2.tar.xz |
main/py-singledispatch: rename to py2-*
Diffstat (limited to 'main/py2-singledispatch')
-rw-r--r-- | main/py2-singledispatch/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/main/py2-singledispatch/APKBUILD b/main/py2-singledispatch/APKBUILD new file mode 100644 index 0000000000..e84eda3cfd --- /dev/null +++ b/main/py2-singledispatch/APKBUILD @@ -0,0 +1,29 @@ +# Maintainer: Peter Bui <pnutzh4x0r@gmail.com> +pkgname=py2-singledispatch +_pkgname=singledispatch +pkgver=3.4.0.3 +pkgrel=0 +pkgdesc="This library brings functools.singledispatch from Python 3.4 to Python 2.6-3.3." +url="https://bitbucket.org/ambv/singledispatch" +arch="noarch" +license="MIT" +provides="py-$_pkgname" +replaces="py-$_pkgname" +depends="python2" +makedepends="py-setuptools" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python2 setup.py build +} + +package() { + cd "$builddir" + python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 +} + +md5sums="af2fc6a3d6cc5a02d0bf54d909785fcb singledispatch-3.4.0.3.tar.gz" +sha256sums="5b06af87df13818d14f08a028e42f566640aef80805c3b50c5056b086e3c2b9c singledispatch-3.4.0.3.tar.gz" +sha512sums="ba065d36092ddee6527be3d7cb777c51c0949855bf6dd0ffb7c25acaedaa35d36fe6dc096587acddcd1e9e54c6ac5f92c196b11f9ee1270cc0c1cf2f410446cf singledispatch-3.4.0.3.tar.gz" |