stable

pyp2rpm-2.0.0-4.el7 and python-flexmock-0.10.2-3.el7

FEDORA-EPEL-2016-4046bd9a65 created by kevin 6 years ago for Fedora EPEL 7

Initial versions of pyp2rpm and python-flexmock for epel7

This update has been submitted for testing by kevin.

6 years ago

kevin edited this update.

6 years ago

kevin edited this update.

6 years ago

This update has been pushed to testing.

6 years ago
User Icon gbailey commented & provided feedback 6 years ago

Interested in using this package, but it's not clear how to use it. Invoking "pyp2rpm" with "-h" or "--help" gives a traceback:

Traceback (most recent call last):
  File "/usr/bin/pyp2rpm", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3007, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 728, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve
    raise DistributionNotFound(req)
 pkg_resources.DistributionNotFound: click

I get the same traceback if I invoke with a package name as the argument.

There's no manpage so I'm not sure how to invoke it.

BZ#1312927 Release for EPEL7
User Icon kevin commented & provided feedback 6 years ago

Oops. Looks like I am missing a Requires: python-click. If you 'yum install python-click' does it start working?

User Icon gbailey commented & provided feedback 6 years ago

It almost starts working (well, different traceback...)

pkg_resources.DistributionNotFound: Jinja2

After I installed "python-jinja2" it appears to work fine. Cool utility!

kevin edited this update.

New build(s):

  • pyp2rpm-2.0.0-4.el7

Removed build(s):

  • pyp2rpm-2.0.0-3.el7
6 years ago

This update has been submitted for testing by kevin.

6 years ago

This update has been pushed to testing.

6 years ago
User Icon gbailey commented & provided feedback 6 years ago

Is there a package I need that defines the %py2_build and %py2_install macros?

I get:

+ %py2_build
/var/tmp/rpm-tmp.ggcNJ9: line 29: fg: no job control

rpm --showrc doesn't show any %py2 macros

User Icon kevin commented & provided feedback 6 years ago

Make sure you have epel-rpm-macros installed (latest version) and it should have the py2_* macros. ;)

This update has reached 14 days in testing and can be pushed to stable now if the maintainer wishes

6 years ago

This update has been submitted for stable by kevin.

6 years ago

This update has been pushed to stable.

6 years ago

Please login to add feedback.

Metadata
Type
newpackage
Karma
0
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Stable by Karma
disabled
Stable by Time
disabled
Dates
submitted
6 years ago
in testing
6 years ago
in stable
6 years ago
modified
6 years ago
BZ#1275305 Please build python-flexmock for epel7
0
0
BZ#1312927 Release for EPEL7
0
0

Automated Test Results