diff options
Diffstat (limited to '~mtjm')
-rw-r--r-- | ~mtjm/python2-pydns/PKGBUILD | 25 | ||||
-rw-r--r-- | ~mtjm/python2-pyspf/PKGBUILD | 35 |
2 files changed, 0 insertions, 60 deletions
diff --git a/~mtjm/python2-pydns/PKGBUILD b/~mtjm/python2-pydns/PKGBUILD deleted file mode 100644 index cf5f4b388..000000000 --- a/~mtjm/python2-pydns/PKGBUILD +++ /dev/null @@ -1,25 +0,0 @@ -# Parabola maintainer: Michał Masłowski <mtjm@mtjm.eu> -# From https://aur.archlinux.org/packages.php?ID=42273 -# Maintainer: Filip S. Adamsen <fsa [at] fsadev [dot] com> -# Contributor: Samed Beyribey <ras0ir AT eventualis DOT org> -pkgname=python2-pydns -_pkgname=pydns -pkgver=2.3.6 -pkgrel=1 -pkgdesc="Python2 module for performing DNS queries" -arch=('any') -url="http://pydns.sourceforge.net" -license=('custom') -depends=('python2') -options=(!emptydirs) -source=(http://downloads.sourceforge.net/$_pkgname/$_pkgname-$pkgver.tar.gz) -md5sums=('d12ca75251854ab6fcabbaff6909b690') - -build() { - cd "$srcdir/$_pkgname-$pkgver" - - python2 setup.py build || return 1 - python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1 - install -m755 -d "${pkgdir}/usr/share/licenses/$pkgname" - install -m644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname" -} diff --git a/~mtjm/python2-pyspf/PKGBUILD b/~mtjm/python2-pyspf/PKGBUILD deleted file mode 100644 index abb3bfa5f..000000000 --- a/~mtjm/python2-pyspf/PKGBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# Parabola maintainer: Michał Masłowski <mtjm@mtjm.eu> -# From https://aur.archlinux.org/packages.php?ID=42274 -# Maintainer: Filip S. Adamsen <fsa [at] fsadev [dot] com> -# Contributor: Samed Beyribey <ras0ir AT eventualis DOT org> -pkgname=python2-pyspf -_pkgname=pyspf -pkgver=2.0.7 -pkgrel=1 -pkgdesc="Python2 implementation of the Sender Policy Framework (SPF) protocol" -arch=('any') -url="http://pypi.python.org/pypi/pyspf" -license=('PSF') -depends=('python2-pydns' 'python2') -checkdepends=('python2-yaml') -conflicts=('python-pyspf') -options=(!emptydirs) -source=(http://downloads.sourceforge.net/pymilter/$_pkgname-$pkgver.tar.gz) -md5sums=('df47e2c04054a89da8b46b7f67e704ae') - -build() { - cd "$srcdir/$_pkgname-$pkgver" - - python2 setup.py build || return 1 - python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1 - - # See http://allanmcrae.com/2010/10/big-python-transition-in-arch-linux/ - sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \ - -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ - $(find $pkgdir -name '*.py') || return 1 -} - -check() { - cd "$srcdir/$_pkgname-$pkgver/test" - PYTHONPATH="$srcdir/$_pkgname-$pkgver:$PYTHONPATH" python2 testspf.py -} |