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

Felix Yan felixonmars at archlinux.org
Sat May 29 22:50:33 UTC 2021


    Date: Saturday, May 29, 2021 @ 22:50:32
  Author: felixonmars
Revision: 416844

archrelease: copy trunk to testing-any

Added:
  python-idna/repos/testing-any/
  python-idna/repos/testing-any/PKGBUILD
    (from rev 416843, python-idna/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: python-idna/repos/testing-any/PKGBUILD (from rev 416843, python-idna/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2021-05-29 22:50:32 UTC (rev 416844)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-idna
+pkgver=3.2
+pkgrel=1
+pkgdesc="Internationalized Domain Names in Applications (IDNA)"
+arch=('any')
+license=('BSD')
+url="https://github.com/kjd/idna"
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://pypi.io/packages/source/i/idna/idna-$pkgver.tar.gz")
+sha512sums=('2bc8e37abdc0570e5e13c9064f51630605806c3246a8d292511dad6f971610288212a2d881f9356ecb383f871e1477ccd60c4a5d6d7fd05254ff740d36543f35')
+
+prepare() {
+   rm -r idna-$pkgver/*.egg-info
+}
+
+build() {
+   cd idna-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd idna-$pkgver
+   python setup.py test
+}
+ 
+package() {
+   cd idna-$pkgver
+   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+   #install -Dm644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list