15
0
Files
python-distutils-extra/python-distutils-extra.spec
Todd R 0c127036d5 Accepting request 519783 from devel:languages:python:singlespec-staging
- singlespec auto-conversion
- Update to 2.38:
  * Use yelp-tools style help installation.
- Update to 2.37:
  * Handle Glade .ui files correctly when generating the copyright file. Also
    ignore backup files.
  * auto.py: Recognize manpages which have comments before the initial .TH
    comment.
- Update to version 2.36:
  * Use python 2.6 friendly sys.version_info test.
  * Do not call decode() with an "errors" keyword, as this does not
    yet work with Python 2.6.
- No changelog provided for 2.35.
- Changes from 2.34:
  * Fix *.ui detection to be robust for non-ASCII files.
  * Fix a regression with python2 if files have some utf-8 directives.
- Changes from 2.33:
  * Fix crash when encountering binary files with Python 3.
  * Fix crash when encountering an UTF-8 Python source code file.
- Update to version 2.32. Summary of changes since 2.23:
  + Port code to be fully Python 3 compatible.
  + Rename "check" command to "pylint".
  + Add support for installing GSettings schema files.
  + Properly support GI repository module detection.
  + Remove pykdeuic4 integration.
  + Drop support for the long-obsolete PolicyKit (pre polkit 1.0
    API).
  + Several bug fixes.
- Specfile cleanup:
  * SPDX-style license (GPL-2.0)
  * Remove %clean section (sane default)
  * Simpler macro usage
  * No authors in description
- Update to 2.23
  According to this page https://launchpad.net/python-distutils-extra/trunk/2.23) this release has no changelog  
- Update to version 2.22 ( 2.6 is not the latest one)
Changelog to 2.22
* setup.py: Drop import of "commands"; unused, and does not exist in
    python3.
  * DistUtilsExtra/command/build_extra.py: Use "in" operator instead of
    has_key(). It's more elegant and Python 3 compatible.
  * test/auto.py: Use Python3 compatible octal constant.
  * test/auto.py: Decode stdout/stderr result from subprocess from bytes to
    str, to work with Python3.
  * test/auto.py: Use whichever Python interpreter we got invoked with (using
    /proc/self/exe) instead of hardcoding "python". With that we can run the
    tests through python3 as well.
  * DistUtilsExtra/auto.py: Port from deprecated "compiler" module to current
    "ast" module.
  * test/auto.py: Only set PYTHONPATH if it isn't set already, so that we can
    override it from outside.
  * test/auto.py: Do not require that "setup.py clean -a" doesn't print
    anything to stderr; with Python 3.1 it now sends out warnings about
    nonexisting directories.
  * test/auto.py: Changed print statements to work with both Python 2 and 3.
  * DistUtilsExtra/command/build_extra.py: Drop unnecessary hashbang line.
  * test/auto.py: Filter out bogus errors about missing files which current
    Python 3 distutils spews out.
  * test/auto.py, Use python{,3}-{pkg-resources,httplib2} as
    external test modules instead of -xdg and -dateutil, since the latter are
    not available for Python 3 yet.
Changelog to 2.20 
 [Didier Roche ]
 * build_i18n.py: add support for LINGUAS (Siegfried Gevatter) (LP: #510957)
[ Martin Pitt ]
* debian/local/python-mkdebian: Make langpack.mk include optional, as it
  only exists in Ubuntu, not Debian. (Closes: #589802)
* debian/local/python-mkdebian: If we are on Debian, set upload target to
  "unstable". (Closes: #589794)
changelog to 2.19
  * auto.py: Also recognize Qt .ui files if they start with an "<?xml..."
  first line. (LP: #543707)
* test/auto.py: Check that automatic translation extraction also works for
  extensionless files and single quotation marks. (Side discussion in
  LP #533565)
* test/auto.py: Check that scripts explicitly mentioned in "data_files" and
  "scripts" are covered by the automatic POTFILES.in generation. This
  reproduces LP #533565.
* auto.py: Include scripts in setup.py's data_files into potential
  POTFILES.in candidates. (LP: #533565)
* debian/control: Swap maintainer (me) and uploaders (Sebastian), since I'm
  the de-facto maintainer now.
* debian/control: Replace python-all-dev build dependency with python-all,
  which is enough. Also wrap build dependencies.
* Add debian/source/format: 3.0 (native).
* setup.py: Grab version from DistUtilsExtra/auto.py instead of duplicating
  and hardcoding it.
* python_mkdebian: Add --version option.
* Move primary __version__ definition to DistUtilsExtra/__init__.py, where
  it makes more sense than just in the auto module.
* Add debian/local/python-mkdebian.1. (Closes: #546266)
* Add debian/python-distutils-extra.manpages to install the new manpage.
- Update to version 2.6
- Update to version 2.22
- Update to version 2.18.
- Update to python-distuils-extra 2.10
- Build as noarch on 11.2
- Cleanup for Factory submission

OBS-URL: https://build.opensuse.org/request/show/519783
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distutils-extra?expand=0&rev=34
2017-08-30 21:50:09 +00:00

57 lines
1.6 KiB
RPMSpec

#
# spec file for package python-distutils-extra
#
# 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-%{**}}
Name: python-distutils-extra
Version: 2.38
Release: 0
Summary: Distutils/Setuptools Adapter
License: GPL-2.0
Group: Development/Libraries/Python
Url: https://launchpad.net/python-distutils-extra
Source: http://launchpad.net/python-distutils-extra/trunk/%{version}/+download/python-distutils-extra-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
This package adds support for common build additions to distutils. This
includes the follwing:
* gettext/i18n
* documentation
* program icons
%prep
%setup -q
%build
%python_build
%install
%python_install
%files %{python_files}
%defattr(-,root,root)
%doc LICENSE doc/*
%{python_sitelib}/*
%changelog