public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Peter Bieringer <pb@bieringer.de>
To: git-commits@fedoraproject.org
Subject: [rpms/python-vobject] epel9: Update to 0.9.9
Date: Fri, 02 Oct 2026 19:45:04 GMT	[thread overview]
Message-ID: <179097030472.1.3248971735197633898.rpms-python-vobject-43cdab32e801@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-vobject
            Branch : epel9
            Commit : 43cdab32e80102b450d993a0c366ee05cb719635
            Author : Peter Bieringer <pb@bieringer.de>
            Date   : 2026-10-02T21:44:58+02:00
            Stats  : +33/-44 in 5 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-vobject/c/43cdab32e80102b450d993a0c366ee05cb719635?branch=epel9

            Log:
            Update to 0.9.9

Resolves: rhbz#2332538
Resolves: rhbz#2378326

---
diff --git a/.gitignore b/.gitignore
index 9fe4fdc..8acae01 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1 @@
-vobject-0.8.1c.tar.gz
-/vobject-0.9.0.tar.gz
-/vobject-0.9.2.tar.gz
-/vobject-0.9.3.tar.gz
-/vobject-0.9.4.1.tar.gz
-/vobject-0.9.5.tar.gz
-/vobject-0.9.6.1.tar.gz
+/vobject-*.tar.gz

diff --git a/python-vobject-0.9.5-timedelta.patch b/python-vobject-0.9.5-timedelta.patch
deleted file mode 100644
index 1c7d665..0000000
--- a/python-vobject-0.9.5-timedelta.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up vobject-0.9.5/tests.py.timedelta-repr vobject-0.9.5/tests.py
---- vobject-0.9.5/tests.py.timedelta-repr	2018-07-03 16:09:08.000000000 +0200
-+++ vobject-0.9.5/tests.py	2018-07-03 16:10:44.000000000 +0200
-@@ -253,7 +253,7 @@ class TestBehaviors(unittest.TestCase):
-         )
-         self.assertEqual(
-             str(parseRDate(textLineToContentLine("RDATE;VALUE=PERIOD:19960403T020000Z/19960403T040000Z,19960404T010000Z/PT3H"))),
--            "<RDATE{'VALUE': ['PERIOD']}[(datetime.datetime(1996, 4, 3, 2, 0, tzinfo=tzutc()), datetime.datetime(1996, 4, 3, 4, 0, tzinfo=tzutc())), (datetime.datetime(1996, 4, 4, 1, 0, tzinfo=tzutc()), datetime.timedelta(0, 10800))]>"
-+            "<RDATE{'VALUE': ['PERIOD']}[(datetime.datetime(1996, 4, 3, 2, 0, tzinfo=tzutc()), datetime.datetime(1996, 4, 3, 4, 0, tzinfo=tzutc())), (datetime.datetime(1996, 4, 4, 1, 0, tzinfo=tzutc()), " + ("datetime.timedelta(0, 10800)" if sys.version_info < (3,7) else "datetime.timedelta(seconds=10800)") + ")]>"
-         )
- 
-     def test_periodBehavior(self):

diff --git a/python-vobject.spec b/python-vobject.spec
index 1c769ab..b371721 100644
--- a/python-vobject.spec
+++ b/python-vobject.spec
@@ -3,16 +3,18 @@
 
 
 Name:           python-vobject
-Version:        0.9.8
+Version:        0.9.9
 Release:        1%{?dist}
 Summary:        %{sum}
 
 License:        Apache-2.0
 URL:            https://py-vobject.github.io/
-Source0:        https://pypi.python.org/packages/source/v/vobject/%{modname}-%{version}.tar.gz
+Source0:        %{pypi_source %{modname}}
+# Upstream omitted radicale-1587.vcf in MANIFEST.in for 0.9.9 tarball
+Source1:        https://raw.githubusercontent.com/py-vobject/vobject/v%{version}/test_files/radicale-1587.vcf
 
 BuildArch:      noarch
-BuildRequires:  git
+BuildRequires:  python3-devel
 
 
 %description
@@ -23,16 +25,6 @@ generating vCard and vCalendar files.
 %package -n         python3-%{modname}
 Summary:            %{sum}
 
-Requires:           python3-dateutil
-Requires:           python3-setuptools
-BuildRequires:      python3-devel
-BuildRequires:      python3-setuptools
-BuildRequires:      python3-dateutil
-BuildRequires:      python3-pytz
-BuildRequires:      python3-pip
-
-%{?python_provide:%python_provide python3-%{modname}}
-
 %description -n python3-vobject
 VObject is intended to be a full featured python library for parsing and
 generating vCard and vCalendar files.
@@ -40,34 +32,43 @@ generating vCard and vCalendar files.
 
 %prep
 %autosetup -n %{modname}-%{version} -p1
-sed -i -e 's| == 2.4.0||' setup.py
+cp -p %{SOURCE1} test_files/
 rm vobject/win32tz.py
+# Use vobject.base.VERSION so setuptools can parse VERSION statically without importing dependencies
+sed -i 's/attr: vobject.VERSION/attr: vobject.base.VERSION/' setup.cfg
+
+
+%generate_buildrequires
+%pyproject_buildrequires
+
 
 %build
-%py3_build
+%pyproject_wheel
 
 
 %install
-%py3_install
+%pyproject_install
+%pyproject_save_files %{modname}
 
 
 %check
-
-# Currently failing
-%{__python3} setup.py test
+%pyproject_check_import
+%{python3} tests.py
 
 
-%files -n python3-%{modname}
+%files -n python3-%{modname} -f %{pyproject_files}
 %doc README.md
-# ACKNOWLEDGEMENTS.txt
-#%license LICENSE-2.0.txt
-%{python3_sitelib}/%{modname}/
-%{python3_sitelib}/%{modname}-%{version}-*
+%license LICENSE-2.0.txt
 %{_bindir}/change_tz
 %{_bindir}/ics_diff
 
 
 %changelog
+* Sun Aug 23 2026 Filipe Rosset <rosset.filipe@gmail.com> - 0.9.9-1
+- Update to 0.9.9
+- Resolves: rhbz#2332538
+- Resolves: rhbz#2378326
+
 * Mon Oct 07 2024 Peter Bieringer <pb@bieringer.de> - 0.9.8-1
 - updated to 0.9.8 (rhbz#2315926)
 

diff --git a/radicale-1587.vcf b/radicale-1587.vcf
new file mode 100644
index 0000000..a7dfef3
--- /dev/null
+++ b/radicale-1587.vcf
@@ -0,0 +1,6 @@
+BEGIN:VCARD
+VERSION:3.0
+FN:Given Family
+N:Family;Given;Additional;Prefix;Suffix
+GEO:37.386013;-122.082932
+END:VCARD

diff --git a/sources b/sources
index fec1829..50b1041 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (vobject-0.9.8.tar.gz) = 8ba48fdd242c60b256d3a40d0aa1a6af9493a03fbff97870245102e676603d7eecad055db20a5eaa941eadc071fe41b522fc8226d0316c430d87e9331464a823
+SHA512 (vobject-0.9.9.tar.gz) = 6897211cd4b61bddfa5a9d27f24a2c3b6514d072eeae535e1409f591fa6fa83a0b9ded3240df8bf9bcabc619ef1673929ae52cfaefc9dcd8d55a70856630a97a

                 reply	other threads:[~2026-10-02 19:45 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=179097030472.1.3248971735197633898.rpms-python-vobject-43cdab32e801@fedoraproject.org \
    --to=pb@bieringer.de \
    --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