Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37729033
en ru br
ALT Linux repos
S:3.3.0-alt9

Group :: Development/Python3
RPM: python3-module-zope

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Summary: The ``zope`` package is a pure namespace package
Version: 3.3.0
Release: alt9
License: ZPL
Group: Development/Python3

%define modulename zope
%define oname zope
Name: python3-module-%modulename

BuildRequires(pre): rpm-build-python3
Requires: python3-module-zope.interface
Requires: python3-module-zc

%description
%summary

%install
mkdir -p %buildroot/%python3_sitelibdir/%modulename
cat <<EOF > %buildroot/%python3_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 %python3_sitelibdir/%oname
%python3_sitelibdir/%oname/__init__.py*
%dir %python3_sitelibdir/%oname/__pycache__
%python3_sitelibdir/%oname/__pycache__/__init__.*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin