Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37877490
en ru br
Репозитории ALT

Группа :: Разработка/Python
Пакет: python3-module-zc

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define oname zc
%define version 1.0.0
%define release alt7

Summary: The ``zc`` package is a pure namespace package
Name: python3-module-%oname
Version: %version
Release: %release
License: ZPL
Group: Development/Python
Packager: Python Development Team <python at packages.altlinux.org>

# need for links with some Zope modules

Requires: python3-module-z3c
BuildRequires(pre): rpm-build-python3

### Don't set BuildArch to noarch - other zc packages arch-dependent.


%description
%summary

%install
mkdir -p %buildroot/%python3_sitelibdir/%oname
cat <<EOF > %buildroot/%python3_sitelibdir/%oname/__init__.py
try:
   # Declare this a namespace package if pkg_resources is available.
   import pkg_resources
   pkg_resources.declare_namespace('zc')
except ImportError:
   pass
EOF

%files
%dir %python3_sitelibdir/%oname
%python3_sitelibdir/%oname/__init__.py*
%dir %python3_sitelibdir/%oname/__pycache__
%python3_sitelibdir/%oname/__pycache__/__init__.*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin