Bug 1308552
| Summary: | pg_view: : Provide a Python 3 subpackage | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Petr Viktorin (pviktori) <pviktori> |
| Component: | pg_view | Assignee: | Lorenzo Dalrio <lorenzo.dalrio> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | cstratak, lorenzo.dalrio, pviktori |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-02-17 14:11:31 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1285816 | ||
|
Description
Petr Viktorin (pviktori)
2016-02-15 13:48:11 UTC
Petr, please can you point me to a package similar to this one that already ships python3 sub-package? Do i need to rename the package by adding the python- prefix? Thank you! Some spec file examples: [0][1]. There are numerous others at fedora dist-git [2]. Checking various different cases especially in newest packages that follow the guidelines is a good strategy. Adding the python prefix would also be a good change from various perspectives, most python packages use that. Please refer to [4] regarding the renaming process. If you have any more questions do not hesitate to ask. [0] http://pkgs.fedoraproject.org/cgit/rpms/python-inifile.git/plain/python-inifile.spec [1] http://pkgs.fedoraproject.org/cgit/rpms/python-argh.git/plain/python-argh.spec [2] http://pkgs.fedoraproject.org/cgit/rpms/ [3] https://fedoraproject.org/wiki/Package_Renaming_Process Actually, since pg_view is a tool, not a Python library others would import, you can just switch to Python 3 entirely. After you update to the newest upstream release of pg_view, switch the shebang to /usr/bin/python3. Let me know if that doesn't work. And, the python2-/python3- prefix is only necessary for libraries, so there's no need to rename the package. Thank you for the useful info. I have updated pg_view to the latest release and for rawhide i have changed the shebang to /usr/bin/python3 as suggested by Petr. Yipee! Thanks for your help! |