public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Javier Pena <jpena@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-automaton] epel10.2: Initial import (#1264402)
Date: Sun, 31 May 2026 14:46:22 GMT	[thread overview]
Message-ID: <178023878253.1.17668718080114025272.rpms-python-automaton-42f9434ed711@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-automaton
Branch : epel10.2
Commit : 42f9434ed7115f6daba1efb5603e224c37a10afd
Author : Javier Pena <jpena@redhat.com>
Date   : 2015-09-22T10:55:29+02:00
Stats  : +140/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python-automaton/c/42f9434ed7115f6daba1efb5603e224c37a10afd?branch=epel10.2

Log:
Initial import (#1264402)

---
diff --git a/.gitignore b/.gitignore
index e69de29..d715861 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/automaton-0.7.0.tar.gz

diff --git a/python-automaton.spec b/python-automaton.spec
new file mode 100644
index 0000000..98c018d
--- /dev/null
+++ b/python-automaton.spec
@@ -0,0 +1,138 @@
+%if 0%{?fedora}
+%global with_python3 1
+%endif
+
+%global pypi_name automaton
+
+Name:           python-%{pypi_name}
+Version:        0.7.0
+Release:        1%{?dist}
+Summary:        Friendly state machines for python
+
+License:        ASL 2.0
+URL:            https://wiki.openstack.org/wiki/Oslo#automaton
+Source0:        https://pypi.python.org/packages/source/a/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
+BuildArch:      noarch
+ 
+%description
+Friendly state machines for python.
+
+%package -n python2-%{pypi_name}
+Summary:        Friendly state machines for python
+%{?python_provide:%python_provide python2-%{pypi_name}}
+
+BuildRequires:  python2-devel
+BuildRequires:  python-pbr
+BuildRequires:  python-sphinx
+BuildRequires:  python-oslo-sphinx
+BuildRequires:  python-setuptools
+
+#Required for tests
+BuildRequires:  python-debtcollector
+BuildRequires:  python-hacking
+BuildRequires:  python-coverage
+BuildRequires:  python-subunit
+BuildRequires:  python-oslotest
+BuildRequires:  python-prettytable
+BuildRequires:  python-testrepository
+BuildRequires:  python-testscenarios
+BuildRequires:  python-testtools
+
+Requires: python-pbr >= 1.6
+Requires: python-six >= 1.9.0
+Requires: python-debtcollector >= 0.3.0
+Requires: python-prettytable
+
+%description -n python2-%{pypi_name}
+Friendly state machines for python.
+
+%package -n python-%{pypi_name}-doc
+Summary:        Friendly state machines for python - documentation
+
+%description -n python-%{pypi_name}-doc
+Friendly state machines for python (documentation)
+
+%if 0%{?with_python3}
+%package -n python3-%{pypi_name}
+Summary:        Friendly state machines for python
+%{?python_provide:%python_provide python3-%{pypi_name}}
+
+BuildRequires:  python3-devel
+BuildRequires:  python3-pbr
+BuildRequires:  python3-sphinx
+BuildRequires:  python3-oslo-sphinx
+BuildRequires:  python3-setuptools
+
+#Required for tests
+BuildRequires:  python3-debtcollector
+BuildRequires:  python3-hacking
+BuildRequires:  python3-coverage
+BuildRequires:  python3-subunit
+BuildRequires:  python3-oslotest
+BuildRequires:  python3-prettytable
+BuildRequires:  python3-testrepository
+BuildRequires:  python3-testscenarios
+BuildRequires:  python3-testtools
+
+Requires: python3-pbr >= 1.6
+Requires: python3-six >= 1.9.0
+Requires: python3-debtcollector >= 0.3.0
+Requires: python3-prettytable
+
+%description -n python3-%{pypi_name}
+Friendly state machines for python.
+%endif
+
+%prep
+%setup -q -n %{pypi_name}-%{version}
+
+%build
+%{py_build}
+
+%if 0%{?with_python3}
+%{py3_build}
+%endif
+
+%install
+%{py2_install}
+
+# generate html docs 
+sphinx-build doc/source html
+# remove the sphinx-build leftovers
+rm -rf html/.{doctrees,buildinfo}
+
+%if 0%{?with_python3}
+%{py3_install}
+%endif
+
+
+%check
+%{__python2} setup.py test
+
+%if 0%{?with_python3}
+rm -rf .testrepository
+%{__python3} setup.py test
+%endif
+
+%files -n python2-%{pypi_name}
+%doc README.rst
+%license LICENSE
+%{python2_sitelib}/%{pypi_name}
+%{python2_sitelib}/*.egg-info
+
+%files -n python-%{pypi_name}-doc
+%doc html
+%license LICENSE
+
+%if 0%{?with_python3}
+%files -n python3-%{pypi_name}
+%doc html README.rst
+%license LICENSE
+%{python3_sitelib}/%{pypi_name}
+%{python3_sitelib}/*.egg-info
+
+%endif
+
+%changelog
+* Fri Sep 18 2015 jpena <jpena@redhat.com> - 0.7.0-1
+- Initial package.

diff --git a/sources b/sources
index e69de29..e1514de 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4c4a390eada881f717c22f68cb87ddb1  automaton-0.7.0.tar.gz

                 reply	other threads:[~2026-05-31 14:46 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=178023878253.1.17668718080114025272.rpms-python-automaton-42f9434ed711@fedoraproject.org \
    --to=jpena@redhat.com \
    --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