diff --git a/apipkg-1.2.zip b/apipkg-1.2.zip deleted file mode 100644 index 6c2089e..0000000 --- a/apipkg-1.2.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ea86c4660e83015b6a3faad106cdf5a8d640688a93b84b93e8b64c60815789d4 -size 12842 diff --git a/apipkg-1.4.tar.gz b/apipkg-1.4.tar.gz new file mode 100644 index 0000000..7448202 --- /dev/null +++ b/apipkg-1.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2e38399dbe842891fe85392601aab8f40a8f4cc5a9053c326de35a1cc0297ac6 +size 11224 diff --git a/python-apipkg.changes b/python-apipkg.changes index c10fa2c..aaa19af 100644 --- a/python-apipkg.changes +++ b/python-apipkg.changes @@ -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 diff --git a/python-apipkg.spec b/python-apipkg.spec index d77631e..d6ee04f 100644 --- a/python-apipkg.spec +++ b/python-apipkg.spec @@ -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