Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 529902 - dev-python/pgpy-0.3.0 - Pretty Good Privacy for Python
Summary: dev-python/pgpy-0.3.0 - Pretty Good Privacy for Python
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL: https://github.com/SecurityInnovation...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2014-11-19 21:28 UTC by Michael Greene
Modified: 2024-04-13 22:19 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pgpy-0.3.0.ebuild (pgpy-0.3.0.ebuild,863 bytes, text/plain)
2014-11-19 21:29 UTC, Michael Greene
Details
pgpy-0.3.0.ebuild (pgpy-0.3.0.ebuild,872 bytes, text/plain)
2014-11-19 23:51 UTC, Michael Greene
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Greene 2014-11-19 21:28:23 UTC
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.
Comment 1 Michael Greene 2014-11-19 21:29:21 UTC
Created attachment 389796 [details]
pgpy-0.3.0.ebuild
Comment 2 Michael Greene 2014-11-19 23:48:04 UTC
I didn't catch that with the URL, thanks for changing that. I've updated the ebuild to match; uploading now
Comment 3 Michael Greene 2014-11-19 23:51:30 UTC
Created attachment 389820 [details]
pgpy-0.3.0.ebuild
Comment 4 Julien 2024-04-13 16:07:09 UTC
dev-python/PGPy is available in GURU Dec. 2022
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-04-13 17:21:46 UTC
For the record, last I've checked PGPy was pretty buggy and insecure, and it doesn't look it is any better maintained now.
Comment 6 Julien 2024-04-13 17:26:49 UTC
dev-python/PGPy does not have any revdep in GURU so I will treeclean.
Comment 7 Larry the Git Cow gentoo-dev 2024-04-13 22:19:41 UTC
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(-)