[arch-commits] Commit in python-idna/repos (staging-any staging-any/PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 15:25:54 UTC 2021
Date: Tuesday, November 30, 2021 @ 15:25:54
Author: felixonmars
Revision: 429602
archrelease: copy trunk to staging-any
Added:
python-idna/repos/staging-any/
python-idna/repos/staging-any/PKGBUILD
(from rev 429601, python-idna/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-idna/repos/staging-any/PKGBUILD (from rev 429601, python-idna/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2021-11-30 15:25:54 UTC (rev 429602)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-idna
+pkgver=3.3
+pkgrel=2
+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=('70b7cc8718e7d7899c75cfe476f044eae5a2fa03801fc9c12e3a092627ca943ffc4a578f9b8a55e181a11564835e125cfaaa577c02a6461dbb97366e620e53ad')
+
+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