From 99bd4a1f52cd73546886cc5cd52559c28e38190d Mon Sep 17 00:00:00 2001 From: Danny Rawlins Date: Sat, 4 Jul 2020 20:24:24 +1000 Subject: [PATCH] [notify] python3-gpgme: -> 1.13.1 port name change from gpgme-python to python3-gpgme, now uses python3 --- gpgme-python/.footprint | 67 ---------------- gpgme-python/.signature | 7 -- gpgme-python/Pkgfile | 37 --------- python3-gpgme/.footprint | 77 +++++++++++++++++++ python3-gpgme/.signature | 5 ++ python3-gpgme/Pkgfile | 25 ++++++ .../gpgme-1.1.8-et_EE.patch | 0 .../gpgme-1.8.0-cmake.patch | 0 8 files changed, 107 insertions(+), 111 deletions(-) delete mode 100644 gpgme-python/.footprint delete mode 100644 gpgme-python/.signature delete mode 100644 gpgme-python/Pkgfile create mode 100644 python3-gpgme/.footprint create mode 100644 python3-gpgme/.signature create mode 100644 python3-gpgme/Pkgfile rename {gpgme-python => python3-gpgme}/gpgme-1.1.8-et_EE.patch (100%) rename {gpgme-python => python3-gpgme}/gpgme-1.8.0-cmake.patch (100%) diff --git a/gpgme-python/.footprint b/gpgme-python/.footprint deleted file mode 100644 index 0f7a006b6..000000000 --- a/gpgme-python/.footprint +++ /dev/null @@ -1,67 +0,0 @@ -drwxr-xr-x root/root usr/ -drwxr-xr-x root/root usr/bin/ -drwxr-xr-x root/root usr/etc/ -drwxr-xr-x root/root usr/etc/gpgme/ --rw-r--r-- root/root usr/etc/gpgme/python -drwxr-xr-x root/root usr/include/ -drwxr-xr-x root/root usr/lib/ -drwxr-xr-x root/root usr/lib/python2.7/ -drwxr-xr-x root/root usr/lib/python2.7/site-packages/ --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg-1.8.0-py2.7.egg-info -drwxr-xr-x root/root usr/lib/python2.7/site-packages/gpg/ --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/__init__.py --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/__init__.pyc --rwxr-xr-x root/root usr/lib/python2.7/site-packages/gpg/_gpgme.so --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/callbacks.py --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/callbacks.pyc -drwxr-xr-x root/root usr/lib/python2.7/site-packages/gpg/constants/ --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/__init__.py --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/__init__.pyc -drwxr-xr-x root/root usr/lib/python2.7/site-packages/gpg/constants/data/ --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/data/__init__.py --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/data/__init__.pyc --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/data/encoding.py --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/data/encoding.pyc --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/event.py --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/event.pyc --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/import.py --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/import.pyc -drwxr-xr-x root/root usr/lib/python2.7/site-packages/gpg/constants/keylist/ --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/keylist/__init__.py --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/keylist/__init__.pyc --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/keylist/mode.py --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/keylist/mode.pyc --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/md.py --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/md.pyc --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/pk.py --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/pk.pyc --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/protocol.py --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/protocol.pyc -drwxr-xr-x root/root usr/lib/python2.7/site-packages/gpg/constants/sig/ --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/sig/__init__.py --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/sig/__init__.pyc --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/sig/mode.py --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/sig/mode.pyc --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/sig/notation.py --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/sig/notation.pyc --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/sigsum.py --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/sigsum.pyc --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/status.py --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/status.pyc --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/validity.py --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/constants/validity.pyc --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/core.py --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/core.pyc --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/errors.py --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/errors.pyc --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/gpgme.py --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/gpgme.pyc --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/install_files.txt --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/results.py --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/results.pyc --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/util.py --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/util.pyc --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/version.py --rw-r--r-- root/root usr/lib/python2.7/site-packages/gpg/version.pyc -drwxr-xr-x root/root usr/share/ -drwxr-xr-x root/root usr/share/aclocal/ diff --git a/gpgme-python/.signature b/gpgme-python/.signature deleted file mode 100644 index 4c7c1ec2e..000000000 --- a/gpgme-python/.signature +++ /dev/null @@ -1,7 +0,0 @@ -untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3xm3yxFZO05PZLD0a3cTxGw9/H6R8le+dtVoAWG3oHNwrEBTA2BVtCrIGWM2XXvDbnC846Qp2Oz9b6GlJ1hZGA8= -SHA256 (Pkgfile) = 5a698a19b0142d919389a34efbc4141475855d9f2442779c7f6f504462f7a472 -SHA256 (.footprint) = 73b61335fa4a1e52125b1f1896dec6fa964feb2385ee8fea3a9b7371bb32d29f -SHA256 (gpgme-1.8.0.tar.bz2) = 596097257c2ce22e747741f8ff3d7e24f6e26231fa198a41b2a072e62d1e5d33 -SHA256 (gpgme-1.1.8-et_EE.patch) = 1c315576b34f1b68b264b3fc5762d0107c444bc76cd58af04c6304551ed8fb64 -SHA256 (gpgme-1.8.0-cmake.patch) = fb743604a031b9f8be816ccb643a78ed12a660d7cbeb8519387d7f44c7d33c8a diff --git a/gpgme-python/Pkgfile b/gpgme-python/Pkgfile deleted file mode 100644 index 61ecde737..000000000 --- a/gpgme-python/Pkgfile +++ /dev/null @@ -1,37 +0,0 @@ -# Description: gpgme bindings for python. -# URL: http://www.gnupg.org/gpgme.html -# Maintainer: Danny Rawlins, crux at romster dot me -# Packager: Danny Rawlins, crux at romster dot me -# Depends on: gpgme swig python - -name=gpgme-python -version=1.8.0 -release=1 -source=(https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-$version.tar.bz2 - gpgme-1.1.8-et_EE.patch - gpgme-1.8.0-cmake.patch) - -build() { - cd gpgme-$version - - patch -p1 -i $SRC/gpgme-1.1.8-et_EE.patch - patch -p1 -i $SRC/gpgme-1.8.0-cmake.patch - - ./configure \ - --prefix=/usr \ - --enable-languages='python2' - - make - make DESTDIR=$PKG install - - install -d $PKG/usr/etc/gpgme - echo python > $PKG/usr/etc/gpgme/python - - rm \ - $PKG/usr/bin/{gpgme-config,gpgme-tool} \ - $PKG/usr/include/gpgme.h \ - $PKG/usr/lib/libgpgme.* \ - $PKG/usr/share/aclocal/gpgme.m4 - - rm -r $PKG/usr/share/info -} diff --git a/python3-gpgme/.footprint b/python3-gpgme/.footprint new file mode 100644 index 000000000..d1fca6b8b --- /dev/null +++ b/python3-gpgme/.footprint @@ -0,0 +1,77 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/etc/ +drwxr-xr-x root/root usr/etc/gpgme/ +-rw-r--r-- root/root usr/etc/gpgme/python +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/python3.7/ +drwxr-xr-x root/root usr/lib/python3.7/site-packages/ +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg-1.13.1-py3.7.egg-info +drwxr-xr-x root/root usr/lib/python3.7/site-packages/gpg/ +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/__init__.py +drwxr-xr-x root/root usr/lib/python3.7/site-packages/gpg/__pycache__/ +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/__pycache__/__init__.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/__pycache__/callbacks.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/__pycache__/core.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/__pycache__/errors.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/__pycache__/gpgme.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/__pycache__/results.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/__pycache__/util.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/__pycache__/version.cpython-37.pyc +-rwxr-xr-x root/root usr/lib/python3.7/site-packages/gpg/_gpgme.cpython-37m-x86_64-linux-gnu.so +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/callbacks.py +drwxr-xr-x root/root usr/lib/python3.7/site-packages/gpg/constants/ +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/__init__.py +drwxr-xr-x root/root usr/lib/python3.7/site-packages/gpg/constants/__pycache__/ +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/__pycache__/__init__.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/__pycache__/create.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/__pycache__/event.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/__pycache__/import_type.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/__pycache__/keysign.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/__pycache__/md.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/__pycache__/pk.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/__pycache__/protocol.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/__pycache__/sigsum.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/__pycache__/status.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/__pycache__/validity.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/create.py +drwxr-xr-x root/root usr/lib/python3.7/site-packages/gpg/constants/data/ +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/data/__init__.py +drwxr-xr-x root/root usr/lib/python3.7/site-packages/gpg/constants/data/__pycache__/ +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/data/__pycache__/__init__.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/data/__pycache__/encoding.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/data/encoding.py +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/event.py +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/import_type.py +drwxr-xr-x root/root usr/lib/python3.7/site-packages/gpg/constants/keylist/ +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/keylist/__init__.py +drwxr-xr-x root/root usr/lib/python3.7/site-packages/gpg/constants/keylist/__pycache__/ +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/keylist/__pycache__/__init__.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/keylist/__pycache__/mode.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/keylist/mode.py +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/keysign.py +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/md.py +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/pk.py +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/protocol.py +drwxr-xr-x root/root usr/lib/python3.7/site-packages/gpg/constants/sig/ +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/sig/__init__.py +drwxr-xr-x root/root usr/lib/python3.7/site-packages/gpg/constants/sig/__pycache__/ +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/sig/__pycache__/__init__.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/sig/__pycache__/mode.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/sig/__pycache__/notation.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/sig/mode.py +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/sig/notation.py +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/sigsum.py +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/status.py +drwxr-xr-x root/root usr/lib/python3.7/site-packages/gpg/constants/tofu/ +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/tofu/__init__.py +drwxr-xr-x root/root usr/lib/python3.7/site-packages/gpg/constants/tofu/__pycache__/ +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/tofu/__pycache__/__init__.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/tofu/__pycache__/policy.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/tofu/policy.py +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/constants/validity.py +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/core.py +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/errors.py +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/gpgme.py +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/results.py +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/util.py +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gpg/version.py diff --git a/python3-gpgme/.signature b/python3-gpgme/.signature new file mode 100644 index 000000000..ea6148d77 --- /dev/null +++ b/python3-gpgme/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF31p8JlB1GZ3QGiYWqX4VPbyY6rdGpR1rJGh2IyGOPQIsOgkQubz8t+jhe7HXRm0T8T3AAgZfWTt2ZaYBxJr3FwY= +SHA256 (Pkgfile) = 8bbc3b633c001d7ba0a1e2c0e207f5544ab79f9e0ff101941b569f51ceb1aa81 +SHA256 (.footprint) = f3144f5e0c668c6856bcdf5eb0b85e0a4b93dbf1e680ce1a7af4597822ebeb1a +SHA256 (gpgme-1.13.1.tar.bz2) = c4e30b227682374c23cddc7fdb9324a99694d907e79242a25a4deeedb393be46 diff --git a/python3-gpgme/Pkgfile b/python3-gpgme/Pkgfile new file mode 100644 index 000000000..8a315fd66 --- /dev/null +++ b/python3-gpgme/Pkgfile @@ -0,0 +1,25 @@ +# Description: Python bindings for GPGme. +# URL: https://www.gnupg.org/gpgme.html +# Maintainer: Danny Rawlins, crux at romster dot me +# Depends on: gpgme swig python3 + +name=python3-gpgme +version=1.13.1 +release=1 +source=(https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-$version.tar.bz2) + +build() { + cd gpgme-$version + + ./configure \ + --prefix=/usr \ + --disable-fd-passing \ + --disable-gpgsm-test + + make + cd lang/python + make DESTDIR=$PKG install + + install -d $PKG/usr/etc/gpgme + echo python3 > $PKG/usr/etc/gpgme/python +} diff --git a/gpgme-python/gpgme-1.1.8-et_EE.patch b/python3-gpgme/gpgme-1.1.8-et_EE.patch similarity index 100% rename from gpgme-python/gpgme-1.1.8-et_EE.patch rename to python3-gpgme/gpgme-1.1.8-et_EE.patch diff --git a/gpgme-python/gpgme-1.8.0-cmake.patch b/python3-gpgme/gpgme-1.8.0-cmake.patch similarity index 100% rename from gpgme-python/gpgme-1.8.0-cmake.patch rename to python3-gpgme/gpgme-1.8.0-cmake.patch