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] epel10.3: Update to 0.9.9
Date: Sun, 11 Oct 2026 19:00:58 GMT	[thread overview]
Message-ID: <179174525848.1.11991413533286150051.rpms-python-vobject-f4a722ca2185@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-vobject
            Branch : epel10.3
            Commit : f4a722ca21854ad8998bd0c818ca2757cea2c1b5
            Author : Peter Bieringer <pb@bieringer.de>
            Date   : 2026-10-02T21:32:05+02:00
            Stats  : +33/-45 in 5 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-vobject/c/f4a722ca21854ad8998bd0c818ca2757cea2c1b5?branch=epel10.3

            Log:
            Update to 0.9.9

Resolves: rhbz#2332538
Resolves: rhbz#2378326

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..8acae01
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/vobject-*.tar.gz

diff --git a/Makefile b/Makefile
deleted file mode 100644
index c10558b..0000000
--- a/Makefile
+++ /dev/null
@@ -1,21 +0,0 @@
-# Makefile for source rpm: python-vobject
-# $Id$
-NAME := python-vobject
-SPECFILE = $(firstword $(wildcard *.spec))
-
-define find-makefile-common
-for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
-endef
-
-MAKEFILE_COMMON := $(shell $(find-makefile-common))
-
-ifeq ($(MAKEFILE_COMMON),)
-# attept a checkout
-define checkout-makefile-common
-test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
-endef
-
-MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
-endif
-
-include $(MAKEFILE_COMMON)

diff --git a/python-vobject.spec b/python-vobject.spec
index 5bc7522..8e65bb1 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,15 +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
-
-%{?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.
@@ -39,33 +32,42 @@ 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
+
 * Wed Oct 23 2024 Peter Bieringer <pb@bieringer.de> - 0.9.8-1
 - initial for epel10 (rhbz#2320895)

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-11 19:00 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=179174525848.1.11991413533286150051.rpms-python-vobject-f4a722ca2185@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