diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-17 13:00:35 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-17 13:06:20 +0000 |
commit | 58122e177721f469ceea6f1bf4f3fb53a8fd9477 (patch) | |
tree | eddb81c0ab5076e9397f86a1109aee8e9b1dfca7 /community | |
parent | ca9a57bfe41f5c919da55c6adabbd9b96e769050 (diff) | |
download | aports-58122e177721f469ceea6f1bf4f3fb53a8fd9477.tar.bz2 aports-58122e177721f469ceea6f1bf4f3fb53a8fd9477.tar.xz |
main/py-ipaddress: moved from community, added py2 and py3 subpackages
Diffstat (limited to 'community')
-rw-r--r-- | community/py-ipaddress/APKBUILD | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/community/py-ipaddress/APKBUILD b/community/py-ipaddress/APKBUILD deleted file mode 100644 index a6c56a9524..0000000000 --- a/community/py-ipaddress/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=py-ipaddress -pkgver=1.0.16 -pkgrel=0 -pkgdesc="IPv4/IPv6 manipulation library" -url="https://github.com/phihag/ipaddress" -arch="noarch" -license="PSF" -depends="" -depends_dev="" -makedepends="$depends_dev py-setuptools" -install="" -subpackages="" -source="https://files.pythonhosted.org/packages/source/i/ipaddress/ipaddress-$pkgver.tar.gz" - -_builddir="$srcdir"/ipaddress-$pkgver - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -md5sums="1e27b62aa20f5b6fc200b2bdbf0d0847 ipaddress-1.0.16.tar.gz" -sha256sums="5a3182b322a706525c46282ca6f064d27a02cffbd449f9f47416f1dc96aa71b0 ipaddress-1.0.16.tar.gz" -sha512sums="50baf15f185b039037eef7b047d5a0ffbe1b335d2d94c218b6a2012ae1ba89c5e5c4f64667d8a623e4e4e7598d90c8a7caa8327ea4c155260ab90384f86a6c89 ipaddress-1.0.16.tar.gz" |