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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user