[arch-commits] Commit in python-pyasn1/repos (staging-any staging-any/PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 20:18:00 UTC 2021
Date: Tuesday, November 30, 2021 @ 20:18:00
Author: felixonmars
Revision: 429714
archrelease: copy trunk to staging-any
Added:
python-pyasn1/repos/staging-any/
python-pyasn1/repos/staging-any/PKGBUILD
(from rev 429712, python-pyasn1/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: python-pyasn1/repos/staging-any/PKGBUILD (from rev 429712, python-pyasn1/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2021-11-30 20:18:00 UTC (rev 429714)
@@ -0,0 +1,26 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=python-pyasn1
+pkgver=0.4.8
+pkgrel=6
+arch=('any')
+url="https://github.com/etingof/pyasn1"
+license=('BSD')
+pkgdesc="ASN.1 library for Python 3"
+depends=('python')
+makedepends=('python-setuptools')
+replaces=('pyasn1')
+provides=('pyasn1')
+source=(https://pypi.io/packages/source/p/pyasn1/pyasn1-$pkgver.tar.gz)
+sha512sums=('e64e70b325c8067f87ace7c0673149e82fe564aa4b0fa146d29b43cb588ecd6e81b1b82803b8cfa7a17d3d0489b6d88b4af5afb3aa0052bf92e8a1769fe8f7b0')
+
+check() {
+ cd pyasn1-${pkgver}
+ python setup.py test
+}
+
+package() {
+ cd pyasn1-${pkgver}
+ python setup.py install --root="${pkgdir}"
+ install -D -m 644 LICENSE.rst "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list