diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-28 03:27:16 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-28 03:27:16 +0000 |
commit | 462391357aa5e749dc9908c15f3baa0b4416f3d8 (patch) | |
tree | 11d4d3f054aae9ffd869adc634054f64a16d83b8 /libre/python2-django-countries | |
parent | 748e32a3a886569b58a27003e85b76be5746153d (diff) |
Tue Jan 28 03:22:21 UTC 2014
Diffstat (limited to 'libre/python2-django-countries')
-rw-r--r-- | libre/python2-django-countries/PKGBUILD | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/libre/python2-django-countries/PKGBUILD b/libre/python2-django-countries/PKGBUILD deleted file mode 100644 index 36bc6a580..000000000 --- a/libre/python2-django-countries/PKGBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> - -_pkgname=django-countries -pkgname=python2-$_pkgname -pkgver=1.5 -pkgdesc="Provides a country field for Django models" -url="http://bitbucket.org/smileychris/$_pkgname/" -license=('custom:MIT') - -replaces=($_pkgname) -conflicts=($_pkgname) - -pkgrel=3 -arch=(any) -depends=('python2-django') -makedepends=('python2-distribute') -source=(http://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz) -md5sums=(6c65fcc3aa7de065a54cdb619397626d) - -build() { - cd "$srcdir/$_pkgname-$pkgver" - sed -i 's|#!/usr/bin/env python\s*$|#!/usr/bin/env python2|' setup.py */bin/*.py - # fix help message: (python2, typo) - # "python regenenerate.py" -> "python2 regenerate.py" - sed -i 's|python regen[a-z]*\.py|python2 regenerate.py|' */bin/regenerate.py -} - -package() { - cd "$srcdir/$_pkgname-$pkgver" - ./setup.py install --root="$pkgdir/" --optimize=1 - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} |