mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
removing python2-ipaddr as it's in python-ipaddr now
This commit is contained in:
parent
9ad7703bbe
commit
374c36cee8
1 changed files with 0 additions and 29 deletions
|
@ -1,29 +0,0 @@
|
||||||
# Maintainer: Jonathan Liu <net147@gmail.com>
|
|
||||||
|
|
||||||
plugrel=1
|
|
||||||
|
|
||||||
pkgname=python2-ipaddr
|
|
||||||
_realpkgname=ipaddr
|
|
||||||
pkgver=2.1.10
|
|
||||||
pkgrel=1
|
|
||||||
pkgdesc="An IPv4/IPv6 manipulation library in Python"
|
|
||||||
arch=('any')
|
|
||||||
url="http://code.google.com/p/ipaddr-py/"
|
|
||||||
license=('APACHE')
|
|
||||||
depends=('python2')
|
|
||||||
makedepends=('python2-distribute')
|
|
||||||
source=("http://ipaddr-py.googlecode.com/files/${_realpkgname}-${pkgver}.tar.gz")
|
|
||||||
md5sums=('f315ac829218e9735c5d772d59a3e0e7')
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd "${srcdir}/${_realpkgname}-${pkgver}"
|
|
||||||
find "${srcdir}" -name '*.py' -exec sed -i -r "s|#!/usr/bin/python$|#!/usr/bin/python2|" {} +
|
|
||||||
python2 setup.py build
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
cd "${srcdir}/${_realpkgname}-${pkgver}"
|
|
||||||
python2 setup.py install --root="${pkgdir}" -O1
|
|
||||||
}
|
|
||||||
|
|
||||||
# vim:set ts=2 sw=2 et:
|
|
Loading…
Reference in a new issue