From 4cb54c6e1bd044fdd68329a28d9cc6506a325ecb Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 24 2017 08:20:03 +0000 Subject: import rh-python36-python-markupsafe-1.0-1.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..22f6d71 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/MarkupSafe-1.0.tar.gz diff --git a/.rh-python36-python-markupsafe.metadata b/.rh-python36-python-markupsafe.metadata new file mode 100644 index 0000000..26dc109 --- /dev/null +++ b/.rh-python36-python-markupsafe.metadata @@ -0,0 +1 @@ +9072e80a7faa0f49805737a48f3d871eb1c48728 SOURCES/MarkupSafe-1.0.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/python-markupsafe.spec b/SPECS/python-markupsafe.spec new file mode 100644 index 0000000..b1bbef5 --- /dev/null +++ b/SPECS/python-markupsafe.spec @@ -0,0 +1,102 @@ +%{?scl:%scl_package python-markupsafe} +%{!?scl:%global pkg_name %{name}} + +Name: %{?scl_prefix}python-markupsafe +Version: 1.0 +Release: 1%{?dist} +Summary: Implements a XML/HTML/XHTML Markup safe string for Python + +Group: Development/Languages +License: BSD +URL: https://pypi.python.org/pypi/MarkupSafe +Source0: https://files.pythonhosted.org/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: %{?scl_prefix}python-devel +BuildRequires: %{?scl_prefix}python-setuptools + + +%description +A library for safe markup escaping. + +%prep +%setup -q -n MarkupSafe-%{version} + +%build +%{?scl:scl enable %{scl} - << \EOF} +CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build +%{?scl:EOF} + +%install +rm -rf $RPM_BUILD_ROOT +%{?scl:scl enable %{scl} "} +%{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT +%{?scl:"} +# C code errantly gets installed +rm $RPM_BUILD_ROOT/%{python3_sitearch}/markupsafe/*.c + +%check +%{?scl:scl enable %{scl} "} +%{__python3} setup.py test +%{?scl:"} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc AUTHORS LICENSE README.rst +%{python3_sitearch}/* + +%changelog +* Thu Jun 15 2017 Charalampos Stratakis - 1.0-1 +- Update to 1.0 for rh-python36 + +* Fri Dec 12 2014 Robert Kuska - 0.23-1 +- Update to 0.23 + +* Tue May 21 2013 Bohuslav Kabrda - 0.11-10 +- Build as noarch to prevent creation of empty debuginfo package. + +* Thu May 09 2013 Bohuslav Kabrda - 0.11-9 +- Rebuild to generate bytecode properly after fixing rhbz#956289 + +* Wed Jan 09 2013 Bohuslav Kabrda - 0.11-8 +- Rebuilt for SCL. + +* Sat Aug 04 2012 David Malcolm - 0.11-7 +- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 + +* Fri Aug 3 2012 David Malcolm - 0.11-6 +- remove rhel logic from with_python3 conditional + +* Sat Jul 21 2012 Fedora Release Engineering - 0.11-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 0.11-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 0.11-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Dec 29 2010 David Malcolm - 0.11-2 +- rebuild for newer python3 + +* Thu Sep 30 2010 Luke Macken - 0.11-1 +- Update to 0.11 + +* Wed Aug 25 2010 Thomas Spura - 0.9.2-5 +- rebuild with python3.2 + http://lists.fedoraproject.org/pipermail/devel/2010-August/141368.html + +* Fri Jul 23 2010 David Malcolm - 0.9.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Thu Jun 24 2010 Kyle VanderBeek - 0.9.2-3 +- Fix missing setuptools BuildRequires. + +* Thu Jun 24 2010 Kyle VanderBeek - 0.9.2-2 +- Fixed sitearch and python3 definitions to work better with older Fedora/RHEL. + +* Wed Jun 23 2010 Kyle VanderBeek - 0.9.2-1 +- Initial version.