Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 859559 Details for
Bug 1016466
please build python3 subpackage of python-path
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
built python3 package
python3-support.patch (text/plain), 2.37 KB, created by
Thomas Spura
on 2014-02-05 10:00:17 UTC
(
hide
)
Description:
built python3 package
Filename:
MIME Type:
Creator:
Thomas Spura
Created:
2014-02-05 10:00:17 UTC
Size:
2.37 KB
patch
obsolete
>diff --git a/python-path.spec b/python-path.spec >index 02df14e..46e33fa 100644 >--- a/python-path.spec >+++ b/python-path.spec >@@ -1,9 +1,13 @@ > %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} > %global bname path > >+%if 0%{?fedora} > 12 >+ %global with_python3 1 >+%endif >+ > Name: python-%{bname} > Version: 4.3 >-Release: 1%{?dist} >+Release: 2%{?dist} > Summary: A python module wrapper for os.path > > License: MIT >@@ -12,6 +16,9 @@ Source0: https://pypi.python.org/packages/source/p/path.py/%{bname}.py-%{ > > BuildArch: noarch > BuildRequires: python2-devel >+%if 0%{?with_python3} >+BuildRequires: python3-devel >+%endif > > %description > path.py implements a path objects as first-class entities, >@@ -20,18 +27,49 @@ allowing common operations on files to be invoked on those path objects directly > See documentation here http://amoffat.github.io/sh/. > > >+%if 0%{?with_python3} >+%package -n python3-%{bname} >+Summary: A python module wrapper for os.path >+%description -n python3-%{bname} >+path.py implements a path objects as first-class entities, >+allowing common operations on files to be invoked on those path objects directly. >+ >+See documentation here http://amoffat.github.io/sh/. >+%endif >+ >+ > %prep > %setup -q -n %{bname}.py-%{version} > >+%if 0%{?with_python3} >+rm -rf %{py3dir} >+cp -ar . %{py3dir} >+%endif >+ > > %build >+%if 0%{?with_python3} >+pushd %{py3dir} >+%{__python3} setup.py build >+popd >+%endif > %{__python} setup.py build > > %check >+%if 0%{?with_python3} >+pushd %{py3dir} >+%{__python3} test_path.py >+popd >+%endif > %{__python} test_path.py > > %install > rm -rf $RPM_BUILD_ROOT >+%if 0%{?with_python3} >+pushd %{py3dir} >+%{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT >+popd >+%endif > %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT > > >@@ -39,8 +77,19 @@ rm -rf $RPM_BUILD_ROOT > %doc CHANGES.rst README.rst > %{python_sitelib}/* > >+%if 0%{?with_python3} >+%files -n python3-%{bname} >+%doc CHANGES.rst README.rst >+%{python3_sitelib}/__pycache__/* >+%{python3_sitelib}/path.py* >+%{python3_sitelib}/test_path.py >+%endif >+ > > %changelog >+* Wed Feb 5 2014 Thomas Spura <tomspur@fedoraproject.org> - 4.3-2 >+- add python3 subpackage >+ > * Fri Jul 26 2013 Xavier Lamien <laxathom@fedoraproject.org> - 4.3-1 > - Upstream release. >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1016466
: 859559