[arch-commits] Commit in python-idna/repos/staging-any (PKGBUILD PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Thu Oct 31 17:04:46 UTC 2019
Date: Thursday, October 31, 2019 @ 17:04:46
Author: foutrelis
Revision: 366242
archrelease: copy trunk to staging-any
Added:
python-idna/repos/staging-any/PKGBUILD
(from rev 366241, python-idna/trunk/PKGBUILD)
Deleted:
python-idna/repos/staging-any/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 17:04:42 UTC (rev 366241)
+++ PKGBUILD 2019-10-31 17:04:46 UTC (rev 366242)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-idna
-pkgname=('python-idna' 'python2-idna')
-pkgver=2.8
-pkgrel=2
-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
-}
Copied: python-idna/repos/staging-any/PKGBUILD (from rev 366241, python-idna/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 17:04:46 UTC (rev 366242)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-idna
+pkgname=('python-idna' 'python2-idna')
+pkgver=2.8
+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=('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