[arch-commits] Commit in python-gnupg/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Wed Nov 24 17:24:44 UTC 2021
Date: Wednesday, November 24, 2021 @ 17:24:43
Author: dvzrv
Revision: 1054718
upgpkg: python-gnupg 0.4.8-1: Upgrade to 0.4.8.
Simplify quoting in file.
Simplify installation in package() to adhere to Python package guidelines.
Modified:
python-gnupg/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-24 17:16:28 UTC (rev 1054717)
+++ PKGBUILD 2021-11-24 17:24:43 UTC (rev 1054718)
@@ -4,17 +4,19 @@
pkgname=python-gnupg
pkgdesc="A wrapper for the Gnu Privacy Guard (GPG or GnuPG)"
-pkgver=0.4.7
+pkgver=0.4.8
pkgrel=1
-url="https://pythonhosted.org/python-gnupg/"
-license=('BSD')
-arch=('any')
-depends=('gnupg' 'python')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
+arch=(any)
+url="https://docs.red-dove.com/python-gnupg/"
+license=(BSD)
+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=('e590778affd3f864bac2221e1ce7c4a37ba257e7112e023d70617f3f3c7597dbeb2974db0ed611b2fc75a071678ae8856be4a3b3f48428a12b42c2f1125fdce5'
+sha512sums=('fcaa121a356595328a26e8184280f859dfc2771b9692dcf28db2d9b0fdddc77d4c1238665a8e419758ec17320616e7741aacd3638e37d449b86fe5555beef1f6'
'SKIP')
+b2sums=('d9ab2fe3ea933a22e731fd70e153e60cc3b158f15e3f8537440c355037092ff7545d29e8d2eab88efb38dcc6e3776c31f537a9c06467b473e93cbc9f0e2ef189'
+ 'SKIP')
validpgpkeys=('CA749061914EAC138E66EADB9147B477339A9B86') # Vinay Sajip (CODE SIGNING KEY) <vinay_sajip at yahoo.co.uk>
build() {
@@ -30,9 +32,7 @@
package() {
cd "${pkgname}-${pkgver}"
- python setup.py install --skip-build \
- --optimize=1 \
- --root="${pkgdir}"
+ python setup.py install --optimize=1 --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