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 828687 Details for
Bug 1034259
add python3-django-mptt subpackage
[?]
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]
git commit adding python3 subpackage
0001-added-python3-subpackage.patch (text/plain), 3.63 KB, created by
Jakub Dorňák
on 2013-11-25 14:02:44 UTC
(
hide
)
Description:
git commit adding python3 subpackage
Filename:
MIME Type:
Creator:
Jakub Dorňák
Created:
2013-11-25 14:02:44 UTC
Size:
3.63 KB
patch
obsolete
>From c2497c8bf187999e7c5da20f60092cdfeaa06490 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Jakub=20Dor=C5=88=C3=A1k?= <jdornak@redhat.com> >Date: Mon, 25 Nov 2013 14:56:02 +0100 >Subject: [PATCH] added python3 subpackage > >--- > python-django-mptt.spec | 78 ++++++++++++++++++++++++++++++++++++++++++++++++- > 1 file changed, 77 insertions(+), 1 deletion(-) > >diff --git a/python-django-mptt.spec b/python-django-mptt.spec >index b5f9afd..8aa531a 100644 >--- a/python-django-mptt.spec >+++ b/python-django-mptt.spec >@@ -1,10 +1,14 @@ >+%if 0%{?fedora} > 19 || 0%{?rhel} > 6 >+%global with_python3 1 >+%endif >+ > %global pkgname django-mptt > %global obs_ver 0.4.2-4 > > Summary: Utilities for implementing Modified Preorder Tree Traversal > Name: python-django-mptt > Version: 0.6.0 >-Release: 1%{?dist} >+Release: 2%{?dist} > License: MIT > Group: Development/Libraries > URL: http://github.com/django-mptt/django-mptt >@@ -13,9 +17,16 @@ BuildArch: noarch > > BuildRequires: python2-devel > BuildRequires: python-setuptools >+%if 0%{?with_python3} >+BuildRequires: python3-devel >+BuildRequires: python3-setuptools >+%endif > > # required for check-section > BuildRequires: python-django >+%if 0%{?with_python3} >+BuildRequires: python3-django >+%endif > > Requires: python-django > >@@ -28,24 +39,73 @@ Obsoletes: %{pkgname} < %{obs_ver} > Utilities for implementing Modified Preorder Tree Traversal (MPTT) > with your Django Model classes and working with trees of Model instances. > >+ >+%if 0%{?with_python3} >+%package -n python3-django-mptt >+Summary: Utilities for implementing Modified Preorder Tree Traversal >+Group: Development/Libraries >+ >+Requires: python3-django >+ >+%description -n python3-django-mptt >+Utilities for implementing Modified Preorder Tree Traversal (MPTT) >+with your Django Model classes and working with trees of Model instances. >+%endif >+ > %prep > %setup -q -n %{pkgname}-%{version} > #remove unnecessary language ressources: > # de dk,fr, pl > rm mptt/locale/??/LC_MESSAGES/django.po > >+%if 0%{?with_python3} >+cp -a . %{py3dir} >+%endif >+ >+ > %build > %{__python} setup.py build > >+%if 0%{?with_python3} >+pushd %{py3dir} >+%{__python3} setup.py build >+popd >+%endif # with_python3 >+ >+ > %install > %{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}" > >+%if 0%{?with_python3} >+pushd %{py3dir} >+%{__python3} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}" >+popd >+%endif # with_python3 >+ >+ > %find_lang django > >+%if 0%{?with_python3} >+# When creating Python3 package, separate lang to Python 2 and Python 3 files >+grep python3 django.lang > python3-django.lang >+grep python2 django.lang > python2-django.lang >+mv {python2-,}django.lang >+%endif # with_python3 >+ >+ > %check > cd tests > sh runtests.sh > >+%if 0%{?with_python3} >+pushd %{py3dir} >+cd tests >+sed -i s/django-admin/python3-django-admin/ runtests.sh >+sh runtests.sh >+popd >+%endif # with_python3 >+ >+ > %files -f django.lang > %doc LICENSE README.rst NOTES > %{python_sitelib}/django_mptt-%{version}-py2.*.egg-info >@@ -54,7 +114,23 @@ sh runtests.sh > %{python_sitelib}/mptt/templates > %{python_sitelib}/mptt/templatetags > >+ >+%if 0%{?with_python3} >+%files -n python3-django-mptt -f python3-django.lang >+%doc LICENSE README.rst NOTES >+%{python3_sitelib}/django_mptt-%{version}-py3.*.egg-info >+%dir %{python_sitelib}/mptt >+%{python3_sitelib}/mptt/*.py >+%{python3_sitelib}/mptt/templates >+%{python3_sitelib}/mptt/templatetags >+%{python3_sitelib}/mptt/__pycache__ >+%endif # with_python3 >+ >+ > %changelog >+* Mon Nov 25 2013 Jakub DorÅák <jdornak@redhat.com> - 0.6.0-2 >+- added python3 subpackage >+ > * Mon Aug 19 2013 Matthias Runge <mrunge@redhat.com> - 0.6.0-1 > - update to 0.6.0 > - fix ftbfs >-- >1.8.4.2 >
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 1034259
: 828687