Hello! Attached is pgpy-0.3.0.ebuild. PGPy is a pure-Python implementation of the OpenPGP specification, implementing functionality laid out in RFC 4880 (OpenPGP Message Format) and 5581 (The Camellia Cipher in OpenPGP) so far, with additional support for RFC 6637 (Elliptic Curve Cryptography in OpenPGP) and optional support for DNS CERT key retrieval via RFC 4398 on the roadmap. Documentation lives at http://pythonhosted.org/PGPy/ and the source repository is at https://github.com/SecurityInnovation/PGPy I am the author of PGPy, but this is my first try at making an ebuild. If I've made any idiot mistakes in this ebuild, or if it needs to be changed at all, I'd be more than happy to take the opportunity to learn and make those changes. I've tested installing the ebuild on amd64 only. I see no reason why it wouldn't run on other architectures, as long as dev-python/cryptography also builds. The requirements.txt specifies cryptography==0.6 for ease of consistency and accuracy of running the unit test suite in CI, but in reality this requirement can be relaxed to any version between 0.5 and 0.6.1, inclusive. I do know of one issue with the ebuild so far, and would appreciate some guidance in the ideal way to resolve it: when the USE flag python_targets_python3_4 is enabled, it won't install because dev-python/singledispatch and dev-python/enum34 do not have that flag. The enum34 dependency is a relatively simple fix I can do in the code, but I'd like to maintain the dependency on the PyPI version of singledispatch, since it contains some fixes that are not available in Python's standard library. Thanks very much for your time.
Created attachment 389796 [details] pgpy-0.3.0.ebuild
I didn't catch that with the URL, thanks for changing that. I've updated the ebuild to match; uploading now
Created attachment 389820 [details] pgpy-0.3.0.ebuild
dev-python/PGPy is available in GURU Dec. 2022
For the record, last I've checked PGPy was pretty buggy and insecure, and it doesn't look it is any better maintained now.
dev-python/PGPy does not have any revdep in GURU so I will treeclean.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3c4fc007e54642876f3ade41f2c675a3f66bd4a6 commit 3c4fc007e54642876f3ade41f2c675a3f66bd4a6 Author: Julien Roy <julien@jroy.ca> AuthorDate: 2024-04-13 17:25:38 +0000 Commit: Julien Roy <julien@jroy.ca> CommitDate: 2024-04-13 17:25:51 +0000 dev-python/PGPy: treeclean No reverse dependencies Per bug 529902: "For the record, last I've checked PGPy was pretty buggy and insecure, and it doesn't look it is any better maintained now." Bug: https://bugs.gentoo.org/529902 Signed-off-by: Julien Roy <julien@jroy.ca> dev-python/PGPy/Manifest | 1 - dev-python/PGPy/PGPy-0.6.0.ebuild | 25 ------------------------- dev-python/PGPy/metadata.xml | 16 ---------------- 3 files changed, 42 deletions(-)