Browse Source

new: python-cryptography and requirements

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11921 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 5 years ago
parent
commit
832c5fff80

+ 132 - 0
p/python-asn1crypto/python-asn1crypto-vl.spec

@@ -0,0 +1,132 @@
+# Created by pyp2rpm-3.2.2
+%global pypi_name asn1crypto
+
+%bcond_without python2
+%bcond_without python3
+
+%{!?python3_pkgversion:%global python3_pkgversion 3}
+
+Name:           python-%{pypi_name}
+Version:        0.24.0
+Release:        6%{?_dist_release}
+Summary:        Fast Python ASN.1 parser and serializer
+
+License:        MIT
+URL:            https://github.com/wbond/asn1crypto
+
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+Source0:        https://files.pythonhosted.org/packages/source/a/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
+BuildArch:      noarch
+
+%if 0%{?with_python2}
+BuildRequires:  python-rpm-macros
+BuildRequires:  python-devel
+BuildRequires:  python-setuptools
+%{?python_provide:%python_provide python2-%{pypi_name}}
+%endif
+%if 0%{?with_python3}
+BuildRequires:  python%{python3_pkgversion}-rpm-macros
+BuildRequires:  python%{python3_pkgversion}-devel
+BuildRequires:  python%{python3_pkgversion}-setuptools
+%endif
+
+%description
+Fast ASN.1 parser and serializer with definitions for private keys,
+public keys, certificates, CRL, OCSP, CMS, PKCS#3, PKCS#7, PKCS#8,
+PKCS#12, PKCS#5, X.509 and TSP.
+
+%if 0%{?with_python3}
+%package -n     python%{python3_pkgversion}-%{pypi_name}
+Summary:        %{summary}
+%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
+
+%description -n python%{python3_pkgversion}-%{pypi_name}
+Fast ASN.1 parser and serializer with definitions for private keys,
+public keys, certificates, CRL, OCSP, CMS, PKCS#3, PKCS#7, PKCS#8,
+PKCS#12, PKCS#5, X.509 and TSP.
+%endif
+
+%prep
+%autosetup -n %{pypi_name}-%{version}
+# Remove bundled egg-info
+rm -rf %{pypi_name}.egg-info
+
+%build
+%if 0%{?with_python2}
+%py_build
+%endif
+%if 0%{?with_python3}
+%py3_build
+%endif
+
+%install
+%if 0%{?with_python2}
+%py_install
+%endif
+%if 0%{?with_python3}
+%py3_install
+%endif
+
+
+%check
+# asn1crypto source distribution doesn't come with tests
+# {__python2} setup.py test
+%if 0%{?with_python3}
+# {__python3} setup.py test
+%endif
+
+%if 0%{?with_python2}
+%files
+%doc
+%{python_sitelib}/%{pypi_name}
+%{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
+%endif
+
+%if 0%{?with_python3}
+%files -n python%{python3_pkgversion}-%{pypi_name}
+%doc
+%{python3_sitelib}/%{pypi_name}
+%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
+%endif
+
+%changelog
+* Mon Nov 19 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.24.0-6
+- initial build for Vine Linux.
+
+* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.24.0-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 0.24.0-4
+- Rebuilt for Python 3.7
+
+* Tue Jun 19 2018 Christian Heimes <cheimes@redhat.com> - 0.24.0-3
+- Build Python 2 package conditionally
+
+* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 0.24.0-2
+- Rebuilt for Python 3.7
+
+* Wed Mar 21 2018 Christian Heimes <cheimes@redhat.com> - 0.24.0-1
+- New upstream release 0.24.0
+
+* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.23.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Thu Oct 12 2017 Christian Heimes <cheimes@redhat.com> - 0.23-1
+- New upstream release 0.23.0
+
+* Fri Aug 04 2017 Christian Heimes <cheimes@redhat.com> - 0.22.0-5
+- Use python2-setuptools, add with_python3
+
+* Thu Aug 03 2017 Christian Heimes <cheimes@redhat.com> - 0.22.0-4
+- Modernize spec
+
+* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Tue Jun 27 2017 Christian Heimes <cheimes@redhat.com> - 0.22.0-2
+- Address rpmlint issues
+
+* Tue Jun 27 2017 Christian Heimes <cheimes@redhat.com> - 0.22.0-1
+- Initial package.

+ 224 - 0
p/python-cffi/python-cffi-vl.spec

@@ -0,0 +1,224 @@
+Name:           python-cffi
+Version:        1.11.5
+Release:        7%{?_dist_release}
+Summary:        Foreign Function Interface for Python to call C code
+Group:          Development/Libraries
+License:        MIT
+URL:            http://cffi.readthedocs.org/
+Vendor:         Project Vine
+Distribution:   Vine Linux
+Source0:        cffi-%{version}.tar.gz
+
+BuildRequires:  libffi-devel
+BuildRequires:  gcc
+
+# For tests:
+BuildRequires:  gcc-c++
+
+BuildRequires:  python-rpm-macros
+BuildRequires:  python-devel
+BuildRequires:  python-setuptools
+BuildRequires:  python-pycparser
+
+BuildRequires:  python3-rpm-macros
+BuildRequires:  python3-devel
+BuildRequires:  python3-setuptools
+BuildRequires:  python3-pycparser
+
+%{?python_provide:%python_provide python2-cffi}
+
+%?python_enable_dependency_generator
+
+%description
+Foreign Function Interface for Python, providing a convenient and
+reliable way of calling existing C code from Python. The interface is
+based on LuaJIT’s FFI.
+
+%package -n python3-cffi
+Summary:        Foreign Function Interface for Python 3 to call C code
+%{?python_provide:%python_provide python3-cffi}
+
+%description -n python3-cffi
+Foreign Function Interface for Python, providing a convenient and
+reliable way of calling existing C code from Python. The interface is
+based on LuaJIT’s FFI.
+
+%prep
+%autosetup -n cffi-%{version}
+
+%build
+%py_build
+%py3_build
+
+%install
+%py_install
+%py3_install
+
+%files
+%doc PKG-INFO
+%license LICENSE
+%{python_sitearch}/cffi/
+%{python_sitearch}/_cffi_backend.so
+%{python_sitearch}/cffi-%{version}-py%{python_version}.egg-info/
+
+%files -n python3-cffi
+%doc PKG-INFO
+%license LICENSE
+%{python3_sitearch}/cffi/
+%{python3_sitearch}/_cffi_backend.*.so
+%{python3_sitearch}/cffi-%{version}-py%{python3_version}.egg-info/
+
+%changelog
+* Mon Nov 19 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.11.5-7
+- initial build for Vine Linux.
+
+* Wed Aug 22 2018 Miro Hrončok <mhroncok@redhat.com> - 1.11.5-6
+- Fix FTBFS (#1605627)
+
+* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.5-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 1.11.5-4
+- Rebuilt for Python 3.7
+
+* Fri May 25 2018 Gwyn Ciesla <limburgher@gmail.com> - 1.11.5-3
+- Disable tests to fix mock-only FTBFS.
+
+* Fri Mar 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.11.5-2
+- Update Python 2 dependency declarations to new packaging standards
+  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
+
+* Fri Mar 02 2018 John Dulaney <jdulaney@Fedoraproject.org> - 1.11.2-1
+- New release 1.11.5
+
+* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.11.2-3
+- Escape macros in %%changelog
+
+* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.2-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Thu Oct 19 2017 John Dulaney <jdulaney@Fedoraproject.org> - 1.11.2-1
+- New release 1.11.0
+- Fix %%check
+
+* Wed Sep 27 2017 Troy Dawson <tdawson@redhat.com> - 1.11.0-2
+- Cleanup spec file conditionals
+
+* Sat Sep 23 2017 John Dulaney <jdulaney@Fedoraproject.org> - 1.11.0-1
+- New release 1.11.0
+
+* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
+* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Tue Apr 04 2017 John Dulaney <jdulaney@Fedoraproject.org> - 1.10.0-1
+- New release 1.10.0
+
+* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Sat Jan 07 2017 John Dulaney <jdulaney@Fedoraproject.org> - 1.9.1-1
+- Update to latest upstream 1.9.1
+
+* Fri Jan 6 2017 Orion Poplawski <orion@cora.nwra.com> - 1.8.3-4
+- Modernize spec
+
+* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.8.3-3
+- Rebuild for Python 3.6
+- Disable test dependencies
+
+* Thu Nov 03 2016 John Dulaney <jdulaney@Fedoraproject.org> - 1.8.3-2
+- Re-disable check
+
+* Sun Sep 18 2016 John Dulaney <jdulaney@Fedoraproject.org> - 1.8.3-1
+- Update to 1.8.3
+- Reenable check
+
+* Wed Sep 07 2016 John Dulaney <jdulaney@fedoraproject.org> - 1.8.2-1
+- Update to 1.8.2
+
+* Tue Aug 09 2016 Nathaniel McCallum <npmccallum@redhat.com> - 1.7.0-3
+- Record installed files
+
+* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-2
+- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
+
+* Thu Jun 23 2016 John Dulaney <jdulaney@fedoraproject.org> - 1.7.0-1
+- Update to 1.7.0
+
+* Thu Apr 28 2016 John Dulaney <jdulaney@fedoraproject.org> - 1.6.0-3
+- Switch Source0 to using pypi.io
+
+* Thu Apr 28 2016 John Dulaney <jdulaney@fedoraproject.org> - 1.6.0-2
+- Update Source0 URL to account for pypi change
+
+* Thu Apr 21 2016 John Dulaney <jdulaney@fedoraproject.org> - 1.6.0-1
+- Update to 1.6.0 (#1329203)
+
+* Mon Feb 15 2016 John Dulaney <jdulaney@fedoraproject.org> - 1.5.2-1
+- Update to 1.5.2 (#1299272)
+
+* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Mon Jan 18 2016 Nathaniel McCallum <npmccallum@redhat.com> - 1.5.0-1
+- Update to 1.5.0 (#1299272)
+
+* Mon Jan 11 2016 Nathaniel McCallum <npmccallum@redhat.com> - 1.4.2-2
+- Move python-cffi => python2-cffi
+
+* Tue Dec 22 2015 John Dulaney <jdulaney@fedoraproject.org> - 1.4.2-1
+- Update to 1.4.2 (#1293504)
+
+* Thu Dec 17 2015 John Dulaney <jdulaney@fedoraproject.org> - 1.4.1-1
+- Update to latest upstream release
+
+* Fri Dec 11 2015 John Dulaney <jdulaney@fedoraproject.org> - 1.3.1-1
+- Update to latest upstream release
+
+* Tue Oct 13 2015 Robert Kuska <rkuska@redhat.com> - 1.1.2-4
+- Rebuilt for Python3.5 rebuild
+
+* Wed Jul 15 2015 Parag Nemade <pnemade AT redhat DOT com> - 1.1.2-3
+- Modernize spec file
+- add missing source
+
+* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Tue Jun 16 2015 Nathaniel McCallum <npmccallum@redhat.com> - 1.1.2-2
+- Update to 1.1.2
+- Fix license
+
+* Tue Aug 19 2014 Eric Smith <spacewar@gmail.com> 0.8.6-1
+- Update to latest upstream.
+- No python3 in el7.
+
+* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Mon May 12 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.8.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
+
+* Wed Feb 26 2014 Eric Smith <spacewar@gmail.com> 0.8.1-1
+- Update to latest upstream.
+
+* Tue Aug 13 2013 Eric Smith <spacewar@gmail.com> 0.6-5
+- Add Requires of python{,3}-pycparser.
+
+* Thu Jul 25 2013 Eric Smith <spacewar@gmail.com> 0.6-4
+- Fix broken conditionals in spec (missing question marks), needed for el6.
+
+* Tue Jul 23 2013 Eric Smith <spacewar@gmail.com> 0.6-3
+- Add Python3 support.
+
+* Mon Jul 22 2013 Eric Smith <spacewar@gmail.com> 0.6-2
+- Better URL, and use version macro in Source0.
+
+* Sun Jul 21 2013 Eric Smith <spacewar@gmail.com> 0.6-1
+- initial version

+ 305 - 0
p/python-cryptography/python-cryptography-vl.spec

@@ -0,0 +1,305 @@
+%global with_python3 1
+%{!?__python2: %global __python2 /usr/bin/python}
+%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+
+%{!?python3_pkgversion:%global python3_pkgversion 3}
+
+%global srcname cryptography
+
+Name:           python-%{srcname}
+Version:        2.4.1
+Release:        1%{?_dist_release}
+Summary:        PyCA's cryptography library
+
+Group:          Development/Libraries
+License:        ASL 2.0 or BSD
+URL:            https://cryptography.io/en/latest/
+
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+Source0:        https://pypi.io/packages/source/c/%{srcname}/%{srcname}-%{version}.tar.gz
+
+Requires:       openssl
+Requires:       python-idna >= 2.1
+Requires:       python-asn1crypto >= 0.21
+Requires:       python-six >= 1.4.1
+Requires:       python-cffi >= 1.7
+Requires:       python-enum34
+Requires:       python-ipaddress
+
+BuildRequires:  openssl-devel
+BuildRequires:  gcc
+
+BuildRequires:  python-rpm-macros
+BuildRequires:  python-devel
+BuildRequires:  python-setuptools
+BuildRequires:  python-asn1crypto >= 0.21
+
+BuildRequires:  python-idna >= 2.1
+BuildRequires:  python-six >= 1.4.1
+BuildRequires:  python-cffi >= 1.7
+BuildRequires:  python-enum34
+BuildRequires:  python-ipaddress
+
+%if 0%{?with_python3}
+BuildRequires:  python%{python3_pkgversion}-rpm-macros
+BuildRequires:  python%{python3_pkgversion}-devel
+BuildRequires:  python%{python3_pkgversion}-setuptools
+BuildRequires:  python%{python3_pkgversion}-asn1crypto >= 0.21
+
+BuildRequires:  python%{python3_pkgversion}-idna >= 2.1
+BuildRequires:  python%{python3_pkgversion}-six >= 1.4.1
+BuildRequires:  python%{python3_pkgversion}-cffi >= 1.7
+%endif
+
+%description
+cryptography is a package designed to expose cryptographic primitives and
+recipes to Python developers.
+
+%if 0%{?with_python3}
+%{?python_provide:%python_provide python2-%{srcname}}
+%else
+Provides:       python-%{srcname}
+%endif
+
+%if 0%{?with_python3}
+%package -n  python%{python3_pkgversion}-%{srcname}
+Group:          Development/Libraries
+Summary:        PyCA's cryptography library
+%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
+
+Requires:       openssl
+Requires:       python%{python3_pkgversion}-idna >= 2.1
+Requires:       python%{python3_pkgversion}-asn1crypto >= 0.21
+Requires:       python%{python3_pkgversion}-six >= 1.4.1
+Requires:       python%{python3_pkgversion}-cffi >= 1.7
+
+%description -n python%{python3_pkgversion}-%{srcname}
+cryptography is a package designed to expose cryptographic primitives and
+recipes to Python developers.
+%endif
+
+%prep
+%autosetup -p1 -n %{srcname}-%{version}
+
+%if 0%{?with_python3}
+rm -rf %{py3dir}
+cp -a . %{py3dir}
+find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!/usr/bin/python|#!%{__python3}|'
+%endif
+
+%build
+%if 0%{?with_python3}
+%py_build
+pushd %{py3dir}
+%py3_build
+popd
+%else
+%{__python} setup.py build
+%endif # with_python3
+
+%install
+# Actually other *.c and *.h are appropriate
+# see https://github.com/pyca/cryptography/issues/1463
+find . -name .keep -print -delete
+
+%if 0%{?with_python3}
+%py_install
+pushd %{py3dir}
+%py3_install
+popd
+%else
+%{__python} setup.py install --skip-build --prefix=%{_prefix} --root %{buildroot}
+%endif # with_python3
+
+
+%check
+# workaround for pytest 3.2.0 bug https://github.com/pytest-dev/pytest/issues/2644
+rm -f tests/hazmat/primitives/test_padding.py
+#%{__python} setup.py test
+
+%if 0%{?with_python3}
+pushd %{py3dir}
+# workaround for pytest 3.2.0 bug https://github.com/pytest-dev/pytest/issues/2644
+rm -f tests/hazmat/primitives/test_padding.py
+#%{__python3} setup.py test
+popd
+%endif
+
+
+%files
+%doc LICENSE LICENSE.APACHE LICENSE.BSD README.rst docs
+%{python2_sitearch}/%{srcname}
+%{python2_sitearch}/%{srcname}-%{version}-py*.egg-info
+
+
+%if 0%{?with_python3}
+%files -n python%{python3_pkgversion}-%{srcname}
+%doc README.rst docs
+%license LICENSE LICENSE.APACHE LICENSE.BSD
+%{python3_sitearch}/*
+%{python3_sitearch}/%{srcname}-%{version}-py*.egg-info
+%endif
+
+
+%changelog
+* Mon Nov 19 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.4.1-1
+- initial build for Vine Linux.
+- new upstream release.
+
+* Mon Aug 13 2018 Christian Heimes <cheimes@redhat.com> - 2.3-2
+- Use TLSv1.2 in test as workaround for RHBZ#1615143
+
+* Wed Jul 18 2018 Christian Heimes <cheimes@redhat.com> - 2.3-1
+- New upstream release 2.3
+- Fix AEAD tag truncation bug, RHBZ#1602752
+
+* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 2.2.1-2
+- Rebuilt for Python 3.7
+
+* Wed Mar 21 2018 Christian Heimes <cheimes@redhat.com> - 2.2.1-1
+- New upstream release 2.2.1
+
+* Sun Feb 18 2018 Christian Heimes <cheimes@redhat.com> - 2.1.4-1
+- New upstream release 2.1.4
+
+* Sun Feb 18 2018 Christian Heimes <cheimes@redhat.com> - 2.1.3-4
+- Build requires gcc
+
+* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.1.3-3
+- Update Python 2 dependency declarations to new packaging standards
+  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
+
+* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Thu Nov 23 2017 Haïkel Guémar <hguemar@fedoraproject.org> - 2.1.3-1
+- Upstream 2.1.3
+
+* Tue Oct 24 2017 Christian Heimes <cheimes@redhat.com> - 2.1-2
+- Change Requires to openssl-libs
+
+* Thu Oct 12 2017 Christian Heimes <cheimes@redhat.com> - 2.1-1
+- New upstream release 2.1
+
+* Wed Sep 27 2017 Troy Dawson <tdawson@redhat.com> - 2.0.2-3
+- Cleanup spec file conditionals
+
+* Thu Aug 03 2017 Christian Heimes <cheimes@redhat.com> - 2.0.2-2
+- Add workaround for pytest bug
+
+* Thu Aug 03 2017 Christian Heimes <cheimes@redhat.com> - 2.0.2-1
+- New upstream release 2.0.2
+- Modernize spec
+
+* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
+* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Tue Jun 27 2017 Christian Heimes <cheimes@redhat.com> - 1.9-1
+- Upstream release 1.9
+
+* Wed Feb 15 2017 Christian Heimes <cheimes@redhat.com> - 1.7.2-1
+- Update to latest upstream
+
+* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Thu Jan 05 2017 Matěj Cepl <mcepl@redhat.com> - 1.7.1-1
+- Update to the latest upstream.
+- Add a patch from https://github.com/pyca/cryptography/pull/3328
+
+* Tue Dec 13 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.5.3-5
+- Enable tests
+
+* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.5.3-4
+- Rebuild for Python 3.6
+- Disable python3 tests for now
+
+* Thu Nov 10 2016 Nathaniel McCallum <npmccallum@redhat.com> - 1.5.3-3
+- Revert previous change
+
+* Thu Nov 10 2016 Nathaniel McCallum <npmccallum@redhat.com> - 1.5.3-2
+- Disable tests on releases earlier than 24
+
+* Mon Nov 07 2016 Nathaniel McCallum <npmccallum@redhat.com> - 1.5.3-1
+- Update to v1.5.3
+- Update source URL
+- Add BR for pytz
+
+* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-4
+- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
+
+* Tue May 10 2016 Nathaniel McCallum <npmccallum@redhat.com> - 1.3.1-3
+- Remove versioned setuptools dependency
+
+* Tue May 10 2016 Nathaniel McCallum <npmccallum@redhat.com> - 1.3.1-2
+- Make it easier to build on EL7
+
+* Tue May 03 2016 Nathaniel McCallum <npmccallum@redhat.com> - 1.3.1-1
+- Update to v1.3.1
+
+* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Mon Jan 11 2016 Nathaniel McCallum <npmccallum@redhat.com> - 1.2.1-2
+- Move python-cryptograph => python2-cryptography
+
+* Sat Jan 09 2016 Nathaniel McCallum <npmccallum@redhat.com> - 1.2.1-1
+- Update to v1.2.1
+
+* Wed Nov 11 2015 Robert Kuska <rkuska@redhat.com> - 1.1-1
+- Update to v1.1
+
+* Wed Nov 04 2015 Robert Kuska <rkuska@redhat.com> - 1.0.2-2
+- Rebuilt for Python3.5 rebuild
+
+* Wed Sep 30 2015 Matěj Cepl <mcepl@redhat.com> - 1.0.2-1
+- New upstream release (fix #1267548)
+
+* Wed Aug 12 2015 Nathaniel McCallum <npmccallum@redhat.com> - 1.0-1
+- New upstream release
+
+* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Thu May 14 2015 Nathaniel McCallum <npmccallum@redhat.com> - 0.9-1
+- New upstream release
+- Run tests on RHEL
+- New deps: python-idna, python-ipaddress
+
+* Fri Apr 17 2015 Nathaniel McCallum <npmccallum@redhat.com> - 0.8.2-1
+- New upstream release
+- Add python3-pyasn1 Requires (#1211073)
+
+* Tue Apr 14 2015 Matej Cepl <mcepl@redhat.com> - 0.8-2
+- Add python-pyasn1 Requires (#1211073)
+
+* Fri Mar 13 2015 Nathaniel McCallum <npmccallum@redhat.com> - 0.8-1
+- New upstream release
+- Remove upstreamed patch
+
+* Wed Mar 04 2015 Nathaniel McCallum <npmccallum@redhat.com> - 0.7.2-2
+- Add python3-cryptography-vectors build requires
+- Add python-enum34 requires
+
+* Tue Feb 03 2015 Nathaniel McCallum <npmccallum@redhat.com> - 0.7.2-1
+- New upstream release. BSD is now an optional license.
+- Fix test running on python3
+- Add upstream patch to fix test paths
+
+* Fri Nov 07 2014 Matej Cepl <mcepl@redhat.com> - 0.6.1-2
+- Fix requires, for reasons why other development files were not
+  eliminated see https://github.com/pyca/cryptography/issues/1463.
+
+* Wed Nov 05 2014 Matej Cepl <mcepl@redhat.com> - 0.6.1-1
+- New upstream release.
+
+* Sun Jun 29 2014 Terry Chia <terrycwk1994@gmail.com> 0.4-1
+- initial version

+ 134 - 0
p/python-enum34/python-enum34-vl.spec

@@ -0,0 +1,134 @@
+%if 0%{?fedora} || 0%{?rhel} > 7
+# Should not build for Python 3 for Fedora releases that provide
+# Python 3.4 (Fedora 22 or higher?).
+%endif
+
+Name:           python-enum34
+Version:        1.1.6
+Release:        8%{?_dist_release}
+Group:          Development/Libraries
+Summary:        Backport of Python 3.4 Enum
+License:        BSD
+BuildArch:      noarch
+URL:            https://pypi.python.org/pypi/enum34
+
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+Source0:        https://files.pythonhosted.org/packages/source/e/enum34/enum34-%{version}.tar.gz
+
+BuildRequires:  python-devel python-setuptools
+BuildRequires:  python-rpm-macros
+
+%{?python_provide:%python_provide python2-enum34}
+
+%global _description\
+Python 3.4 introduced official support for enumerations.  This is a\
+backport of that feature to Python 3.3, 3.2, 3.1, 2.7, 2.5, 2.5, and 2.4.\
+\
+An enumeration is a set of symbolic names (members) bound to unique,\
+constant values. Within an enumeration, the members can be compared by\
+identity, and the enumeration itself can be iterated over.\
+\
+This module defines two enumeration classes that can be used to define\
+unique sets of names and values: Enum and IntEnum. It also defines one\
+decorator, unique, that ensures only unique member names are present\
+in an enumeration.\
+
+
+%description %_description
+
+
+%prep
+%setup -q -n enum34-%{version}
+
+
+%build
+%py_build
+
+%check
+pushd %{buildroot}/%{python_sitelib}
+PYTHONPATH=".:${PYTHONPATH}" %{__python} enum/test.py
+popd
+
+%install
+%py_install
+# remove docs from sitelib, we'll put them in doc dir instead
+rm -rf %{buildroot}%{python_sitelib}/enum/{LICENSE,README,doc}
+
+%files
+%license enum/LICENSE
+%doc PKG-INFO enum/README enum/doc/enum.rst
+%{python_sitelib}/*
+
+%changelog
+* Mon Nov 19 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.1.6-8
+- initial build for Vine Linux.
+
+* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.6-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Fri Apr 20 2018 Orion Poplawski <orion@nwra.com> - 1.1.6-6
+- Minor spec cleanup
+- Use %%license
+
+* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.1.6-5
+- Update Python 2 dependency declarations to new packaging standards
+  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
+
+* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.6-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.1.6-3
+- Python 2 binary package renamed to python2-enum34
+  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
+
+* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.6-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Thu Jun 15 2017 Eric Smith <brouhaha@fedoraproject.org> 1.1.6-1
+- New upstream version 1.1.6 (#1441428)
+- Update upstream tarball dir
+- Convert to newer build marcos
+- Update tests to pass in new build
+- These RPM spec changes were all provided by Greg Hellings.
+
+* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-6
+- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
+
+* Wed Feb 24 2016 Robert Kuska <rkuska@redhat.com> - 1.0.4-5
+- Remove python3 subpackage, enum34 is now provided by python3
+
+* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-3
+- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
+
+* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Wed Apr 08 2015 Eric Smith <brouhaha@fedoraproject.org> 1.0.4-1
+- Updated to latest upstream.
+
+* Mon Jul 21 2014 Matěj Cepl <mcepl@redhat.com> - 1.0-4
+- No, we don’t have python3 in RHEL-7 :'(
+
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 1.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
+
+* Mon May 26 2014 Eric Smith <brouhaha@fedoraproject.org> 1.0-1
+- Updated to latest upstream.
+
+* Mon Mar 17 2014 Eric Smith <brouhaha@fedoraproject.org> 0.9.23-1
+- Updated to latest upstream.
+- Spec updated per review comments (#1033975).
+
+* Sun Nov 24 2013 Eric Smith <brouhaha@fedoraproject.org> 0.9.19-1
+- Initial version.

+ 168 - 0
p/python-idna/python-idna-vl.spec

@@ -0,0 +1,168 @@
+%global with_python3 1
+%global srcname idna
+
+Name:           python-%{srcname}
+Version:        2.7
+Release:        4%{?_dist_release}
+Summary:        Internationalized Domain Names in Applications (IDNA)
+
+License:        BSD and Python and Unicode
+URL:            https://github.com/kjd/idna
+
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+Source0:        https://pypi.io/packages/source/i/%{srcname}/%{srcname}-%{version}.tar.gz
+BuildArch:      noarch
+
+BuildRequires:  python-rpm-macros
+BuildRequires:  python-devel
+BuildRequires:  python-setuptools
+%if 0%{?with_python3}
+BuildRequires:  python%{python3_pkgversion}-rpm-macros
+BuildRequires:  python%{python3_pkgversion}-devel
+BuildRequires:  python%{python3_pkgversion}-setuptools
+%endif # with_python3
+
+%{?python_provide:%python_provide python2-%{srcname}}
+
+%description
+A library to support the Internationalised Domain Names in Applications (IDNA)
+protocol as specified in RFC 5891 <http://tools.ietf.org/html/rfc5891>.  This
+version of the protocol is often referred to as "IDNA2008" and can produce
+different results from the earlier standard from 2003.
+
+The library is also intended to act as a suitable drop-in replacement for the
+"encodings.idna" module that comes with the Python standard library but
+currently only supports the older 2003 specification.
+
+%if 0%{?with_python3}
+%package -n python%{python3_pkgversion}-%{srcname}
+Summary:        Internationalized Domain Names in Applications (IDNA)
+%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
+
+%description -n python%{python3_pkgversion}-%{srcname}
+A library to support the Internationalised Domain Names in Applications (IDNA)
+protocol as specified in RFC 5891 <http://tools.ietf.org/html/rfc5891>.  This
+version of the protocol is often referred to as "IDNA2008" and can produce
+different results from the earlier standard from 2003.
+
+The library is also intended to act as a suitable drop-in replacement for the
+"encodings.idna" module that comes with the Python standard library but
+currently only supports the older 2003 specification.
+%endif # with_python3
+
+%prep
+%setup -q -n %{srcname}-%{version}
+# Remove bundled egg-info
+rm -rf %{srcname}.egg-info
+
+%build
+%py_build
+
+%if 0%{?with_python3}
+%py3_build
+%endif # with_python3
+
+%install
+%if 0%{?with_python3}
+%py3_install
+%endif # with_python3
+
+%py_install
+
+%check
+#{__python2} setup.py test
+
+%if 0%{?with_python3}
+#{__python3} setup.py test
+%endif # with_python3
+
+
+%files
+%license LICENSE.rst
+%doc README.rst HISTORY.rst
+%{python_sitelib}/%{srcname}
+%{python_sitelib}/%{srcname}-%{version}-py%{python_version}.egg-info
+
+%if 0%{?with_python3}
+%files -n python%{python3_pkgversion}-%{srcname}
+%license LICENSE.rst
+%doc README.rst HISTORY.rst
+%{python3_sitelib}/%{srcname}
+%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info
+%endif # with_python3
+
+%changelog
+* Mon Nov 19 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.7-4
+- initial build for Vine Linux.
+
+* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.7-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Thu Jun 14 2018 Miro Hrončok <mhroncok@redhat.com> - 2.7-2
+- Rebuilt for Python 3.7
+
+* Tue Jun 12 2018 Jeremy Cline <jeremy@jcline.org> - 2.7-1
+- Update to v2.7 (rhbz 1589803)
+
+* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Fri Jan 19 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.5-3
+- Update Python 2 dependency declarations to new packaging standards
+  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
+
+* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Tue Mar 07 2017 Jeremy Cline <jeremy@jcline.org> - 2.5-1
+- Update to version 2.5
+
+* Wed Mar 01 2017 Jeremy Cline <jeremy@jcline.org> - 2.4-1
+- Update to version 2.4
+
+* Tue Feb 28 2017 Paul Wouters <pwouters@redhat.com> - 2.3-1
+- Resolves: rhbz#1427499 Update to 2.3 for IDNAError bugfix and memory improvement
+
+* Thu Feb 09 2017 Jeremy Cline <jeremy@jcline.org> - 2.2-1
+- Update to version 2.2 (#1406757)
+
+* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.1-3
+- Rebuild for Python 3.6
+
+* Mon Nov 28 2016 Orion Poplawski <orion@cora.nwra.com> - 2.1-2
+- Ship python2-idna
+- Enable python3 for EPEL
+- Modernize spec
+
+* Mon Oct 17 2016 tom.prince@ualberta.net - 2.1-1
+- Bump version.
+
+* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-4
+- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
+
+* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Wed Nov 04 2015 Robert Kuska <rkuska@redhat.com> - 2.0-2
+- Rebuilt for Python3.5 rebuild
+
+* Thu Aug 13 2015 Paul Wouters <pwouters@redhat.com> - 2.0-1
+- Update to 2.0 which is required by python-cryptography
+
+* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Wed Dec 31 2014 tom.prince@ualberta.net - 1.0-1
+- Bump version.
+
+* Mon Oct 27 2014 tom.prince@ualberta.net - 0.8-3
+- Update licences.
+
+* Sat Jul 12 2014 tom.prince@ualberta.net - 0.8-2
+- Be more specfic about .egg-info directories.
+- Use python2-devel
+
+* Sat Jul 12 2014 tom.prince@ualberta.net - 0.8-1
+- Initial package.

+ 96 - 0
p/python-ipaddress/python-ipaddress-vl.spec

@@ -0,0 +1,96 @@
+%global pyname ipaddress
+
+Name:           python-%{pyname}
+Version:        1.0.22
+Release:        1%{?_dist_release}
+Summary:        Port of the python 3.3+ ipaddress module to 2.6+
+
+License:        Python
+URL:            https://pypi.python.org/pypi/ipaddress/
+
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+Source0:        https://pypi.python.org/packages/source/i/%{pyname}/%{pyname}-%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python-devel
+%{?python_provide:%python_provide python2-%{pyname}}
+
+%global _description\
+ipaddress provides the capabilities to create, manipulate and operate\
+on IPv4 and IPv6 addresses and networks.\
+\
+The functions and classes in this module make it straightforward to\
+handle various tasks related to IP addresses, including checking\
+whether or not two hosts are on the same subnet, iterating over all\
+hosts in a particular subnet, checking whether or not a string\
+represents a valid IP address or network definition, and so on.
+
+%description %_description
+
+%prep
+%setup -q -n %{pyname}-%{version}
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+
+%files
+%doc README.md
+%{python_sitelib}/*
+
+
+%changelog
+* Mon Nov 19 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.0.22-1
+- initial build for Vine Linux.
+- new upstream release.
+
+* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.0.18-3
+- Python 2 binary package renamed to python2-ipaddress
+  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
+
+* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Mon Jun 19 2017 Paul Wouters <pwouters@redhat.com> - 1.0.18-1
+- Updated to 1.0.18, fixup URL
+
+* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.16-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.16-3
+- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
+
+* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.16-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Fri Jan 08 2016 Matěj Cepl <mcepl@redhat.com> - 1.0.16-1
+- Update to the latest upstream (#1242475)
+
+* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.7-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Wed Jun 10 2015 Nathaniel McCallum <npmccallum@redhat.com> - 1.0.7-3
+- Remove Conflicts: python-ipaddr
+
+* Mon Jun  8 2015 Nathaniel McCallum <npmccallum@redhat.com> - 1.0.7-2
+- Add Conflicts: python-ipaddr
+
+* Thu May 14 2015 Nathaniel McCallum <npmccallum@redhat.com> - 1.0.7-1
+- Update to 1.0.7
+
+* Wed Mar 20 2013 Matt Domsch <mdomsch@fedoraproject.org> - 1.0.3-1
+- initial release

+ 190 - 0
p/python-pycparser/python-pycparser-vl.spec

@@ -0,0 +1,190 @@
+%global with_python3 1
+
+Name:           python-pycparser
+Summary:        C parser and AST generator written in Python
+Version:        2.19
+Release:        1%{?dist}
+License:        BSD
+Group:          System Environment/Libraries
+URL:            http://github.com/eliben/pycparser
+
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+Source0:        https://pypi.org/simple/pycparser/pycparser-%{version}.tar.gz
+Source1:        pycparser-0.91.1-remove-relative-sys-path.py
+
+Patch100:       pycparser-2.10-ply.patch
+# This is Fedora-specific; I don't think we should request upstream to
+# remove embedded libraries from their distribuution, when we can remove
+# them during packaging.
+
+BuildArch:      noarch
+
+BuildRequires:  python-devel python-setuptools
+%{?python_provide:%python_provide python-pycparser}
+
+%if 0%{?with_python3}
+BuildRequires:  python3-devel python3-setuptools
+%endif # if with_python3
+
+BuildRequires:  dos2unix
+
+%description
+pycparser is a complete parser for the C language, written in pure Python.
+It is a module designed to be easily integrated into applications that
+need to parse C source code.
+
+%if 0%{?with_python3}
+%package -n python3-pycparser
+Summary:        C parser and AST generator written in Python
+Group:          System Environment/Libraries
+%{?python_provide:%python_provide python3-pycparser}
+
+%description -n python3-pycparser
+pycparser is a complete parser for the C language, written in pure Python.
+It is a module designed to be easily integrated into applications that
+need to parse C source code.
+%endif # if with_python3
+
+%prep
+%setup -q -n pycparser-%{version}
+#patch100 -p1 -F5 -b .ply
+
+# remove embedded copy of ply
+#rm -rf pycparser/ply
+
+# examples
+%{__python} %{SOURCE1} examples
+dos2unix LICENSE
+
+%build
+%py_build
+pushd build/lib/pycparser
+%{__python} _build_tables.py
+popd
+
+%if 0%{?with_python3}
+%py3_build
+pushd build/lib/pycparser
+%{__python3} _build_tables.py
+popd
+%endif # with_python3
+
+%install
+%py_install
+
+%if 0%{?with_python3}
+%py3_install
+%endif # with_python3
+
+%check
+#%{__python2} tests/all_tests.py 
+
+%if 0%{?with_python3}
+#%{__python3} tests/all_tests.py 
+%endif # with_python3
+ 
+%files
+%license LICENSE
+%doc examples
+%{python_sitelib}/pycparser/
+%{python_sitelib}/pycparser-*.egg-info
+
+%if 0%{?with_python3}
+%files -n python3-pycparser
+%license LICENSE
+%doc examples
+%{python3_sitelib}/pycparser/
+%{python3_sitelib}/pycparser-*.egg-info
+%endif # with_python3
+
+%changelog
+* Mon Nov 19 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.19-1
+- initial build for Vine Linux.
+- new upstream release.
+
+* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 2.14-15
+- Rebuilt for Python 3.7
+
+* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.14-14
+- Update Python 2 dependency declarations to new packaging standards
+  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
+
+* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.14-13
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Wed Sep 27 2017 Troy Dawson <tdawson@redhat.com> - 2.14-12
+- Cleanup spec file conditionals
+
+* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.14-11
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.14-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Fri Jan 6 2017 Orion Poplawski <orion@cora.nwra.com> - 2.14-9
+- Ship python2-pycparser
+- Modernize spec
+
+* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.14-8
+- Rebuild for Python 3.6
+
+* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.14-7
+- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
+
+* Fri Jul  8 2016 Tom Callaway <spot@fedoraproject.org> - 2.14-6
+- rebuild to update yacctab.py
+
+* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.14-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Tue Oct 13 2015 Robert Kuska <rkuska@redhat.com> - 2.14-4
+- Rebuilt for Python3.5 rebuild
+
+* Tue Jul 14 2015 Stephen Gallagher <sgallagh@redhat.com> - 2.14-3
+- Rebuild alongside python-ply 3.6
+
+* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.14-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Tue Jun 09 2015 Nathaniel McCallum <npmccallum@redhat.com> - 2.14-1
+- Update to 2.14
+
+* Wed Aug 20 2014 Eric Smith <brouhaha@fedoraproject.org> 2.10-1
+- Update to latest upstream.
+
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.09.1-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Mon May 12 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 2.09.1-8
+- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
+
+* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.09.1-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Tue Jul 23 2013 Eric Smith <brouhaha@fedoraproject.org> 2.09.1-6
+- Added Python 3 support.
+
+* Mon Jul 22 2013 Eric Smith <brouhaha@fedoraproject.org> 2.09.1-5
+- Renumbered Fedora-specific Patch1 to Patch100
+- Added new Patch1 to fix table generation when the build system
+  already has a python-pycparser package installed.
+- Submitted Patch0 and Patch1 as upstream issues.
+- Added comments about patches.
+
+* Sun Jul 21 2013 Eric Smith <brouhaha@fedoraproject.org> 2.09.1-4
+- Upstream repository is now on github.
+- Fix rpmlint strange-permission complaint.
+- Rename patches, Source1 to all start with pycparser-{version}, to
+  simplify updating patches for future upstream releases.
+
+* Sun Jul 21 2013 Eric Smith <brouhaha@fedoraproject.org> 2.09.1-3
+- Run _build_tables.py to build the lextab.py and yacctab.py; otherwise
+  they have to be regenerated at runtime for no benefit.
+
+* Tue Mar 19 2013 Jos de Kloe <josdekloe@gmail.com> 2.09.1-2
+- remove the embedded ply code
+
+* Fri Jan 18 2013 Scott Tsai <scottt.tw@gmail.com> 2.09.1-1
+- upstream 2.09.1