Bug 1341641
| Summary: | Review Request: pytest-runner - Invoke py.test as distutils command with dependency resolution | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Matěj Cepl <mcepl> |
| Component: | Package Review | Assignee: | Othman Madjoudj <athmanem> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | athmanem, ignatenko, mcepl, package-review |
| Target Milestone: | --- | Flags: | athmanem:
fedora-review?
|
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-08-06 15:53:40 UTC | Type: | --- |
| 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: | 1355810 | ||
| Bug Blocks: | 1302479 | ||
|
Description
Matěj Cepl
2016-06-01 11:55:17 UTC
Scratch build in Rawhide http://koji.fedoraproject.org/koji/taskinfo?taskID=14337225 Hi Matej,
Could you please look into the following points:
1. Use macros provided in the guidelines instead of using: Provides: python3-%{name} or Provides: python2-%{name} , it'll make switching to py3 as default easier (I guess)
%{?python_provide:%python_provide python2-%{srcname}}
<and>
%{?python_provide:%python_provide python3-%{srcname}}
2. The current python naming convention is: python-<PyPI name>, the package should be renamed python-pytest-runner
You can use "dnf search pytest" to look into other packages names
3. (not a blocker): I you want to reduce custom macros, you can use %{summary} macros instead of %{sum}, eg:
Name: pytest-runner
Version: 2.8
Release: 1%{?dist}
Summary: Invoke py.test as distutils command with dependency resolution
[...]
%package -n python2-%{srcname}
Summary: %{summary}
%{?python_provide:%python_provide python2-%{srcname}}
--
[*] https://fedoraproject.org/wiki/Packaging:Python
Unfortunately all my packaging activities are broken now by bug 1355810. (In reply to Matěj Cepl from comment #3) > Unfortunately all my packaging activities are broken now by bug 1355810. all your packaging activities are broken by your head now. Given current package requires almost complete rewriting and proper package review request already available, so closing this as duplicate of that one. *** This bug has been marked as a duplicate of bug 1364725 *** |