diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-01-01 07:16:20 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-01-01 07:16:20 +0000 |
| commit | 8446bb4fefb0fb8db8cae6e11d2e66d050a95d32 (patch) | |
| tree | 1c4ef6558532728c8232385137ef64b556c7230c /dev-python/python-gnupg | |
| parent | a4e87863708e0c8dffd3750d50695de7274e9554 (diff) | |
| download | baldeagleos-repo-8446bb4fefb0fb8db8cae6e11d2e66d050a95d32.tar.gz baldeagleos-repo-8446bb4fefb0fb8db8cae6e11d2e66d050a95d32.tar.xz baldeagleos-repo-8446bb4fefb0fb8db8cae6e11d2e66d050a95d32.zip | |
Adding metadata
Diffstat (limited to 'dev-python/python-gnupg')
| -rw-r--r-- | dev-python/python-gnupg/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/python-gnupg/python-gnupg-0.5.6.ebuild | 53 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/python-gnupg/Manifest b/dev-python/python-gnupg/Manifest index 4cb33d44f747..6ffa1776d56a 100644 --- a/dev-python/python-gnupg/Manifest +++ b/dev-python/python-gnupg/Manifest @@ -1,2 +1,4 @@ DIST python-gnupg-0.5.5.tar.gz 66467 BLAKE2B a7c0ba9d146d10c35d90c3fe4de51599cdeee47411f8d39bdd2b7a3986aa3d638c2243bad0359ab0767a29e03421341fca9197590b8a478ed33c78969ae8f4bc SHA512 fd2012f644bb03566a9478256eb8df1024672a83fd94b3dada9ce47dcb56b71674aa7900e603ef487731d583c78fd677b56b56aac12c78d3594f893ba3fa53f5 DIST python-gnupg-0.5.5.tar.gz.asc 801 BLAKE2B 3995ab8ed912a12f8d333cd7a02ca29fc7195cf4b19fa3676d89c83961ee6a9d85d5b4ff79542a3e9f6a761414e7c6b64fcc97c69fb960fea48e66956193eeb8 SHA512 8a5cd5019a17dd34a8e48567736fa3282efb1e279a30d85c9e14a6862a7719ec15ea05349488cc45f604ad7e27223b143e30f9d1c91ac53d62fd8abf3d22ae53 +DIST python_gnupg-0.5.6.tar.gz 66825 BLAKE2B c392a611e520b2622c13b2cd8207760b38eb2583ae3dd2b361e59c88086b810d1c13e4900dac4a9f3f951c57c360db3532b1a6492d2b852ba60dba03d6eeefc3 SHA512 45d6215bf9b1efa84b050645365bf673b3d538984415e53e28e0c3aaf393fef23482b2ac5947b68b51a33aa7b2c672e4367382d2ea3b4565be7d002b1662796e +DIST python_gnupg-0.5.6.tar.gz.asc 801 BLAKE2B aa65541f70c9d5e767ca661ec6b6c56cf7bae1e4474120b9b47f66f51b0dd27bc040e176916102f3205f548b61996daea39ae5eab012625220e2f850cb223125 SHA512 be2fc544f43ca6dc49c228263d3f23c1a9968a39e40c56644f9ef73b6eeda654b98060170e6fdf3fcef8e82266ec23d1c04060d67c65d3eb09aaff82d4781dde diff --git a/dev-python/python-gnupg/python-gnupg-0.5.6.ebuild b/dev-python/python-gnupg/python-gnupg-0.5.6.ebuild new file mode 100644 index 000000000000..7f78b05b7c5c --- /dev/null +++ b/dev-python/python-gnupg/python-gnupg-0.5.6.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi verify-sig + +DESCRIPTION="A Python wrapper for GnuPG" +HOMEPAGE=" + https://docs.red-dove.com/python-gnupg/ + https://github.com/vsajip/python-gnupg/ + https://pypi.org/project/python-gnupg/ +" +# the download is the same as pypi sdist +SRC_URI+=" + https://github.com/vsajip/python-gnupg/releases/download/${PV}/${P/-/_}.tar.gz + verify-sig? ( + https://github.com/vsajip/python-gnupg/releases/download/${PV}/${P/-/_}.tar.gz.asc + ) +" +# https://github.com/vsajip/python-gnupg/issues/272 +S=${WORKDIR}/${P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + +# Need gnupg[nls] for avoiding decode errors and possible hangs +# w/ e.g. sec-keys/openpgp-keys-gentoo-developers but other pkgs too. +DEPEND=" + || ( + app-alternatives/gpg[nls,reference] + app-alternatives/gpg[nls,freepg(-)] + ) +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + verify-sig? ( sec-keys/openpgp-keys-vinaysajip ) +" + +distutils_enable_tests unittest + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/vinaysajip.asc + +python_test() { + # NO_EXTERNAL_TESTS must be enabled to disable network tests. + NO_EXTERNAL_TESTS=1 eunittest +} |
