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 859556 Details for
Bug 1061622
python-jsonpointer: please package for python 3
[?]
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]
proposed patch to enable python3 subpackage
python3-support.patch (text/plain), 2.17 KB, created by
Thomas Spura
on 2014-02-05 09:34:22 UTC
(
hide
)
Description:
proposed patch to enable python3 subpackage
Filename:
MIME Type:
Creator:
Thomas Spura
Created:
2014-02-05 09:34:22 UTC
Size:
2.17 KB
patch
obsolete
>diff --git a/python-jsonpointer.spec b/python-jsonpointer.spec >index 45f15f5..71faa0e 100644 >--- a/python-jsonpointer.spec >+++ b/python-jsonpointer.spec >@@ -3,9 +3,13 @@ > %global commit c1ec3dfd171b242e23b3fe078a99f0e23fb0c6ea > %global shortcommit %(c=%{commit}; echo ${c:0:7}) > >+%if 0%{?fedora} > 12 >+ %global with_python3 1 >+%endif >+ > Name: python-%{pypi_name} > Version: 1.0 >-Release: 2%{?dist} >+Release: 3%{?dist} > Summary: Resolve JSON Pointers in Python > > License: BSD >@@ -15,20 +19,51 @@ Source0: https://github.com/stefankoegl/%{github_name}/archive/%{commit}/ > > BuildArch: noarch > BuildRequires: python2-devel >+%if 0%{?with_python3} >+BuildRequires: python3-devel >+%endif > > %description > Library to resolve JSON Pointers according to RFC 6901. > >+%if 0%{?with_python3} >+%package -n python3-%{pypi_name} >+Summary: Resolve JSON Pointers in Python >+%description -n python3-%{pypi_name} >+Library to resolve JSON Pointers according to RFC 6901. >+%endif >+ > %prep > %setup -qn %{github_name}-%{commit} >+%if 0%{?with_python3} >+rm -rf %{py3dir} >+cp -ar . %{py3dir} >+%endif > > %build > %{__python} setup.py build >+%if 0%{?with_python3} >+pushd %{py3dir} >+LC_ALL=en_US.UTF-8 \ >+ %{__python3} setup.py build >+popd >+%endif > > %install >+%if 0%{?with_python3} >+pushd %{py3dir} >+LC_ALL=en_US.UTF-8 \ >+ %{__python3} setup.py install --skip-build --root %{buildroot} >+popd >+%endif > %{__python} setup.py install --skip-build --root %{buildroot} > > %check >+%if 0%{?with_python3} >+pushd %{py3dir} >+%{__python3} tests.py >+popd >+%endif > %{__python} tests.py > > %files >@@ -36,7 +71,18 @@ Library to resolve JSON Pointers according to RFC 6901. > %{python_sitelib}/%{pypi_name}.py* > %{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info > >+%if 0%{?with_python3} >+%files -n python3-%{pypi_name} >+%doc README.md COPYING AUTHORS >+%{python3_sitelib}/__pycache__/* >+%{python3_sitelib}/%{pypi_name}.py* >+%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info >+%endif >+ > %changelog >+* Wed Feb 5 2014 Thomas Spura <tomspur@fedoraproject.org> - 1.0-3 >+- add python3 subpackage (#1061622) >+ > * Thu Sep 05 2013 Alan Pevec <apevec@gmail.com> - 1.0-2 > - add AUTHORS to docs >
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 1061622
: 859556