[arch-commits] Commit in python-idna/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Mon Oct 13 09:07:07 UTC 2014
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
===================================================================
--- PKGBUILD 2014-10-13 09:06:38 UTC (rev 120592)
+++ PKGBUILD 2014-10-13 09:07:07 UTC (rev 120593)
@@ -1,54 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at 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)
+++ PKGBUILD 2014-10-13 09:07:07 UTC (rev 120593)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at 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"
+}
More information about the arch-commits
mailing list