1
0
forked from ports/contrib

[notify] python3-gpgme: -> 1.13.1 port name change from gpgme-python to python3-gpgme, now uses python3

This commit is contained in:
Danny Rawlins 2020-07-04 20:24:24 +10:00
parent 076d9f8a14
commit 99bd4a1f52
8 changed files with 107 additions and 111 deletions

View File

@ -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/

View File

@ -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

View File

@ -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
}

77
python3-gpgme/.footprint Normal file
View File

@ -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

5
python3-gpgme/.signature Normal file
View File

@ -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

25
python3-gpgme/Pkgfile Normal file
View File

@ -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
}