[arch-commits] Commit in python-idna/repos (testing-any testing-any/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Mar 19 20:22:40 UTC 2021
Date: Friday, March 19, 2021 @ 20:22:40
Author: felixonmars
Revision: 410338
archrelease: copy trunk to testing-any
Added:
python-idna/repos/testing-any/
python-idna/repos/testing-any/PKGBUILD
(from rev 410337, python-idna/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-idna/repos/testing-any/PKGBUILD (from rev 410337, python-idna/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2021-03-19 20:22:40 UTC (rev 410338)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-idna
+pkgver=3.0
+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=('2ed384e75fb3d873a19c6ee49915a48a757b3617227015f92f5e21b130cf30816ce3abf25d9ffd8931e080e645416fb0551b1be18a2d0233e02bce2e4b6556f3')
+
+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