public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: yatin <ykarel@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pint] rpmlint-etc: Update to 0.9
Date: Sat, 12 Sep 2026 10:21:34 GMT	[thread overview]
Message-ID: <178920849437.1.17034292010075157793.rpms-python-pint-169859e87e45@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-pint
            Branch : rpmlint-etc
            Commit : 169859e87e45341d5e2c6960127c75f19d2efcf2
            Author : yatin <ykarel@redhat.com>
            Date   : 2019-02-26T12:06:03+05:30
            Stats  : +16/-5 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-pint/c/169859e87e45341d5e2c6960127c75f19d2efcf2?branch=rpmlint-etc

            Log:
            Update to 0.9

Not running babel test cases due to [1].

[1] https://github.com/hgrecco/pint/issues/663

---
diff --git a/.gitignore b/.gitignore
index c787fab..c39cad7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /Pint-0.6.zip
+/Pint-0.9.tar.gz

diff --git a/python-pint.spec b/python-pint.spec
index 6925c1b..3a8bd3c 100644
--- a/python-pint.spec
+++ b/python-pint.spec
@@ -1,20 +1,20 @@
 %global pypi_name Pint
 
 
-%if 0%{?fedora}
+%if 0%{?fedora} || 0%{?rhel} > 7
 %global with_python3 1
 %endif
 
 %{!?upstream_version: %global upstream_version %{version}%{?milestone}}
 
 Name:           python-pint
-Version:        0.6
-Release:        16%{?dist}
+Version:        0.9
+Release:        1%{?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
+Source0:        https://pypi.python.org/packages/source/P/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
 BuildArch:      noarch
 
 %description
@@ -33,8 +33,11 @@ Obsoletes:      python-pint < 0.6-4
 
 BuildRequires:  python2-devel
 BuildRequires:  python2-sphinx
+BuildRequires:  python2-matplotlib
 BuildRequires:  python2-setuptools
 
+Requires:       python2-funcsigs
+
 # python_provide does not exist in CBS Cloud buildroot
 %{?python_provide:%python_provide python2-pint}
 
@@ -82,6 +85,7 @@ and constants.
 Summary:        Documentation for the pint module
 %{?python_provide:%python_provide python3-pint-doc}
 BuildRequires:  python3-sphinx
+BuildRequires:  python3-matplotlib
 
 %description -n python3-pint-doc
 Documentation for the pint module
@@ -90,6 +94,9 @@ Documentation for the pint module
 %prep
 %setup -q -n %{pypi_name}-%{version}
 
+# Babel tests are not ready, see https://github.com/hgrecco/pint/issues/663
+rm pint/testsuite/test_babel.py
+
 %build
 %{__python2} setup.py build
 
@@ -145,6 +152,9 @@ rm -rf html/.{doctrees,buildinfo}
 %endif
 
 %changelog
+* Mon Feb 25 2019 Yatin Karel <ykarel@redhat.com> - 0.9-1
+- Update to 0.9
+
 * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-16
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
 

diff --git a/sources b/sources
index 98274a8..e1f227f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-88aa0918019071546b10c5fbdc91ae5e  Pint-0.6.zip
+SHA512 (Pint-0.9.tar.gz) = d79e0ff6377393f9dd8ce6a938440e8ed3c947642716974a3d69461d75776a39677d6651e6c081076f31e67a7dbffeb2fded42e61c9975f814b5eb24ab626fb6

                 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=178920849437.1.17034292010075157793.rpms-python-pint-169859e87e45@fedoraproject.org \
    --to=ykarel@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