[arch-commits] Commit in python-gnupg/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Mon Apr 20 17:33:24 UTC 2020
Date: Monday, April 20, 2020 @ 17:33:23
Author: dvzrv
Revision: 617064
archrelease: copy trunk to community-any
Added:
python-gnupg/repos/community-any/PKGBUILD
(from rev 617063, python-gnupg/trunk/PKGBUILD)
Deleted:
python-gnupg/repos/community-any/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-20 17:33:02 UTC (rev 617063)
+++ PKGBUILD 2020-04-20 17:33:23 UTC (rev 617064)
@@ -1,39 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: NicoHood <archlinux {cat} nicohood {dog} de>
-# Contributor: Sven Klomp <mail at klomp.eu>
-
-pkgname=python-gnupg
-pkgdesc="A wrapper for the Gnu Privacy Guard (GPG or GnuPG)"
-pkgver=0.4.5
-pkgrel=2
-url="https://pythonhosted.org/python-gnupg/"
-license=('BSD')
-arch=('any')
-depends=('gnupg' 'python')
-makedepends=('python-setuptools')
-source=("https://pypi.io/packages/source/p/python-gnupg/${pkgname}-${pkgver}.tar.gz"
- "https://pypi.io/packages/source/p/python-gnupg/${pkgname}-${pkgver}.tar.gz.asc")
-sha512sums=('441b49e1f87a7e8e3abf2d6e90f677dc33f1b66a36483787f972378127f31308bacc5e200ae254dd75942191d2fabd61ca5a2f200cf5400be70957942f889ca4'
- 'SKIP')
-validpgpkeys=('CA749061914EAC138E66EADB9147B477339A9B86') # Vinay Sajip (CODE SIGNING KEY) <vinay_sajip at yahoo.co.uk>
-
-build() {
- cd "${pkgname}-${pkgver}"
- python setup.py build
-}
-
-check() {
- cd "${pkgname}-${pkgver}"
- export NO_EXTERNAL_TESTS='true'
- python test_gnupg.py
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- python setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --root="${pkgdir}"
- install -vDm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
- install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
Copied: python-gnupg/repos/community-any/PKGBUILD (from rev 617063, python-gnupg/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-20 17:33:23 UTC (rev 617064)
@@ -0,0 +1,39 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: NicoHood <archlinux {cat} nicohood {dog} de>
+# Contributor: Sven Klomp <mail at klomp.eu>
+
+pkgname=python-gnupg
+pkgdesc="A wrapper for the Gnu Privacy Guard (GPG or GnuPG)"
+pkgver=0.4.6
+pkgrel=1
+url="https://pythonhosted.org/python-gnupg/"
+license=('BSD')
+arch=('any')
+depends=('gnupg' 'python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc})
+sha512sums=('33b98bdd1c7d211d31173bbea2358fdfd2dabdbd5e70d4b33035a0edbf666bdba7319ffc847c8617f2626d1bf5a91102f1103c0bfe651fcd709d51ee821be104'
+ 'SKIP')
+validpgpkeys=('CA749061914EAC138E66EADB9147B477339A9B86') # Vinay Sajip (CODE SIGNING KEY) <vinay_sajip at yahoo.co.uk>
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py build
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ export NO_EXTERNAL_TESTS='true'
+ pytest -v
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}"
+ install -vDm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list