diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 858abc6..0000000 --- a/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -PyChart-1.38.tar.gz -PyChart-1_39.tar.gz -python-2.4.2-Doc.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..7eb7d4f --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +ancient and unmaintained, no python3 diff --git a/pychart-1.39-mkhowto.patch b/pychart-1.39-mkhowto.patch deleted file mode 100644 index 00a4686..0000000 --- a/pychart-1.39-mkhowto.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- PyChart/doc/Makefile.BAD 2006-01-09 16:16:34.000000000 -0600 -+++ PyChart/doc/Makefile 2006-01-09 16:17:00.000000000 -0600 -@@ -1,5 +1,5 @@ - PYCHART_DIR=.. --PYTHON_DOC_DIR=$(HOME)/Python-2.4.2/Doc -+PYTHON_DOC_DIR=$(PYCHART_DIR)/Doc - all: pychart examples - - pychart: pychart.tex diff --git a/pychart-1.39-optparse.patch b/pychart-1.39-optparse.patch deleted file mode 100644 index 68cbea2..0000000 --- a/pychart-1.39-optparse.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff -u PyChart-1_39-BAD/doc/doc.py PyChart-1_39/doc/doc.py ---- PyChart-1_39-BAD/doc/doc.py 2006-12-23 00:45:52.000000000 -0900 -+++ PyChart-1_39/doc/doc.py 2006-12-23 00:46:36.000000000 -0900 -@@ -1,11 +1,11 @@ - from pychart import * - import pychart.doc_support --import optik -+import optparse - import string - import sys - import re - --parser = optik.OptionParser() -+parser = optparse.OptionParser() - parser.add_option("-S", "--ps", action="store_true", default=None) - parser.add_option("-D", "--pdf", action="store_true", default=None) - parser.add_option("-X", "--pychart-dir", action="store", default=None) diff --git a/pychart-1.39-perl-pathing.patch b/pychart-1.39-perl-pathing.patch deleted file mode 100644 index 7250aec..0000000 --- a/pychart-1.39-perl-pathing.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -up PyChart-1_39/Doc/tools/node2label.pl.pathing PyChart-1_39/Doc/tools/node2label.pl ---- PyChart-1_39/Doc/tools/node2label.pl.pathing 2018-03-28 15:51:42.228270441 -0400 -+++ PyChart-1_39/Doc/tools/node2label.pl 2018-03-28 15:51:56.004046759 -0400 -@@ -6,6 +6,7 @@ - # generate backups during the edit phase and remove them at the end. - # - use English; -+use lib qw(.); - $INPLACE_EDIT = '.bak'; - - # read the labels, then reverse the mappings diff --git a/pychart.spec b/pychart.spec deleted file mode 100644 index 3bade2a..0000000 --- a/pychart.spec +++ /dev/null @@ -1,162 +0,0 @@ -Name: pychart -Version: 1.39 -Release: 29%{?dist} -License: GPLv2+ -Summary: Python library for generating chart images -URL: http://home.gna.org/pychart/ -# This is the good upstream source. Unfortunately, we need to remove the dot to make latex2html happy. -# Source0: http://download.gna.org/pychart/PyChart-%{version}.tar.gz -Source0: PyChart-1_39.tar.gz -# Fedora Core Python doesn't include the Doc/* directory in any binary package, so we can't build without -# it as an addon source tarball. This is BZ #177350 -Source1: python-2.4.2-Doc.tar.gz -BuildRequires: libgs-devel, tetex-latex, latex2html, python2-devel, python2-tools -BuildArch: noarch -Patch0: pychart-1.39-mkhowto.patch -Patch1: pychart-1.39-optparse.patch -Patch2: pychart-1.39-perl-pathing.patch -%description -PyChart is a Python library for creating high quality Encapsulated Postscript, -PDF, PNG, or SVG charts. It currently supports line plots, bar plots, -range-fill plots, and pie charts. Because it is based on Python, you can make -full use of Python's scripting power. - -%package doc -Summary: Documentation for using pychart in python programs -Requires: %{name} = %{version}-%{release} - -%description doc -PyChart is a Python library for creating high quality Encapsulated Postscript, -PDF, PNG, or SVG charts. It currently supports line plots, bar plots, -range-fill plots, and pie charts. Because it is based on Python, you can make -full use of Python's scripting power. - -Install this package if you want the developers' documentation and examples -that tell you how to program with the pychart library. - -%prep -%setup -q -n PyChart-1_39 -T -b 0 -a 1 -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -b .pathing - -sed -i 's|shell python|shell python2|g' demos/Makefile -sed -i 's|PYTHON?=python|PYTHON?=python2|g' demos/Makefile -sed -i 's|/usr/bin/env python|/usr/bin/env python2|g' Doc/tools/mkhowto -sed -i 's|python |python2 |g' doc/Makefile -sed -i 's|python_path = "python"|python_path = "python2"|g' doc/examples.py - -%build -%{__python2} setup.py build -cd demos/ -make PYTHON=python2 colorps colorpdf colorpng -cd ../doc -make PYTHON=python2 - -%install -%{__python2} setup.py install --skip-build --root=$RPM_BUILD_ROOT - -%files -%license COPYING -%{python2_sitelib}/pychart/ -%{python2_sitelib}/PyChart-*.egg-info - -%files doc -%doc doc/examples doc/pychart - -%changelog -* Fri Jul 26 2019 Fedora Release Engineering - 1.39-29 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sat Feb 02 2019 Fedora Release Engineering - 1.39-28 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Mon Jul 23 2018 Tom Callaway - 1.39-27 -- fix FTBFS by explicitly using python2 everywhere - -* Fri Jul 13 2018 Fedora Release Engineering - 1.39-26 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Mon Mar 26 2018 Iryna Shcherbina - 1.39-25 -- Update Python 2 dependency declarations to new packaging standards - (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) -- be explicit about python2 -- fix perl pathing issue in doc helper script - -* Fri Feb 09 2018 Fedora Release Engineering - 1.39-24 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 1.39-23 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 1.39-22 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Tue Jul 19 2016 Fedora Release Engineering - 1.39-21 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Thu Feb 04 2016 Fedora Release Engineering - 1.39-20 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Tue Jan 19 2016 Tom Callaway - 1.39-19 -- spec file cleanups - -* Thu Jun 18 2015 Fedora Release Engineering - 1.39-18 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sat Jun 07 2014 Fedora Release Engineering - 1.39-17 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sun Aug 04 2013 Fedora Release Engineering - 1.39-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Thu Feb 14 2013 Fedora Release Engineering - 1.39-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Sat Jul 21 2012 Fedora Release Engineering - 1.39-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Sat Jan 14 2012 Fedora Release Engineering - 1.39-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Tue Feb 08 2011 Fedora Release Engineering - 1.39-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Wed Jul 21 2010 David Malcolm - 1.39-11 -- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild - -* Sun Jul 26 2009 Fedora Release Engineering - 1.39-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Thu Feb 26 2009 Fedora Release Engineering - 1.39-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 1.39-8 -- Rebuild for Python 2.6 - -* Fri Apr 4 2008 Tom "spot" Callaway 1.39-7 -- fix FTBFS bz 440754 (missing egg.info) - -* Sun Aug 26 2007 Tom "spot" Callaway 1.39-6 -- license fix - -* Fri Dec 22 2006 Jef Spaleta 1.39-5 -- bump for python 2.5 in development - -* Fri Sep 15 2006 Tom "spot" Callaway 1.39-4 -- bump for FC-6 - -* Tue Jan 10 2006 Tom "spot" Callaway 1.39-3 -- FC3 doesn't need latex2html - -* Mon Jan 9 2006 Tom "spot" Callaway 1.39-2 -- BR: tetex-latex, latex2html - -* Mon Jan 9 2006 Tom "spot" Callaway 1.39-1 -- bump to 1.39 - -* Mon Sep 19 2005 Toshio Kuratomi 1.38-2 -- Create a doc subpackage with the developers documentation - -* Sat Sep 17 2005 Tom "spot" Callaway 1.38-1 -- initial package for Fedora Extras diff --git a/sources b/sources deleted file mode 100644 index 2aaf1d9..0000000 --- a/sources +++ /dev/null @@ -1,2 +0,0 @@ -6e5aa0836a3ccfb2c558072e067fd5a6 PyChart-1_39.tar.gz -d5db2c4d2c0af6c3fc84ce013954ce4c python-2.4.2-Doc.tar.gz