Accepting request 523725 from devel:languages:python

python3-pyx made single-spec and renamed to follow python packaging naming rules

OBS-URL: https://build.opensuse.org/request/show/523725
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyX?expand=0&rev=1
This commit is contained in:
2017-09-13 20:36:14 +00:00
committed by Git OBS Bridge
commit 0a4ed21e67
5 changed files with 218 additions and 0 deletions

24
.gitattributes vendored Normal file
View File

@@ -0,0 +1,24 @@
*.changes merge=merge-changes
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

4
.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
*.obscpio
*.osc
_build.*
.pbuild

3
PyX-0.14.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:05d1b7fc813379d2c12fcb5bd0195cab522b5aabafac88f72913f1d47becd912
size 2475186

125
python-PyX.changes Normal file
View File

@@ -0,0 +1,125 @@
-------------------------------------------------------------------
Thu Sep 7 17:53:27 UTC 2017 - toddrme2178@gmail.com
- Update to version 0.14.1
- Implement single-spec version, python3-only since this release
only supports python 3.
- Rename to python-PyX to follow python-packaging guidelines.
-------------------------------------------------------------------
Sun Jul 27 06:23:21 UTC 2014 - badshah400@gmail.com
- Update to version 0.12.1:
- Lots of changes since previously packaged version, see
/usr/share/doc/packages/python-pyx/CHANGES for a full list
- Packaging changes:
- Remove spurious executable permissions and shebangs wherever
needed to avoid rpmlint warnings
- No longer use deprecated "--record-rpm"; use %{python_sitelib}
instead
- Drop patches that no longer apply
+ python-pyx-no_root-0.8.1.patch
+ PyX-0.9-pyxrcdir.patch (no more /etc/pyxrc file)
- Specfile cleanups
+ Remove empty %clean section
+ Use full source URL for Source tag
+ License tag updated to spdx norms
+ export CFLAGS="$RPM_OPT_FLAGS" no more required
+ No longer required to run sed over installed files
+ List of Authors removed, see packaged AUTHORS file instead.
-------------------------------------------------------------------
Tue Nov 3 19:09:40 UTC 2009 - coolo@novell.com
- updated patches to apply with fuzz=0
-------------------------------------------------------------------
Wed Aug 12 20:02:48 CEST 2009 - matejcik@suse.cz
- build as noarch on newer distros
-------------------------------------------------------------------
Fri Apr 4 18:00:48 CEST 2008 - matejcik@suse.cz
- update to 0.10
* support for parallel/central projection 3D plotting
* new styles, examples, bugfixes
-------------------------------------------------------------------
Thu Aug 30 20:03:51 CEST 2007 - jmatejek@suse.cz
- added 'pyxrcdir' variable to config, import works again
(#305304)
-------------------------------------------------------------------
Fri Apr 20 16:46:11 CEST 2007 - aj@suse.de
- Cleanup BuildRequires.
-------------------------------------------------------------------
Thu Oct 19 16:17:28 CEST 2006 - jmatejek@suse.cz
- update to 0.9
- new set of deformers
- many new examples
- module for handling Type1 fonts
- support for transparency in PDF output
-------------------------------------------------------------------
Tue Feb 28 16:46:03 CET 2006 - jmatejek@suse.cz
- updated to reflect python changes due to #149809
-------------------------------------------------------------------
Wed Jan 25 21:40:51 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Wed Oct 19 14:41:00 CEST 2005 - matejcik@suse.cz
- update to 0.8.1
- fixed no-root patch for new version
-------------------------------------------------------------------
Wed Mar 16 19:16:28 CET 2005 - mcihar@suse.cz
- mark config file as config
-------------------------------------------------------------------
Thu Feb 10 16:35:46 CET 2005 - mcihar@suse.cz
- update to 0.7.1
-------------------------------------------------------------------
Wed Aug 04 16:18:16 CEST 2004 - mcihar@suse.cz
- update to 0.6.3
- use %py_requires
-------------------------------------------------------------------
Fri Jan 30 17:23:53 CET 2004 - mcihar@suse.cz
- update to 0.5.1
-------------------------------------------------------------------
Thu Oct 30 16:16:27 CET 2003 - mcihar@suse.cz
- updated to 0.4.1
- no root for build
-------------------------------------------------------------------
Mon Jun 16 16:49:23 CEST 2003 - mcihar@suse.cz
- use record-rpm
-------------------------------------------------------------------
Mon May 12 12:39:05 CEST 2003 - mcihar@suse.cz
- use versioned dependency on python
-------------------------------------------------------------------
Tue May 06 13:17:57 CEST 2003 - mcihar@suse.cz
- initial version

62
python-PyX.spec Normal file
View File

@@ -0,0 +1,62 @@
#
# spec file for package python-PyX
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%bcond_without test
Name: python-PyX
Version: 0.14.1
Release: 0
Summary: Python package for the generation of PostScript, PDF, and SVG files
License: GPL-2.0+
Group: Development/Languages/Python
Url: http://pyx.sourceforge.net/
Source: https://files.pythonhosted.org/packages/source/P/PyX/PyX-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
# Change <= to < in next version after 0.14.1
Obsoletes: python3-pyx <= %{version}
Provides: python3-pyx = %{version}
BuildRequires: fdupes
BuildArch: noarch
%python_subpackages
%description
PyX is a Python package for the creation of PostScript, PDF, and SVG files. It
combines an abstraction of the PostScript drawing model with a TeX/LaTeX
interface. Complex tasks like 2d and 3d plots in publication-ready quality are
built out of these primitives.
%prep
%setup -q -n PyX-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%defattr(-,root,root,-)
%doc AUTHORS CHANGES LICENSE README
%{python_sitelib}/*
%changelog