[Bug 1070941] Review Request: python-svgwrite - python library to create svg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1070941



--- Comment #1 from Christopher Meng <cickumqt@xxxxxxxxx> ---
1. From https://pypi.python.org/pypi/svgwrite/, this package supports python3,
please enable python3 subpackage.

2. %{__python} --> %{__python2}, %{python_sitelib} --> %{python2_sitelib}

3. After you create python3 package change the %summary and %description, e.g.:

python2 one:

Summary:        A Python library to create SVG drawings

to

Summary:        Python 2 library to create SVG drawings

---

python3 one:

Summary:        A Python library to create SVG drawings

to

Summary:        Python 3 library to create SVG drawings

4. %{buildroot}/$RPM_BUILD_ROOT? No, you should use only one of them in the
spec, please choose.

5. %{python_sitelib}/svgwrite-1.1.3-py2.7.egg-info

Well, except that unversioned python2 macro, I see this:

1.1.3-py2.7

You can change like:

%{version}-py%{python2_version}

6. Remove this line:

%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from
distutils.sysconfig import get_python_lib; print(get_python_lib())")}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]