public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Matthias Runge <mrunge@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pint] rpmlint-etc: Merge branch 'master' of ssh://pkgs.fedoraproject.org/python-pint
Date: Sat, 12 Sep 2026 10:21:27 GMT [thread overview]
Message-ID: <178920848742.1.1979678619030490673.rpms-python-pint-f03208e82f2b@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-pint
Branch : rpmlint-etc
Commit : f03208e82f2bd28d3ccd1076ddfb1ec839cf2fd1
Author : Matthias Runge <mrunge@redhat.com>
Date : 2014-12-16T11:58:45+01:00
Stats : +65/-0 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-pint/c/f03208e82f2bd28d3ccd1076ddfb1ec839cf2fd1?branch=rpmlint-etc
Log:
Merge branch 'master' of ssh://pkgs.fedoraproject.org/python-pint
---
diff --git a/.gitignore b/.gitignore
index e69de29..c787fab 100644
--- a/.gitignore
+++ 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
index e69de29..98274a8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+88aa0918019071546b10c5fbdc91ae5e Pint-0.6.zip
reply other threads:[~2026-09-12 10:21 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=178920848742.1.1979678619030490673.rpms-python-pint-f03208e82f2b@fedoraproject.org \
--to=mrunge@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