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 698278 Details for
Bug 911933
python-dns package does not include the python3 version
[?]
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]
Add python3-dns subpackage
0002-Add-python3-dns-subpackage.patch (text/plain), 6.99 KB, created by
Jamie Nguyen
on 2013-02-16 20:27:03 UTC
(
hide
)
Description:
Add python3-dns subpackage
Filename:
MIME Type:
Creator:
Jamie Nguyen
Created:
2013-02-16 20:27:03 UTC
Size:
6.99 KB
patch
obsolete
>From fb75d93b3433038a47ccbe0b6d9252dc1d98f374 Mon Sep 17 00:00:00 2001 >From: Jamie Nguyen <j@jamielinux.com> >Date: Sat, 16 Feb 2013 07:52:13 +0000 >Subject: [PATCH 2/2] Add python3-dns subpackage > >--- > .gitignore | 12 ++----- > dnspython-1.10.0.tar.gz.asc | 11 ++++++ > dnspython3-1.10.0.tar.gz.asc | 11 ++++++ > python-dns.spec | 83 ++++++++++++++++++++++++++++++++++++++++++-- > sources | 4 +-- > 5 files changed, 106 insertions(+), 15 deletions(-) > create mode 100644 dnspython-1.10.0.tar.gz.asc > create mode 100644 dnspython3-1.10.0.tar.gz.asc > >diff --git a/.gitignore b/.gitignore >index 9764ece..9a6cb2e 100644 >--- a/.gitignore >+++ b/.gitignore >@@ -1,12 +1,4 @@ >-dnspython-1.8.0.tar.gz >-dnspython-1.8.0.tar.gz.asc >-/dnspython-1.9.1.tar.gz >-/dnspython-1.9.1.tar.gz.asc >-/dnspython-1.9.2.tar.gz >-/dnspython-1.9.2.tar.gz.asc >-/dnspython-1.9.3.tar.gz >-/dnspython-1.9.3.tar.gz.asc >-/dnspython-1.9.4.tar.gz >-/dnspython-1.9.4.tar.gz.asc > /dnspython-1.10.0.tar.gz > /dnspython-1.10.0.tar.gz.asc >+/dnspython3-1.10.0.tar.gz >+/dnspython3-1.10.0.tar.gz.asc >diff --git a/dnspython-1.10.0.tar.gz.asc b/dnspython-1.10.0.tar.gz.asc >new file mode 100644 >index 0000000..559ff02 >--- /dev/null >+++ b/dnspython-1.10.0.tar.gz.asc >@@ -0,0 +1,11 @@ >+-----BEGIN PGP SIGNATURE----- >+Version: GnuPG v2.0.19 (Darwin) >+ >+iQEUAwUAT4Gp63249fb/9dHeAQLoSwf2O2d4uidkvPy+EHwp0ysojUnSQ7vNyc0k >+8dLZuBXiDXXU2ScftIDtkFaJHKY0hQ16GahzscKuVa8iB+/9//G0xhUtkUmBSEAs >++Q/yLhwZyCYP78FHHrD8THvgfHZTjeLabFGy9IhRP4CuqXLp5vfnLg3U8dk0bskF >+Dze/rrfN+qHr8wSEV/3OTSqPbB+QvsIlSLGlkg50dPJmBDURs0Pt5zHcuxdbhIzx >+ThLVOLxj9JfgGiXVyO4VCD5gIA6M7PDiVthU026i1ODfgN+ad5vyPOvNepAzDXl6 >+KMwWHoWb6KC5Mci5G++j6Fpzp/UuHBjrfExbKhD/MdfKc9ccLPNb >+=l1Ls >+-----END PGP SIGNATURE----- >diff --git a/dnspython3-1.10.0.tar.gz.asc b/dnspython3-1.10.0.tar.gz.asc >new file mode 100644 >index 0000000..2991d5d >--- /dev/null >+++ b/dnspython3-1.10.0.tar.gz.asc >@@ -0,0 +1,11 @@ >+-----BEGIN PGP SIGNATURE----- >+Version: GnuPG v2.0.19 (Darwin) >+ >+iQEVAwUAT4GrMH249fb/9dHeAQLokAf8DsBlgFjSqjAF9k41ysbDObrTwMYGy8Zk >+5CdMyGdI7AGBhZsTC9LByWwtd62Ra2A48uXeZ4cFASs5yodOZ6Y7jPAJagMzSNo9 >+jiOEL/aAjTv0wcOqpi6d9gl/meBTfIcjDYyrMpKEgUkdPY/VkWkWtZFUjpyFv+lG >+8MMrQie9qNOU2hiStFxd8+PqcceAKC5P+P4nsafS4bUSTD0Apo4DDzcw3Z8X4O7V >+UO9QHPGet7Z5QASH3YUkIunWFL2J5/TGiKwtSrDvwdvoX8eP48wBO8RUy3SCSoHP >+19k98dWaDnSyUn4FKfkr+Q3JIo1PYfhQBMHgSbX8LnXYR12URQFbLw== >+=ZD+e >+-----END PGP SIGNATURE----- >diff --git a/python-dns.spec b/python-dns.spec >index 4dca6f3..b2a1740 100644 >--- a/python-dns.spec >+++ b/python-dns.spec >@@ -1,8 +1,12 @@ >-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} >+%if 0%{?fedora} > 12 >+%global with_python3 1 >+%else >+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")} >+%endif > > Name: python-dns > Version: 1.10.0 >-Release: 2%{?dist} >+Release: 3%{?dist} > Summary: DNS toolkit for Python > > Group: Development/Languages >@@ -10,6 +14,8 @@ License: MIT > URL: http://www.dnspython.org/ > Source0: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz > Source1: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz.asc >+Source2: http://www.dnspython.org/kits3/%{version}/dnspython3-%{version}.tar.gz >+Source3: http://www.dnspython.org/kits3/%{version}/dnspython3-%{version}.tar.gz.asc > Patch1: dnspython-1.10.1-tlsa.patch > BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) > >@@ -20,6 +26,11 @@ BuildRequires: python-setuptools-devel > BuildRequires: python-setuptools > %endif > >+%if 0%{?with_python3} >+BuildRequires: python3-devel >+BuildRequires: python3-setuptools >+%endif >+ > %description > dnspython is a DNS toolkit for Python. It supports almost all record > types. It can be used for queries, zone transfers, and dynamic >@@ -30,21 +41,61 @@ level classes perform queries for data of a given name, type, and > class, and return an answer set. The low level classes allow direct > manipulation of DNS zones, messages, names, and records. > >+ >+%if 0%{?with_python3} >+%package -n python3-dns >+Summary: DNS toolkit for Python 3 >+Group: Development/Languages >+ >+%description -n python3-dns >+dnspython3 is a DNS toolkit for Python 3. It supports almost all record >+types. It can be used for queries, zone transfers, and dynamic >+updates. It supports TSIG authenticated messages and EDNS0. >+ >+dnspython3 provides both high and low level access to DNS. The high >+level classes perform queries for data of a given name, type, and >+class, and return an answer set. The low level classes allow direct >+manipulation of DNS zones, messages, names, and records. >+%endif >+ >+ > %prep >-%setup0 -q -n dnspython-%{version} >+%setup -q -n dnspython-%{version} >+%setup -T -D -a 2 -q -n dnspython-%{version} > %patch1 -p1 -b .tlsa > >+%if 0%{?with_python3} >+rm -rf %{py3dir} >+cp -a dnspython3-%{version} %{py3dir} >+%endif >+ > # strip executable permissions so that we don't pick up dependencies > # from documentation > find examples -type f | xargs chmod a-x > >+ > %build > CFLAGS="%{optflags}" %{__python} -c 'import setuptools; execfile("setup.py")' build > >+%if 0%{?with_python3} >+pushd %{py3dir} >+CFLAGS="%{optflags}" %{__python3} setup.py build >+popd >+%endif >+ >+ > %install > rm -rf %{buildroot} > %{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root %{buildroot} > >+%if 0%{?with_python3} >+pushd %{py3dir} >+%{__python3} -c 'import setuptools; exec(open("setup.py").read())' install \ >+ --skip-build --root %{buildroot} >+popd >+%endif >+ >+ > %check > pushd tests > # skip one test because it queries the network >@@ -56,6 +107,19 @@ do > fi > done > >+%if 0%{?with_python3} >+pushd %{py3dir}/tests >+for py in *.py >+do >+ if [ $py != resolver.py ] >+ then >+ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} $py >+ fi >+done >+popd >+%endif >+ >+ > %clean > rm -rf %{buildroot} > >@@ -66,7 +130,20 @@ rm -rf %{buildroot} > %{python_sitelib}/*egg-info > %{python_sitelib}/dns > >+%if 0%{?with_python3} >+%files -n python3-dns >+%defattr(-,root,root,-) >+%doc dnspython3-%{version}/{ChangeLog,LICENSE,README,examples} >+ >+%{python3_sitelib}/*egg-info >+%{python3_sitelib}/dns >+%endif >+ >+ > %changelog >+* Sat Feb 16 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1.10.0-3 >+- add python3-dns subpackage >+ > * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-2 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild > >diff --git a/sources b/sources >index 7e5c15d..de8d0da 100644 >--- a/sources >+++ b/sources >@@ -1,4 +1,4 @@ >-8a89b7865251c4e9d8ec2f8cc9f8cd78 dnspython-1.9.4.tar.gz >-413d7fc295c6bf03f872938731919c95 dnspython-1.9.4.tar.gz.asc > b4f60852fd7ba64fc7c3a1fa239eba33 dnspython-1.10.0.tar.gz > 81d7579e66ca37d0b03dce051b60324d dnspython-1.10.0.tar.gz.asc >+17d0ec54f83df3e95846fc4e20224a96 dnspython3-1.10.0.tar.gz >+d5534b68ef5fc8c9b68fed019bc148d5 dnspython3-1.10.0.tar.gz.asc >-- >1.8.1.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 911933
:
698277
| 698278