public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-venusian] epel10.2: Latest upstream and a python3 subpackage.  Woot!
@ 2026-06-22 16:02 Ralph Bean
  0 siblings, 0 replies; only message in thread
From: Ralph Bean @ 2026-06-22 16:02 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-venusian
Branch : epel10.2
Commit : bd5a5e70a7eb390af4618ccdc2691aff7a59915a
Author : Ralph Bean <rbean@redhat.com>
Date   : 2013-02-11T16:45:17-05:00
Stats  : +72/-4 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python-venusian/c/bd5a5e70a7eb390af4618ccdc2691aff7a59915a?branch=epel10.2

Log:
Latest upstream and a python3 subpackage.  Woot!

---
diff --git a/.gitignore b/.gitignore
index cc3c727..05a99ce 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /venusian-0.6.tar.gz
 /venusian-1.0a2.tar.gz
 /venusian-1.0a3.tar.gz
+/venusian-1.0a7.tar.gz

diff --git a/python-venusian.spec b/python-venusian.spec
index 61c3e7a..0d93525 100644
--- a/python-venusian.spec
+++ b/python-venusian.spec
@@ -1,9 +1,13 @@
+%if 0%{?fedora} > 12
+%global with_python3 1
+%endif
+
 %global modname venusian
-%global alphaver a3
+%global alphaver a7
 
 Name:           python-%{modname}
 Version:        1.0
-Release:        0.4.%{alphaver}%{?dist}
+Release:        0.1.%{alphaver}%{?dist}
 Summary:        A library for deferring decorator actions
 
 Group:          Development/Libraries
@@ -16,6 +20,16 @@ BuildArch:      noarch
 BuildRequires:  python-setuptools-devel
 BuildRequires:  python2-devel
 BuildRequires:  python-nose
+BuildRequires:  python-nose-exclude
+
+
+%if 0%{?with_python3}
+BuildRequires:  python3-devel
+BuildRequires:  python3-setuptools
+BuildRequires:  python3-nose
+BuildRequires:  python3-nose-exclude
+%endif
+
 
 %description
 Venusian is a library which allows framework authors to defer decorator
@@ -23,17 +37,57 @@ actions.  Instead of taking actions when a function (or class) decorator is
 executed at import time, you can defer the action usually taken by the
 decorator until a separate "scan" phase.
 
+
+%if 0%{?with_python3}
+%package -n python3-venusian
+Summary:        A library for deferring decorator actions
+Group:          Development/Libraries
+
+%description -n python3-venusian
+Venusian is a library which allows framework authors to defer decorator
+actions.  Instead of taking actions when a function (or class) decorator is
+executed at import time, you can defer the action usually taken by the
+decorator until a separate "scan" phase.
+%endif
+
 %prep
 %setup -q -n %{modname}-%{version}%{alphaver}
 
+# Remove bundled egg info if it exists
+rm -rf %{modname}.egg-info
+
+%if 0%{?with_python3}
+rm -rf %{py3dir}
+cp -a . %{py3dir}
+%endif
+
 %build
 %{__python} setup.py build
 
+%if 0%{?with_python3}
+pushd %{py3dir}
+%{__python3} setup.py build
+popd
+%endif
+
 %install
 rm -rf %{buildroot}
+
+%if 0%{?with_python3}
+pushd %{py3dir}
+%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
+popd
+%endif
+
 %{__python} setup.py install -O1 --skip-build --root %{buildroot}
 
 %check
+%if 0%{?with_python3}
+pushd %{py3dir}
+%{__python3} setup.py nosetests
+popd
+%endif
+
 %{__python} setup.py nosetests
 
 %clean
@@ -42,9 +96,22 @@ rm -rf %{buildroot}
 %files
 %defattr(-,root,root,-)
 %doc README.txt LICENSE.txt
-%{python_sitelib}/*
+%{python_sitelib}/%{modname}/
+%{python_sitelib}/%{modname}-%{version}*.egg-info
+
+%if 0%{?with_python3}
+%files -n python3-venusian
+%doc README.txt LICENSE.txt
+%{python3_sitelib}/%{modname}/
+%{python3_sitelib}/%{modname}-%{version}*.egg-info
+%endif
+
 
 %changelog
+* Fri Jan 18 2013 Ralph Bean <rbean@redhat.com> - 1.0-0.1.a7
+- Latest upstream version
+- Python3 subpackage
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.4.a3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 

diff --git a/sources b/sources
index 66164b2..721170c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7e3a522772ed2c98e9922ade569c7474  venusian-1.0a3.tar.gz
+6f67506dd3cf77116f1c01682a6c3f27  venusian-1.0a7.tar.gz

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-22 16:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-22 16:02 [rpms/python-venusian] epel10.2: Latest upstream and a python3 subpackage. Woot! Ralph Bean

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox