[arch-commits] Commit in python-idna/repos/extra-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Dec 4 19:19:50 UTC 2018


    Date: Tuesday, December 4, 2018 @ 19:19:49
  Author: felixonmars
Revision: 341001

archrelease: copy trunk to extra-any

Added:
  python-idna/repos/extra-any/PKGBUILD
    (from rev 341000, python-idna/trunk/PKGBUILD)
Deleted:
  python-idna/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |  101 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 50 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-04 19:19:30 UTC (rev 341000)
+++ PKGBUILD	2018-12-04 19:19:49 UTC (rev 341001)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-idna
-pkgname=('python-idna' 'python2-idna')
-pkgver=2.7
-pkgrel=3
-pkgdesc="Internationalized Domain Names in Applications (IDNA)"
-arch=('any')
-license=('BSD')
-url="https://github.com/kjd/idna"
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://pypi.io/packages/source/i/idna/idna-$pkgver.tar.gz")
-sha512sums=('34ba985862e386243f43616586e53830177cf4ba0925b6054198dfa63c085ec5c6c5b54c2b3c0989bc768aacceeef76b84471e58a16183b960dc4b8812cd1c61')
-
-prepare() {
-   rm -r idna-$pkgver/*.egg-info
-   cp -a idna-$pkgver{,-py2}
-}
-
-build() {
-   cd "$srcdir"/idna-$pkgver
-   python setup.py build
- 
-   cd "$srcdir"/idna-$pkgver-py2
-   python2 setup.py build
-}
-
-check() {
-   cd "$srcdir"/idna-$pkgver
-   python setup.py test
-
-   cd "$srcdir"/idna-$pkgver-py2
-   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-py2
-   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/extra-any/PKGBUILD (from rev 341000, python-idna/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-12-04 19:19:49 UTC (rev 341001)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-idna
+pkgname=('python-idna' 'python2-idna')
+pkgver=2.8
+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=("https://pypi.io/packages/source/i/idna/idna-$pkgver.tar.gz")
+sha512sums=('8ca5cfe6350c51250bafdac7c6e4ddd54c4a5d6bf7acbcef896760a759868c8e9df1fdf550121d8512fa3eb316dcf031ec6058e03b4f66eadee21b63e2187d33')
+
+prepare() {
+   rm -r idna-$pkgver/*.egg-info
+   cp -a idna-$pkgver{,-py2}
+}
+
+build() {
+   cd "$srcdir"/idna-$pkgver
+   python setup.py build
+ 
+   cd "$srcdir"/idna-$pkgver-py2
+   python2 setup.py build
+}
+
+check() {
+   cd "$srcdir"/idna-$pkgver
+   python setup.py test
+
+   cd "$srcdir"/idna-$pkgver-py2
+   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-py2
+   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