[arch-commits] Commit in python-rsa/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 16:50:28 UTC 2020
Date: Monday, November 9, 2020 @ 16:50:28
Author: foutrelis
Revision: 747592
archrelease: copy trunk to community-staging-any
Added:
python-rsa/repos/community-staging-any/
python-rsa/repos/community-staging-any/PKGBUILD
(from rev 747591, python-rsa/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-rsa/repos/community-staging-any/PKGBUILD (from rev 747591, python-rsa/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 16:50:28 UTC (rev 747592)
@@ -0,0 +1,29 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=python-rsa
+pkgver=4.6
+pkgrel=2
+_libname=rsa
+pkgdesc="Pure-Python RSA implementation"
+arch=(any)
+url="https://github.com/sybrenstuvel/python-rsa/"
+license=('BSD')
+source=(https://files.pythonhosted.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz)
+depends=(python-pyasn1)
+makedepends=(python-setuptools)
+sha256sums=('109ea5a66744dd859bf16fe904b8d8b627adafb9408753161e766a92e7d681fa')
+
+build() {
+ cd "$srcdir/$_libname-$pkgver"
+
+ rm -rf ../buildpy3; mkdir ../buildpy3
+ python setup.py build -b ../buildpy3
+}
+
+package() {
+ cd "$srcdir/$_libname-$pkgver"
+ #cd "$srcdir/sybren-python-rsa-8f50f506b4a2"
+ rm -rf build; ln -s ../buildpy3 build
+ python setup.py install --skip-build -O1 --root="$pkgdir"
+ install -m0644 -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list