Date: Wednesday, August 27, 2014 @ 02:57:30 Author: fyan Revision: 117936
archrelease: copy trunk to community-any Added: python-dnslib/repos/community-any/PKGBUILD (from rev 117935, python-dnslib/trunk/PKGBUILD) Deleted: python-dnslib/repos/community-any/PKGBUILD ----------+ PKGBUILD | 70 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2014-08-27 00:57:12 UTC (rev 117935) +++ PKGBUILD 2014-08-27 00:57:30 UTC (rev 117936) @@ -1,35 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@gmail.com> - -_pypiname=dnslib -pkgbase=python-$_pypiname -pkgname=(python-$_pypiname python2-$_pypiname) -pkgver=0.9.0 -pkgrel=1 -pkgdesc="Simple library to encode/decode DNS wire-format packets" -arch=('any') -url=("https://bitbucket.org/paulc/dnslib") -license=('custom:BSD') -makedepends=('python' 'python2') -source=("https://pypi.python.org/packages/source/d/$_pypiname/$_pypiname-${pkgver}.tar.gz") -md5sums=('0d7b6434f00a2411e2e8cc15878ac4ba') - -prepare() { - cp -r ${_pypiname}-${pkgver} python2-${_pypiname}-${pkgver} -} - -package_python-dnslib() { - depends=("python") - - cd ${_pypiname}-${pkgver} - python setup.py install -O1 --root="${pkgdir}" -} - -package_python2-dnslib() { - depends=("python2") - - cd python2-${_pypiname}-${pkgver} - python2 setup.py install -O1 --root="${pkgdir}" -} - -# vim:set ts=2 sw=2 et: Copied: python-dnslib/repos/community-any/PKGBUILD (from rev 117935, python-dnslib/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2014-08-27 00:57:30 UTC (rev 117936) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@gmail.com> + +_pypiname=dnslib +pkgbase=python-$_pypiname +pkgname=(python-$_pypiname python2-$_pypiname) +pkgver=0.9.3 +pkgrel=1 +pkgdesc="Simple library to encode/decode DNS wire-format packets" +arch=('any') +url=("https://bitbucket.org/paulc/dnslib") +license=('custom:BSD') +makedepends=('python' 'python2') +source=("https://pypi.python.org/packages/source/d/$_pypiname/$_pypiname-${pkgver}.tar.gz") +md5sums=('ff526858e05d615c01944563bce65df4') + +prepare() { + cp -a ${_pypiname}-${pkgver} python2-${_pypiname}-${pkgver} +} + +package_python-dnslib() { + depends=("python") + + cd ${_pypiname}-${pkgver} + python setup.py install -O1 --root="${pkgdir}" +} + +package_python2-dnslib() { + depends=("python2") + + cd python2-${_pypiname}-${pkgver} + python2 setup.py install -O1 --root="${pkgdir}" +} + +# vim:set ts=2 sw=2 et: