12
0
forked from pool/python-apipkg

Accepting request 379944 from devel:languages:python

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/379944
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apipkg?expand=0&rev=2
This commit is contained in:
2016-03-26 14:29:43 +00:00
committed by Git OBS Bridge
parent f23293308a
commit 1892089336
4 changed files with 33 additions and 11 deletions

View File

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

3
apipkg-1.4.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2e38399dbe842891fe85392601aab8f40a8f4cc5a9053c326de35a1cc0297ac6
size 11224

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Fri Mar 11 08:37:01 UTC 2016 - tbechtold@suse.com
- update to 1.4:
- revert the automated version gathering
- fix issue2 - adapt tests on Jython
- handle jython __pkgpath__ missabstraction when running python from jar files
- alias modules pointing to unimportable modules will return None for
all their attributes instead of raising ImportError. This addresses
python3.4 where any call to getframeinfo() can choke on sys.modules
contents if pytest is not installed (because py.test.* imports it).
- introduce apipkg.distribution_version(name) as helper to
obtain the current version number of a package from install metadata
its used by default with the package name
- add an eagerloading option and eagerload automatically
if bpython is used (workaround for their monkeypatching)
- Switch to use .tar.gz sdist instead of zip
- Install LICENSE
- BuildRequires python-setuptools
-------------------------------------------------------------------
Tue Nov 20 10:05:35 UTC 2012 - saschpe@suse.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-apipkg
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2016 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
@@ -13,17 +13,19 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-apipkg
Version: 1.2
Version: 1.4
Release: 0
License: MIT
Summary: Namespace control and lazy-import mechanism
Url: http://bitbucket.org/hpk42/apipkg
License: MIT
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/a/apipkg/apipkg-%{version}.zip
Url: http://bitbucket.org/hpk42/apipkg
Source: http://pypi.python.org/packages/source/a/apipkg/apipkg-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: unzip
# Testsuite BuildRequires:
#BuildRequires: python-nose
@@ -41,8 +43,8 @@ With apipkg you can control the exported namespace of a
python package and greatly reduce the number of imports for your users.
It is a `small pure python module`_ that works on virtually all Python
versions, including CPython2.3 to Python3.1, Jython and PyPy. It co-operates
well with Python's ``help()`` system, custom importers (PEP302) and common
command line completion tools.
well with Python's ``help()`` system, custom importers (PEP302) and common
command line completion tools.
Usage is very simple: you can require 'apipkg' as a dependency or you
can copy paste the <100 Lines of code into your project.
@@ -62,7 +64,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)
%doc README.txt
%doc README.txt LICENSE
%{python_sitelib}/*
%changelog