[arch-commits] Commit in python-pygpgme/trunk (PKGBUILD)
Lukas Fleischer
lfleischer at archlinux.org
Mon Oct 28 12:37:49 UTC 2019
Date: Monday, October 28, 2019 @ 12:37:49
Author: lfleischer
Revision: 520834
upgpkg: python-pygpgme 0.3-7
Remove Python 2 version.
Modified:
python-pygpgme/trunk/PKGBUILD
----------+
PKGBUILD | 22 ++++++----------------
1 file changed, 6 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-28 12:31:54 UTC (rev 520833)
+++ PKGBUILD 2019-10-28 12:37:49 UTC (rev 520834)
@@ -1,27 +1,17 @@
# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
-pkgbase=python-pygpgme
-pkgname=(python-pygpgme python2-pygpgme)
+pkgname=python-pygpgme
pkgver=0.3
-pkgrel=6
+pkgrel=7
pkgdesc="A Python interface to the gpgme GnuPG library"
arch=('x86_64')
url='https://launchpad.net/pygpgme'
-makedepends=('python' 'python2')
+depends=('python' 'gpgme')
license=('LGPL')
source=("https://launchpad.net/pygpgme/trunk/${pkgver}/+download/pygpgme-${pkgver}.tar.gz")
md5sums=('d38355af73f0352cde3d410b25f34fd0')
-package_python-pygpgme() {
- depends=('python' 'gpgme')
-
- cd "${srcdir}/pygpgme-${pkgver}"
- python setup.py install --root="${pkgdir}" --optimize=1
+package() {
+ cd "${srcdir}/pygpgme-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1
}
-
-package_python2-pygpgme() {
- depends=('python2' 'gpgme')
-
- cd "${srcdir}/pygpgme-${pkgver}"
- python2 setup.py install --root="${pkgdir}" --optimize=1
-}
More information about the arch-commits
mailing list