forked from pool/python-ZConfig
Accepting request 186037 from home:frispete:python
some missing zope stuff OBS-URL: https://build.opensuse.org/request/show/186037 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZConfig?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.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
|
||||
*.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
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
ZConfig-3.0.3.tar.gz
Normal file
3
ZConfig-3.0.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6577da957511d8c2f805fefd2e31cacc4117bb5c54aec03ad8ce374020c021f3
|
||||
size 259838
|
||||
5
python-ZConfig.changes
Normal file
5
python-ZConfig.changes
Normal file
@@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 3 19:44:19 UTC 2013 - hpj@urpla.net
|
||||
|
||||
- version 3.0.3: initial build
|
||||
|
||||
88
python-ZConfig.spec
Normal file
88
python-ZConfig.spec
Normal file
@@ -0,0 +1,88 @@
|
||||
#
|
||||
# spec file for package python-ZConfig
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products 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/
|
||||
#
|
||||
|
||||
|
||||
Name: python-ZConfig
|
||||
Version: 3.0.3
|
||||
Release: 0
|
||||
Summary: Structured Configuration Library
|
||||
License: ZPL-2.1
|
||||
Group: Development/Libraries/Python
|
||||
Url: http://www.zope.org/Products/ZODB
|
||||
Source: https://pypi.python.org/packages/source/t/ZConfig/ZConfig-%{version}.tar.gz
|
||||
BuildRequires: python-setuptools
|
||||
# Testing requirements:
|
||||
BuildRequires: python-six
|
||||
BuildRequires: python-xml
|
||||
BuildRequires: python-zope.exceptions
|
||||
BuildRequires: python-zope.testrunner
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description
|
||||
ZConfig is a configuration library intended for general use. It supports a
|
||||
hierarchical schema-driven configuration model that allows a schema to specify
|
||||
data conversion routines written in Python. ZConfig's model is very different
|
||||
from the model supported by the ConfigParser module found in Python's standard
|
||||
library, and is more suitable to configuration-intensive applications.
|
||||
|
||||
ZConfig schema are written in an XML-based language and are able to "import"
|
||||
schema components provided by Python packages. Since components are able to
|
||||
bind to conversion functions provided by Python code in the package (or
|
||||
elsewhere), configuration objects can be arbitrarily complex, with values that
|
||||
have been verified against arbitrary constraints. This makes it easy for
|
||||
applications to separate configuration support from configuration loading even
|
||||
with configuration data being defined and consumed by a wide range of separate
|
||||
packages.
|
||||
|
||||
%package doc
|
||||
Summary: Structured Configuration Library
|
||||
Group: Development/Libraries/Python
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description doc
|
||||
This package contains documentation files for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n ZConfig-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%check
|
||||
python setup.py test -v
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt PKG-INFO README.txt
|
||||
%{python_sitelib}/*
|
||||
%{_bindir}/zconfig
|
||||
%{_bindir}/zconfig_schema2html
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user