From e06e79077a07af00908764aef207dd80f390380b Mon Sep 17 00:00:00 2001 From: Dave Riches Date: Sat, 9 Apr 2011 19:16:40 +0100 Subject: [PATCH 1/4] Initial Import (#627180) --- .gitignore | 1 + django-dpaste.spec | 77 ++++++++++++++++++++++++++++++++++++++++++++++ setuptools.patch | 11 +++++++ sources | 1 + 4 files changed, 90 insertions(+) create mode 100644 django-dpaste.spec create mode 100644 setuptools.patch diff --git a/.gitignore b/.gitignore index e69de29..3a42ab4 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/django-dpaste-0.2.4.tar.gz diff --git a/django-dpaste.spec b/django-dpaste.spec new file mode 100644 index 0000000..2803880 --- /dev/null +++ b/django-dpaste.spec @@ -0,0 +1,77 @@ +#$Id$ + +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%endif + + +Summary: Dpaste is a code paste-bin application using Django +Name: django-dpaste +Version: 0.2.4 +Release: 3%{?dist} +License: BSD with advertising +Group: Development/Libraries +URL: http://code.google.com/p/django-paste/ +SOURCE: http://pypi.python.org/packages/source/d/django-dpaste/django-dpaste-0.2.4.tar.gz +Patch1: setuptools.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +BuildArch: noarch +BuildRequires: python2-devel python-setuptools +Requires: django-mptt python-pygments + +%description +Originally inspired by dpaste.com this application adds the ability to: + +See the differences between snippets +A history of snippets as a tree +See your latest 25 snippets (admin setting) +A huge bunch of syntax highlighters (lexers) +User defined settings to change the font-family as well as font-sizes +Nicer colors +Multilangual interface + +%prep +%setup -q -n %{name}-%{version} +# the following line is to account for a build problem thats outside of my control +# it will be fixed upstream very soon, but I don't see it as a reason to delay packaging +find $buildroot -type f \( -name .DS_Store -o -name ._\* \) -print0 |xargs -0 rm -f +rm -rf dpaste/templates/dpaste/.tmp* +%if 0%{?rhel} && 0%{?rhel} <= 5 +%patch1 -p1 +%endif +%build +%{__python} setup.py build + +%install +rm -rf %{buildroot} +%{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}" + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc CHANGELOG LICENSE MANIFEST.in README.rst +%{python_sitelib}/django_dpaste-%{version}-py2.* +%{python_sitelib}/dpaste +%lang(en) %{python_sitelib}/dpaste/locale/en/LC_MESSAGES/django.mo +%lang(de) %{python_sitelib}/dpaste/locale/de/LC_MESSAGES/django.mo + +%changelog +* Fri Apr 08 2011 Dave Riches - 0.2.4-3 +- Added patch to build for epel5 + +* Thu Oct 21 2010 Dave Riches - 0.2.4-2 +- Fixed dependency issue + +* Fri Aug 20 2010 Dave Riches - 0.2-1 +- Packaged for Fedora 12/13/14 + +* Fri Nov 28 2008 martin@mahner.org +- added user-defined exipration for snippets +- added a management command to purge old snippets +- new secret ids - This is backwards incompatible! +- User can delete his snippet at any time +- added this changelog :) + diff --git a/setuptools.patch b/setuptools.patch new file mode 100644 index 0000000..be7bf68 --- /dev/null +++ b/setuptools.patch @@ -0,0 +1,11 @@ +diff -rU4 django-dpaste-0.2.4/setup.py django-dpaste-0.2.4.new/setup.py +--- django-dpaste-0.2.4/setup.py 2008-11-28 15:46:42.000000000 +0000 ++++ django-dpaste-0.2.4.new/setup.py 2011-04-08 18:20:22.817492687 +0100 +@@ -1,6 +1,6 @@ + import os +-from distutils.core import setup ++from setuptools import setup + from distutils.command.install import INSTALL_SCHEMES + + app_name = 'dpaste' + app_url = 'http://github.com/bartTC/django-paste/' diff --git a/sources b/sources index e69de29..d95f0e3 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d485d3c2303e576d2e24ee45390bbc44 django-dpaste-0.2.4.tar.gz From 8170f37c5af548e72360187690d340048e1eef21 Mon Sep 17 00:00:00 2001 From: Dave Riches Date: Sat, 9 Apr 2011 19:21:37 +0100 Subject: [PATCH 2/4] Initial Import (#627180) --- .gitignore | 1 + django-dpaste.spec | 77 ++++++++++++++++++++++++++++++++++++++++++++++ setuptools.patch | 11 +++++++ sources | 1 + 4 files changed, 90 insertions(+) create mode 100644 django-dpaste.spec create mode 100644 setuptools.patch diff --git a/.gitignore b/.gitignore index e69de29..3a42ab4 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/django-dpaste-0.2.4.tar.gz diff --git a/django-dpaste.spec b/django-dpaste.spec new file mode 100644 index 0000000..2803880 --- /dev/null +++ b/django-dpaste.spec @@ -0,0 +1,77 @@ +#$Id$ + +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%endif + + +Summary: Dpaste is a code paste-bin application using Django +Name: django-dpaste +Version: 0.2.4 +Release: 3%{?dist} +License: BSD with advertising +Group: Development/Libraries +URL: http://code.google.com/p/django-paste/ +SOURCE: http://pypi.python.org/packages/source/d/django-dpaste/django-dpaste-0.2.4.tar.gz +Patch1: setuptools.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +BuildArch: noarch +BuildRequires: python2-devel python-setuptools +Requires: django-mptt python-pygments + +%description +Originally inspired by dpaste.com this application adds the ability to: + +See the differences between snippets +A history of snippets as a tree +See your latest 25 snippets (admin setting) +A huge bunch of syntax highlighters (lexers) +User defined settings to change the font-family as well as font-sizes +Nicer colors +Multilangual interface + +%prep +%setup -q -n %{name}-%{version} +# the following line is to account for a build problem thats outside of my control +# it will be fixed upstream very soon, but I don't see it as a reason to delay packaging +find $buildroot -type f \( -name .DS_Store -o -name ._\* \) -print0 |xargs -0 rm -f +rm -rf dpaste/templates/dpaste/.tmp* +%if 0%{?rhel} && 0%{?rhel} <= 5 +%patch1 -p1 +%endif +%build +%{__python} setup.py build + +%install +rm -rf %{buildroot} +%{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}" + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc CHANGELOG LICENSE MANIFEST.in README.rst +%{python_sitelib}/django_dpaste-%{version}-py2.* +%{python_sitelib}/dpaste +%lang(en) %{python_sitelib}/dpaste/locale/en/LC_MESSAGES/django.mo +%lang(de) %{python_sitelib}/dpaste/locale/de/LC_MESSAGES/django.mo + +%changelog +* Fri Apr 08 2011 Dave Riches - 0.2.4-3 +- Added patch to build for epel5 + +* Thu Oct 21 2010 Dave Riches - 0.2.4-2 +- Fixed dependency issue + +* Fri Aug 20 2010 Dave Riches - 0.2-1 +- Packaged for Fedora 12/13/14 + +* Fri Nov 28 2008 martin@mahner.org +- added user-defined exipration for snippets +- added a management command to purge old snippets +- new secret ids - This is backwards incompatible! +- User can delete his snippet at any time +- added this changelog :) + diff --git a/setuptools.patch b/setuptools.patch new file mode 100644 index 0000000..be7bf68 --- /dev/null +++ b/setuptools.patch @@ -0,0 +1,11 @@ +diff -rU4 django-dpaste-0.2.4/setup.py django-dpaste-0.2.4.new/setup.py +--- django-dpaste-0.2.4/setup.py 2008-11-28 15:46:42.000000000 +0000 ++++ django-dpaste-0.2.4.new/setup.py 2011-04-08 18:20:22.817492687 +0100 +@@ -1,6 +1,6 @@ + import os +-from distutils.core import setup ++from setuptools import setup + from distutils.command.install import INSTALL_SCHEMES + + app_name = 'dpaste' + app_url = 'http://github.com/bartTC/django-paste/' diff --git a/sources b/sources index e69de29..d95f0e3 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d485d3c2303e576d2e24ee45390bbc44 django-dpaste-0.2.4.tar.gz From ed3a36b2091dd0a39f35dfcef319e67afbc42ba4 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 12 Jan 2012 18:43:23 -0600 Subject: [PATCH 3/4] - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild --- django-dpaste.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/django-dpaste.spec b/django-dpaste.spec index 2803880..39cdad1 100644 --- a/django-dpaste.spec +++ b/django-dpaste.spec @@ -9,7 +9,7 @@ Summary: Dpaste is a code paste-bin application using Django Name: django-dpaste Version: 0.2.4 -Release: 3%{?dist} +Release: 4%{?dist} License: BSD with advertising Group: Development/Libraries URL: http://code.google.com/p/django-paste/ @@ -59,6 +59,9 @@ rm -rf %{buildroot} %lang(de) %{python_sitelib}/dpaste/locale/de/LC_MESSAGES/django.mo %changelog +* Fri Jan 13 2012 Fedora Release Engineering - 0.2.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + * Fri Apr 08 2011 Dave Riches - 0.2.4-3 - Added patch to build for epel5 From 7cc95a2a09fb3b2ca98f996cd037f07096628630 Mon Sep 17 00:00:00 2001 From: Till Maas Date: Wed, 4 Jun 2014 19:31:50 +0200 Subject: [PATCH 4/4] 2014-06-04 - This package was already retired in pkgdb/blocked in koji, but no dead.package file existed. The original retirement reason is unclear. --- .gitignore | 1 - dead.package | 1 + django-dpaste.spec | 80 ---------------------------------------------- setuptools.patch | 11 ------- sources | 1 - 5 files changed, 1 insertion(+), 93 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 django-dpaste.spec delete mode 100644 setuptools.patch delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 3a42ab4..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/django-dpaste-0.2.4.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5784d07 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +2014-06-04 - This package was already retired in pkgdb/blocked in koji, but no dead.package file existed. The original retirement reason is unclear. diff --git a/django-dpaste.spec b/django-dpaste.spec deleted file mode 100644 index 39cdad1..0000000 --- a/django-dpaste.spec +++ /dev/null @@ -1,80 +0,0 @@ -#$Id$ - -%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} -%endif - - -Summary: Dpaste is a code paste-bin application using Django -Name: django-dpaste -Version: 0.2.4 -Release: 4%{?dist} -License: BSD with advertising -Group: Development/Libraries -URL: http://code.google.com/p/django-paste/ -SOURCE: http://pypi.python.org/packages/source/d/django-dpaste/django-dpaste-0.2.4.tar.gz -Patch1: setuptools.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root -BuildArch: noarch -BuildRequires: python2-devel python-setuptools -Requires: django-mptt python-pygments - -%description -Originally inspired by dpaste.com this application adds the ability to: - -See the differences between snippets -A history of snippets as a tree -See your latest 25 snippets (admin setting) -A huge bunch of syntax highlighters (lexers) -User defined settings to change the font-family as well as font-sizes -Nicer colors -Multilangual interface - -%prep -%setup -q -n %{name}-%{version} -# the following line is to account for a build problem thats outside of my control -# it will be fixed upstream very soon, but I don't see it as a reason to delay packaging -find $buildroot -type f \( -name .DS_Store -o -name ._\* \) -print0 |xargs -0 rm -f -rm -rf dpaste/templates/dpaste/.tmp* -%if 0%{?rhel} && 0%{?rhel} <= 5 -%patch1 -p1 -%endif -%build -%{__python} setup.py build - -%install -rm -rf %{buildroot} -%{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}" - -%clean -rm -rf %{buildroot} - -%files -%defattr(-,root,root,-) -%doc CHANGELOG LICENSE MANIFEST.in README.rst -%{python_sitelib}/django_dpaste-%{version}-py2.* -%{python_sitelib}/dpaste -%lang(en) %{python_sitelib}/dpaste/locale/en/LC_MESSAGES/django.mo -%lang(de) %{python_sitelib}/dpaste/locale/de/LC_MESSAGES/django.mo - -%changelog -* Fri Jan 13 2012 Fedora Release Engineering - 0.2.4-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Fri Apr 08 2011 Dave Riches - 0.2.4-3 -- Added patch to build for epel5 - -* Thu Oct 21 2010 Dave Riches - 0.2.4-2 -- Fixed dependency issue - -* Fri Aug 20 2010 Dave Riches - 0.2-1 -- Packaged for Fedora 12/13/14 - -* Fri Nov 28 2008 martin@mahner.org -- added user-defined exipration for snippets -- added a management command to purge old snippets -- new secret ids - This is backwards incompatible! -- User can delete his snippet at any time -- added this changelog :) - diff --git a/setuptools.patch b/setuptools.patch deleted file mode 100644 index be7bf68..0000000 --- a/setuptools.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -rU4 django-dpaste-0.2.4/setup.py django-dpaste-0.2.4.new/setup.py ---- django-dpaste-0.2.4/setup.py 2008-11-28 15:46:42.000000000 +0000 -+++ django-dpaste-0.2.4.new/setup.py 2011-04-08 18:20:22.817492687 +0100 -@@ -1,6 +1,6 @@ - import os --from distutils.core import setup -+from setuptools import setup - from distutils.command.install import INSTALL_SCHEMES - - app_name = 'dpaste' - app_url = 'http://github.com/bartTC/django-paste/' diff --git a/sources b/sources deleted file mode 100644 index d95f0e3..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -d485d3c2303e576d2e24ee45390bbc44 django-dpaste-0.2.4.tar.gz