[arch-commits] Commit in python-idna/repos/community-any (PKGBUILD PKGBUILD)
Date: Thursday, January 29, 2015 @ 03:49:56 Author: fyan Revision: 126723 archrelease: copy trunk to community-any Added: python-idna/repos/community-any/PKGBUILD (from rev 126722, python-idna/trunk/PKGBUILD) Deleted: python-idna/repos/community-any/PKGBUILD --+ PKGBUILD | 108 ++--- 1 file changed, 54 insertions(+), 54 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2015-01-29 02:49:30 UTC (rev 126722) +++ PKGBUILD2015-01-29 02:49:56 UTC (rev 126723) @@ -1,54 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan felixonm...@archlinux.org - -pkgbase=python-idna -pkgname=('python-idna' 'python2-idna') -pkgver=1.0 -pkgrel=1 -pkgdesc=Internationalized Domain Names in Applications (IDNA) -arch=('any') -license=('BSD') -url=https://github.com/kjd/idna; -makedepends=('python-setuptools' 'python2-setuptools') -source=(http://pypi.python.org/packages/source/i/idna/idna-${pkgver}.tar.gz;) -md5sums=('01abd8bd98f119e02aad6e686ff6181b') - -prepare() { - cp -a idna-${pkgver}{,-python2} -} - -build() { - # Build python 3 module - cd idna-${pkgver} - python setup.py build - - # Build python 2 module - cd ../idna-${pkgver}-python2 - python2 setup.py build -} - -check() { - # Check python3 module - cd ${srcdir}/idna-${pkgver} - python setup.py test - - # Check python2 module - cd ${srcdir}/idna-${pkgver}-python2 - python2 setup.py test -} - -package_python-idna() { - depends=('python') - - cd idna-${pkgver} - python setup.py install --root=${pkgdir} --optimize=1 --skip-build - install -Dm644 LICENSE.rst $pkgdir/usr/share/licenses/$pkgname/LICENSE.rst -} - -package_python2-idna() { - depends=('python2') - - cd idna-${pkgver}-python2 - python2 setup.py install --root=${pkgdir} --optimize=1 --skip-build - install -Dm644 LICENSE.rst $pkgdir/usr/share/licenses/$pkgname/LICENSE.rst -} Copied: python-idna/repos/community-any/PKGBUILD (from rev 126722, python-idna/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2015-01-29 02:49:56 UTC (rev 126723) @@ -0,0 +1,54 @@ +# $Id$ +# Maintainer: Felix Yan felixonm...@archlinux.org + +pkgbase=python-idna +pkgname=('python-idna' 'python2-idna') +pkgver=1.1 +pkgrel=1 +pkgdesc=Internationalized Domain Names in Applications (IDNA) +arch=('any') +license=('BSD') +url=https://github.com/kjd/idna; +makedepends=('python-setuptools' 'python2-setuptools') +source=(http://pypi.python.org/packages/source/i/idna/idna-${pkgver}.tar.gz;) +md5sums=('9f5bfff6b317763c5a6f674707744dbe') + +prepare() { + cp -a idna-${pkgver}{,-python2} +} + +build() { + # Build python 3 module + cd idna-${pkgver} + python setup.py build + + # Build python 2 module + cd ../idna-${pkgver}-python2 + python2 setup.py build +} + +check() { + # Check python3 module + cd ${srcdir}/idna-${pkgver} + python setup.py test + + # Check python2 module + cd ${srcdir}/idna-${pkgver}-python2 + python2 setup.py test +} + +package_python-idna() { + depends=('python') + + cd idna-${pkgver} + python setup.py install --root=${pkgdir} --optimize=1 --skip-build + install -Dm644 LICENSE.rst $pkgdir/usr/share/licenses/$pkgname/LICENSE.rst +} + +package_python2-idna() { + depends=('python2') + + cd idna-${pkgver}-python2 + python2 setup.py install --root=${pkgdir} --optimize=1 --skip-build + install -Dm644 LICENSE.rst $pkgdir/usr/share/licenses/$pkgname/LICENSE.rst +}
[arch-commits] Commit in python-idna/repos/community-any (PKGBUILD PKGBUILD)
Date: Monday, October 13, 2014 @ 11:07:07 Author: fyan Revision: 120593 archrelease: copy trunk to community-any Added: python-idna/repos/community-any/PKGBUILD (from rev 120592, python-idna/trunk/PKGBUILD) Deleted: python-idna/repos/community-any/PKGBUILD --+ PKGBUILD | 108 ++--- 1 file changed, 54 insertions(+), 54 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2014-10-13 09:06:38 UTC (rev 120592) +++ PKGBUILD2014-10-13 09:07:07 UTC (rev 120593) @@ -1,54 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan felixonm...@gmail.com - -pkgbase=python-idna -pkgname=('python-idna' 'python2-idna') -pkgver=0.9 -pkgrel=1 -pkgdesc=Internationalized Domain Names in Applications (IDNA) -arch=('any') -license=('BSD') -url=https://github.com/kjd/idna; -makedepends=('python-setuptools' 'python2-setuptools') -source=(http://pypi.python.org/packages/source/i/idna/idna-${pkgver}.tar.gz;) -md5sums=('adeaa25679040dc6f8098a2e2ab6c42d') - -prepare() { - cp -a idna-${pkgver}{,-python2} -} - -build() { - # Build python 3 module - cd idna-${pkgver} - python setup.py build - - # Build python 2 module - cd ../idna-${pkgver}-python2 - python2 setup.py build -} - -check() { - # Check python3 module - cd ${srcdir}/idna-${pkgver} - python setup.py test - - # Check python2 module - cd ${srcdir}/idna-${pkgver}-python2 - python2 setup.py test -} - -package_python-idna() { - depends=('python') - - cd idna-${pkgver} - python setup.py install --root=${pkgdir} --optimize=1 --skip-build - install -Dm644 LICENSE.rst $pkgdir/usr/share/licenses/$pkgname/LICENSE.rst -} - -package_python2-idna() { - depends=('python2') - - cd idna-${pkgver}-python2 - python2 setup.py install --root=${pkgdir} --optimize=1 --skip-build - install -Dm644 LICENSE.rst $pkgdir/usr/share/licenses/$pkgname/LICENSE.rst -} Copied: python-idna/repos/community-any/PKGBUILD (from rev 120592, python-idna/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2014-10-13 09:07:07 UTC (rev 120593) @@ -0,0 +1,54 @@ +# $Id$ +# Maintainer: Felix Yan felixonm...@archlinux.org + +pkgbase=python-idna +pkgname=('python-idna' 'python2-idna') +pkgver=1.0 +pkgrel=1 +pkgdesc=Internationalized Domain Names in Applications (IDNA) +arch=('any') +license=('BSD') +url=https://github.com/kjd/idna; +makedepends=('python-setuptools' 'python2-setuptools') +source=(http://pypi.python.org/packages/source/i/idna/idna-${pkgver}.tar.gz;) +md5sums=('01abd8bd98f119e02aad6e686ff6181b') + +prepare() { + cp -a idna-${pkgver}{,-python2} +} + +build() { + # Build python 3 module + cd idna-${pkgver} + python setup.py build + + # Build python 2 module + cd ../idna-${pkgver}-python2 + python2 setup.py build +} + +check() { + # Check python3 module + cd ${srcdir}/idna-${pkgver} + python setup.py test + + # Check python2 module + cd ${srcdir}/idna-${pkgver}-python2 + python2 setup.py test +} + +package_python-idna() { + depends=('python') + + cd idna-${pkgver} + python setup.py install --root=${pkgdir} --optimize=1 --skip-build + install -Dm644 LICENSE.rst $pkgdir/usr/share/licenses/$pkgname/LICENSE.rst +} + +package_python2-idna() { + depends=('python2') + + cd idna-${pkgver}-python2 + python2 setup.py install --root=${pkgdir} --optimize=1 --skip-build + install -Dm644 LICENSE.rst $pkgdir/usr/share/licenses/$pkgname/LICENSE.rst +}