public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Robin Lee <cheeselee@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-zope-schema] epel10: - Update to 3.7.1
Date: Thu, 19 Nov 2026 00:36:33 GMT [thread overview]
Message-ID: <179504859360.1.7154561388300637937.rpms-python-zope-schema-531ceef15e34@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-zope-schema
Branch : epel10
Commit : 531ceef15e34c12262e93b2a21505a2e0be6a9d0
Author : Robin Lee <cheeselee@fedoraproject.org>
Date : 2011-01-03T18:58:55+08:00
Stats : +31/-5 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-zope-schema/c/531ceef15e34c12262e93b2a21505a2e0be6a9d0?branch=epel10
Log:
- Update to 3.7.1
- Build Sphinx documents
---
diff --git a/.gitignore b/.gitignore
index a4e921d..a581b9b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/zope.schema-3.7.0.zip
+/zope.schema-3.7.1.tar.gz
diff --git a/python-zope-schema.spec b/python-zope-schema.spec
index 96faa70..c1646a8 100644
--- a/python-zope-schema.spec
+++ b/python-zope-schema.spec
@@ -2,9 +2,9 @@
Summary: Zope 3 schemas
Name: python-zope-schema
-Version: 3.7.0
+Version: 3.7.1
Release: 1%{?dist}
-Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.zip
+Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz
License: ZPLv2.1
Group: Development/Libraries
BuildArch: noarch
@@ -12,6 +12,7 @@ URL: http://pypi.python.org/pypi/zope.schema
BuildRequires: python2-devel
BuildRequires: python-setuptools
+BuildRequires: python-sphinx
# For tests
BuildRequires: python-zope-testing
BuildRequires: python-zope-interface
@@ -28,7 +29,26 @@ This package is a zope.interface extension for defining data schemas.
%setup -q -n %{modname}-%{version}
%build
-python setup.py build
+%{__python} setup.py build
+
+# build Sphinx documents
+COPYRIGHT=`grep Author: PKG-INFO |sed -e 's/Author: //'`
+cat >src/zope/schema/conf.py <<END
+templates_path = ['_templates']
+source_suffix = '.txt'
+master_doc = 'index'
+project = '%{modname}'
+copyright = '$COPYRIGHT'
+version = '%{version}'
+release = '%{version}'
+pygments_style = 'sphinx'
+html_static_path = ['_static']
+extensions = []
+END
+
+sphinx-build -b html src/zope/schema/ html
+
+rm -fr html/{.buildinfo,.doctrees}
%install
%{__python} setup.py install --root=$RPM_BUILD_ROOT
@@ -38,7 +58,8 @@ python setup.py build
%files
%defattr(-,root,root,-)
-%doc LICENSE.txt CHANGES.txt COPYRIGHT.txt src/zope/schema/*.txt
+%doc LICENSE.txt CHANGES.txt COPYRIGHT.txt README.txt
+%doc html/
%{python_sitelib}/zope/schema/
%exclude %{python_sitelib}/zope/schema/tests/
%exclude %{python_sitelib}/zope/schema/*.txt
@@ -47,6 +68,10 @@ python setup.py build
%changelog
+* Mon Jan 3 2011 Robin Lee <cheeselee@fedoraproject.org> - 3.7.1-1
+- Update to 3.7.1
+- Build Sphinx documents
+
* Thu Sep 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.7.0-1
- Update to 3.7.0
- Move the documents to proper place
diff --git a/sources b/sources
index e89798b..6752171 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9d745d60c710c8ea825b0ae62bcc6fa2 zope.schema-3.7.0.zip
+ca6e6a3555562bbc96d69e7447b47248 zope.schema-3.7.1.tar.gz
reply other threads:[~2026-11-19 0:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179504859360.1.7154561388300637937.rpms-python-zope-schema-531ceef15e34@fedoraproject.org \
--to=cheeselee@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox