diff options
Diffstat (limited to 'abs/core/python-iplib')
-rwxr-xr-x | abs/core/python-iplib/PKGBUILD | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/abs/core/python-iplib/PKGBUILD b/abs/core/python-iplib/PKGBUILD deleted file mode 100755 index b41278b..0000000 --- a/abs/core/python-iplib/PKGBUILD +++ /dev/null @@ -1,25 +0,0 @@ -pkgname=python-iplib -_libname=iplib -pkgver=1.1 -pkgrel=2 -pkgdesc="IPlib is a Python module useful to convert amongst many different notations and to manage couples of address/netmask in the CIDR notation." -url="http://www.pymedia.org" -arch=('i686') -license=('GPL') -depends=('python2') -#makedepends=('python2>=2.3') -source=(http://erlug.linux.it/~da/soft/iplib/iplib-1.1.tar.gz) -md5sums=('3437ddbfc1986b2d06e7f4a0724ac5a0') - -build() { - cd ${srcdir}/${_libname}-${pkgver} - - find "$srcdir/${_libname}-${pkgver}" -name '*.py' | \ - xargs sed -i "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" - - yes "" | python2 setup.py install --root=${pkgdir} --prefix=/usr - - find "$pkgdir/" -name '*.py' | \ - xargs sed -i "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" - -} |