public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pint] rpmlint-etc: Initial setup of the repo
@ 2026-09-12 10:21 Fedora Release Engineering
  0 siblings, 0 replies; 2+ messages in thread
From: Fedora Release Engineering @ 2026-09-12 10:21 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-pint
Branch : rpmlint-etc
Commit : 84201d34af67833fe4af526faa17e1b85cb0ca05
Author : Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
Date   : 2014-12-16T11:58:08+01:00
Stats  : +65/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python-pint/c/84201d34af67833fe4af526faa17e1b85cb0ca05?branch=rpmlint-etc

Log:
Initial setup of the repo

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..c787fab
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/Pint-0.6.zip

diff --git a/python-pint.spec b/python-pint.spec
new file mode 100644
index 0000000..7fd1cd4
--- /dev/null
+++ b/python-pint.spec
@@ -0,0 +1,63 @@
+%global pypi_name Pint
+
+Name:           python-pint
+Version:        0.6
+Release:        2%{?dist}
+Summary:        Physical quantities module
+
+License:        BSD
+URL:            https://github.com/hgrecco/pint
+Source0:        https://pypi.python.org/packages/source/P/%{pypi_name}/%{pypi_name}-%{version}.zip
+BuildArch:      noarch
+
+BuildRequires:  python2-devel
+BuildRequires:  python-sphinx
+BuildRequires:  python-setuptools
+
+
+%description
+Pint is Python module/package to define, operate and manipulate physical
+quantities: the product of a numerical value and a unit of measurement.
+It allows arithmetic operations between them and conversions from and
+to different units.
+
+It is distributed with a comprehensive list of physical units, prefixes
+and constants.
+
+
+%prep
+%setup -q -n %{pypi_name}-%{version}
+# Remove bundled egg-info
+rm -rf %{pypi_name}.egg-info
+
+
+%build
+%{__python2} setup.py build
+
+# generate html docs
+
+export PYTHONPATH="$( pwd ):$PYTHONPATH"
+sphinx-build docs html
+# remove the sphinx-build leftovers
+rm -rf html/.{doctrees,buildinfo}
+
+
+%install
+%{__python2} setup.py install --skip-build --root %{buildroot}
+
+
+%check
+%{__python2} setup.py test
+
+
+%files
+%doc html LICENSE docs/_themes/LICENSE
+%{python2_sitelib}/pint
+%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
+
+%changelog
+* Mon Dec 15 2014 Matthias Runge <mrunge@redhat.com> - 0.6-2
+- change BR python-devel to python2-devel (rhbz#1173109)
+
+* Thu Dec 11 2014 Matthias Runge <mrunge@redhat.com> - 0.6-1
+- Initial package.

diff --git a/sources b/sources
new file mode 100644
index 0000000..98274a8
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+88aa0918019071546b10c5fbdc91ae5e  Pint-0.6.zip

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [rpms/python-pint] rpmlint-etc: Initial setup of the repo
@ 2026-09-12 10:21 Fedora Release Engineering
  0 siblings, 0 replies; 2+ messages in thread
From: Fedora Release Engineering @ 2026-09-12 10:21 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-pint
Branch : rpmlint-etc
Commit : 5090c7c5ec80544099f67fd4da3daee5215bcaab
Author : Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
Date   : 2014-12-15T13:24:52+00:00
Stats  : +0/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/python-pint/c/5090c7c5ec80544099f67fd4da3daee5215bcaab?branch=rpmlint-etc

Log:
Initial setup of the repo

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/.gitignore

diff --git a/sources b/sources
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/sources

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-12 10:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-12 10:21 [rpms/python-pint] rpmlint-etc: Initial setup of the repo Fedora Release Engineering
  -- strict thread matches above, loose matches on Subject: below --
2026-09-12 10:21 Fedora Release Engineering

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