notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details
py-gpg Gpgme Python bindings
2.0.0 security on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.0.0Version of this port present on the latest quarterly branch.
Maintainer: jhale@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-06-24 13:21:11
Last Update: 2025-06-24 13:09:24
Commit Hash: 217815b
Also Listed In: python
License: LGPL21+
Description:
Python bindings for the GpgME library, offering a high-level and curated interface, as well as an idiomatic interface implemented as a shim, automatically created using SWIG, on top of the low-level interface.
cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}gpg>0:security/py-gpg@${PY_FLAVOR}
To install the port:
cd /usr/ports/security/py-gpg/ && make install clean
To add the package, run one of these commands:
  • pkg install security/py-gpg
  • pkg install py311-gpg
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-gpg listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-gpg
Package flavors (<flavor>: <package>)
  • py311: py311-gpg
distinfo:
TIMESTAMP = 1750492472 SHA256 (gpgmepy-2.0.0.tar.bz2) = 07e1265648ff51da238c9af7a18b3f1dc7b0c66b4f21a72f27c74b396cd3336d SIZE (gpgmepy-2.0.0.tar.bz2) = 575963

Packages (timestamps in pop-ups are UTC):
py311-gpg
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.0.02.0.0-2.0.02.0.0---
FreeBSD:13:quarterly2.0.02.0.0-2.0.02.0.0---
FreeBSD:14:latest2.0.02.0.0-2.0.02.0.0---
FreeBSD:14:quarterly2.0.02.0.0-2.0.02.0.0---
FreeBSD:15:latest2.0.02.0.0n/a2.0.0n/a---
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest-2.0.0n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. swig : devel/swig
  2. py311-setuptools>0 : devel/py-setuptools@py311
  3. py311-wheel>0 : devel/py-wheel@py311
  4. gmake>=4.4.1 : devel/gmake
  5. pkgconf>=1.3.0_1 : devel/pkgconf
  6. python3.11 : lang/python311
  7. py311-build>=0 : devel/py-build@py311
  8. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. python3.11 : lang/python311
Library dependencies:
  1. libassuan.so : security/libassuan
  2. libgpg-error.so : security/libgpg-error
  3. libgpgme.so : security/gpgme
This port is required by:
for Run
  1. mail/py-alot
  2. net-im/gajim
  3. sysutils/dnf

Configuration Options:
No options to configure
Options name:
security_py-gpg
USES:
gmake pkgconfig python:3.9+ tar:bzip2
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (4 items)
Collapse this list.
  1. http://www.ring.gr.jp/pub/net/gnupg/gpgmepy/
  2. https://gnupg.org/ftp/gcrypt/gpgmepy/
  3. https://mirrors.dotsrc.org/gcrypt/gpgmepy/
  4. https://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/gpgmepy/
Collapse this list.
Port Moves
  • port moved here from security/py-gpgme on 2025-06-24
    REASON: Gpgme Python bindings have been split into a separate project

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.0.0
24 Jun 2025 13:09:24
commit hash: 217815b0af27079f6b74cc7e5ca3ea05e53b0b15commit hash: 217815b0af27079f6b74cc7e5ca3ea05e53b0b15commit hash: 217815b0af27079f6b74cc7e5ca3ea05e53b0b15commit hash: 217815b0af27079f6b74cc7e5ca3ea05e53b0b15 files touched by this commit
Jason E. Hale (jhale) search for other commits by this committer
security/gpgme: Update to 2.0.0

Upstream has split most of the bindings out into separate projects with
this release, so the child ports that were previously providing various
bindings are now autonomous and have new origins. The python bindings
should have been called py-gpg for many years now, since 'gpg' is the
actual module name, so this also corrects that issue.

security/gpgme-cpp -> security/gpgmepp
security/gpgme-qt -> security/qgpgme
security/py-gpgme -> security/py-gpg

gpgmepp and qgpgme have been converted to CMake. py-gpg is now a "fun"
autotools and FreeBSD ports system hybrid. Gpgme, itself, still uses
autotools, but with much less parenting (patching) to do for its
emancipated children.

Adjust several ports to fix API incompatibility with upstream patches
and with some of my own. Adjust all consumers to use the new port
origins of the former child ports.

https://dev.gnupg.org/T7673

Number of commits found: 1