diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2012-02-14 15:34:22 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2012-02-14 15:36:05 +0000 |
commit | 9fcdbce27b20a9c51ce36696bc9260d3acb81493 (patch) | |
tree | cbc7c24505edbc70d1f426b717a94a3bcba8a6d3 /testing | |
parent | a6e3bb4c4713c7146335a84417030e888d2853eb (diff) | |
download | aports-9fcdbce27b20a9c51ce36696bc9260d3acb81493.tar.bz2 aports-9fcdbce27b20a9c51ce36696bc9260d3acb81493.tar.xz |
testing/py-ipaddr: new aport
Python IP address manipulation library
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py-ipaddr/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/py-ipaddr/APKBUILD b/testing/py-ipaddr/APKBUILD new file mode 100644 index 000000000..886a64521 --- /dev/null +++ b/testing/py-ipaddr/APKBUILD @@ -0,0 +1,35 @@ +# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> +pkgname=py-ipaddr +_realname=ipaddr +pkgver=2.1.10 +pkgrel=0 +pkgdesc="Python IP address manipulation library" +url="http://code.google.com/p/ipaddr-py" +arch="noarch" +license="GPL" +depends="python" +depends_dev= +makedepends="$depends_dev" +install= +subpackages= +source="http://ipaddr-py.googlecode.com/files/$_realname-$pkgver.tar.gz" + + +_builddir="$srcdir"/$_realname-$pkgver + +prepare() { + cd "$_builddir" + return 0 +} + +build() { + cd "$_builddir" + return 0 +} + +package() { + cd "$_builddir" + python setup.py install --root="$pkgdir" +} + +md5sums="f315ac829218e9735c5d772d59a3e0e7 ipaddr-2.1.10.tar.gz" |