Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37401443
en ru br
Репозитории ALT
5.1: 3.3.0-alt1.1
4.1: 3.3.0-alt1.1
4.0: 3.3.0-alt1
www.altlinux.org/Changes

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

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

%define version 3.3.0
%define release alt1
%setup_python_module zope

Summary: The ``zope`` package is a pure namespace package
Name: %packagename
Version: %version
Release: %release.1
License: ZPL
Group: Development/Python
Packager: Python Development Team <python at packages.altlinux.org>

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


%description
%summary

%install
mkdir -p %buildroot/%python_sitelibdir/%modulename
cat <<EOF > %buildroot/%python_sitelibdir/%modulename/__init__.py
##############################################################################
#
# Copyright (c) 2004 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
#
# This file is necessary to make this directory a package.

try:
   # Declare this a namespace package if pkg_resources is available.
   import pkg_resources
   pkg_resources.declare_namespace('zope')
except ImportError:
   pass
EOF

%files
%dir %python_sitelibdir/%modulename
%python_sitelibdir/%modulename/__init__.py*

%changelog

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

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