jjames pushed to rpms/ocaml-uucd (rawhide). "Initial import"
by notifications@fedoraproject.org
Notification time stamped 2023-06-30 21:01:43 UTC
From 46592fa5597fa260ae05ed4db72b8c5ea1fb8246 Mon Sep 17 00:00:00 2001
From: Jerry James <loganjerry(a)gmail.com>
Date: Jun 30 2023 21:01:26 +0000
Subject: Initial import
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..4b0b69b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/uucd-*.tbz
diff --git a/README.md b/README.md
index d6f1361..781bfb1 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,10 @@
# ocaml-uucd
-Uucd is an OCaml module to decode the data of the
-[Unicode character database](http://www.unicode.org/reports/tr44/) from its
-[XML representation](http://www.unicode.org/reports/tr42/). It provides
-high-level (but not necessarily efficient) access to the data so that
+[Uucd](https://erratique.ch/software/uucd) is an OCaml module to decode the
+data of the [Unicode character database](http://www.unicode.org/reports/tr44/)
+from its [XML representation](http://www.unicode.org/reports/tr42/). It
+provides high-level (but not necessarily efficient) access to the data so that
efficient representations can be extracted.
Uucd is made of a single module, depends on Xmlm and is distributed under the
-ISC license.
\ No newline at end of file
+ISC license.
diff --git a/ocaml-uucd.spec b/ocaml-uucd.spec
new file mode 100644
index 0000000..0e89952
--- /dev/null
+++ b/ocaml-uucd.spec
@@ -0,0 +1,69 @@
+%ifnarch %{ocaml_native_compiler}
+%global debug_package %{nil}
+%endif
+
+Name: ocaml-uucd
+Version: 15.0.0
+Release: %autorelease
+Summary: Unicode character database decoder for OCaml
+
+License: ISC
+URL: https://erratique.ch/software/uucd
+Source0: %{url}/releases/uucd-%{version}.tbz
+
+BuildRequires: ocaml >= 4.01.0
+BuildRequires: ocaml-findlib
+BuildRequires: ocaml-ocamlbuild
+BuildRequires: ocaml-topkg-devel >= 1.0.3
+BuildRequires: ocaml-xmlm-devel
+BuildRequires: python3
+
+%description
+Uucd is an OCaml module to decode the data of the Unicode character
+database (http://www.unicode.org/reports/tr44/) from its XML
+representation (http://www.unicode.org/reports/tr42/). It provides
+high-level (but not necessarily efficient) access to the data so that
+efficient representations can be extracted.
+
+Uucd is made of a single module, depends on Xmlm and is distributed
+under the ISC license.
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: ocaml-xmlm-devel%{?_isa}
+
+%description devel
+The %{name}-devel package contains libraries and signature
+files for developing applications that use %{name}.
+
+%prep
+%autosetup -n uucd-%{version}
+
+%build
+# Build the library and the tests
+ocaml pkg/pkg.ml build --dev-pkg false --tests true
+
+%install
+# Install the library
+mkdir -p %{buildroot}%{ocamldir}/uucd
+cp -p _build/{opam,pkg/META} %{buildroot}%{ocamldir}/uucd
+%ifarch %{ocaml_native_compiler}
+cp -a _build/src/*.{a,cma,cmi,cmt,cmti,cmx,cmxa,cmxs,mli} \
+ %{buildroot}%{ocamldir}/uucd
+%else
+cp -a _build/src/*.{cma,cmi,cmt,cmti,mli} %{buildroot}%{ocamldir}/uucd
+%endif
+%ocaml_files
+
+%check
+ocaml pkg/pkg.ml test
+
+%files -f .ofiles
+%license LICENSE.md
+%doc README.md CHANGES.md
+
+%files devel -f .ofiles-devel
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..fab8deb
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (uucd-15.0.0.tbz) = 022507d380dea2ce5a1a3b2b8f1d18be10454184fd11ddbd1ecbe09d303284b6e1cb59144748ccef4292bb82a469341d81086e1b3024fb9b08ad14b43e12abce
https://src.fedoraproject.org/rpms/ocaml-uucd/c/46592fa5597fa260ae05ed4db...
10 months, 1 week
salimma pushed to rpms/python-pystemd (rawhide). "Update to 0.13.2;
Fixes: rhbz#2210519 (..more)"
by notifications@fedoraproject.org
Notification time stamped 2023-06-30 20:53:53 UTC
From d05a4eb4e204553ea063be4b08de8fa9a31d8ffc Mon Sep 17 00:00:00 2001
From: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Jun 30 2023 20:44:31 +0000
Subject: Update to 0.13.2; Fixes: rhbz#2210519
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
index 6438e16..db6398f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
/pystemd-0.11.0.tar.gz
/pystemd-0.13.0.tar.gz
/pystemd-0.13.1.tar.gz
+/pystemd-0.13.2.tar.gz
diff --git a/python-pystemd.spec b/python-pystemd.spec
index 08e85b7..286d16e 100644
--- a/python-pystemd.spec
+++ b/python-pystemd.spec
@@ -5,8 +5,8 @@
%global pypi_name pystemd
Name: python-%{pypi_name}
-Version: 0.13.1
-Release: 2%{?dist}
+Version: 0.13.2
+Release: 1%{?dist}
Summary: A thin Cython-based wrapper on top of libsystemd
License: LGPL-2.1-or-later
@@ -69,6 +69,9 @@ popd
%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
%changelog
+* Fri Jun 30 2023 Michel Alexandre Salim <salimma(a)fedoraproject.org> - 0.13.2-1
+- Update to 0.13.2; Fixes: rhbz#2210519
+
* Wed Jun 14 2023 Python Maint <python-maint(a)redhat.com> - 0.13.1-2
- Rebuilt for Python 3.12
diff --git a/sources b/sources
index 27d5d65..488306d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pystemd-0.13.1.tar.gz) = faf168e2dfa676c5e0f1c985c79c5839b83c6e5f746e5ea1027ce09b89927fdd9cb0fd0a5b55b3601b7bfc9c8a5c3163f42b620cc5b75b14e2ec1dc964eeefe1
+SHA512 (pystemd-0.13.2.tar.gz) = 86358b1d023a0587802f327b5015947664cc0079a417dc9bd1234cae686b15efd526d6ba2374cca2463c418adedf7250e54d1e5e53e74202992cbf2eba687ba2
https://src.fedoraproject.org/rpms/python-pystemd/c/d05a4eb4e204553ea063b...
10 months, 1 week
limb pushed to rpms/igraph (f38). "Patch for test failure"
by notifications@fedoraproject.org
Notification time stamped 2023-06-30 20:47:16 UTC
From 1a38dc90d92055d6df94f2dc9b916616fbaf539c Mon Sep 17 00:00:00 2001
From: Gwyn Ciesla <gwync(a)protonmail.com>
Date: Jun 30 2023 20:41:38 +0000
Subject: Patch for test failure
---
diff --git a/23dd3ee5fc3c56ed4e0bd5339e4bde07d7dcd831.patch b/23dd3ee5fc3c56ed4e0bd5339e4bde07d7dcd831.patch
new file mode 100644
index 0000000..3dd106b
--- /dev/null
+++ b/23dd3ee5fc3c56ed4e0bd5339e4bde07d7dcd831.patch
@@ -0,0 +1,43 @@
+From 23dd3ee5fc3c56ed4e0bd5339e4bde07d7dcd831 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Szabolcs=20Horva=CC=81t?= <szhorvat(a)gmail.com>
+Date: Fri, 30 Jun 2023 21:35:49 +0200
+Subject: [PATCH] fix: correct bisection procedure in
+ igraph_community_voronoi()
+
+---
+ src/community/voronoi.c | 15 +++++++++++----
+ 1 file changed, 11 insertions(+), 4 deletions(-)
+
+diff --git a/src/community/voronoi.c b/src/community/voronoi.c
+index f8f48e8414..1a9ea7cae3 100644
+--- a/src/community/voronoi.c
++++ b/src/community/voronoi.c
+@@ -341,17 +341,24 @@ static igraph_error_t brent_opt(optfun_t *f, igraph_real_t x1, igraph_real_t x2,
+ }
+
+ /* It sometimes happens in disconnected graphs that the maximum is reached at or near the
+- * top of the radius range. If so, we bisect the (f3, f2) interval to search for a configuration
++ * top of the radius range. If so, we bisect the (x3, x2) interval to search for a configuration
+ * where f3 >= f2. */
+ if (f2 > f3) {
+- /* Limit iterations to 20 */
+- for (int i=0; i < 20; ++i) {
+- x1 = x2; f1 = f2;
++ /* Limit iterations to niter=20 */
++ const int niter = 20;
++ int i;
++ for (i=0; i < niter; ++i) {
++ x1 = x3; f1 = f3;
+ x3 = 0.5 * (x1 + x2);
+ IGRAPH_CHECK(f(x3, &f3, extra));
+
+ if (f3 >= f2) break;
+ }
++ /* If no maximum was found in 'niter' bisections, just take the upper end of the range. */
++ if (i == niter) {
++ IGRAPH_CHECK(f(x2, &f2, extra));
++ return IGRAPH_SUCCESS;
++ }
+ }
+
+ /* Limit iterations to 20 */
diff --git a/igraph.spec b/igraph.spec
index 9ac0cb0..949ecc4 100644
--- a/igraph.spec
+++ b/igraph.spec
@@ -15,6 +15,7 @@ Summary: Library for creating and manipulating graphs
License: GPL-2.0-or-later
URL: http://igraph.sourceforge.net/
Source0: https://github.com/igraph/igraph/releases/download/%{version}/igraph-%{ve...
+Patch0: 23dd3ee5fc3c56ed4e0bd5339e4bde07d7dcd831.patch
BuildRequires: gcc
BuildRequires: gcc-c++
@@ -40,6 +41,8 @@ documentation needed to develop application with %{name}.
%prep
%setup -q
+%patch -P 0 -p1
+
%build
%cmake \
-DIGRAPH_ENABLE_LTO=AUTO \
https://src.fedoraproject.org/rpms/igraph/c/1a38dc90d92055d6df94f2dc9b916...
10 months, 1 week
limb pushed to rpms/igraph (rawhide). "Patch for test failure"
by notifications@fedoraproject.org
Notification time stamped 2023-06-30 20:41:48 UTC
From 1a38dc90d92055d6df94f2dc9b916616fbaf539c Mon Sep 17 00:00:00 2001
From: Gwyn Ciesla <gwync(a)protonmail.com>
Date: Jun 30 2023 20:41:38 +0000
Subject: Patch for test failure
---
diff --git a/23dd3ee5fc3c56ed4e0bd5339e4bde07d7dcd831.patch b/23dd3ee5fc3c56ed4e0bd5339e4bde07d7dcd831.patch
new file mode 100644
index 0000000..3dd106b
--- /dev/null
+++ b/23dd3ee5fc3c56ed4e0bd5339e4bde07d7dcd831.patch
@@ -0,0 +1,43 @@
+From 23dd3ee5fc3c56ed4e0bd5339e4bde07d7dcd831 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Szabolcs=20Horva=CC=81t?= <szhorvat(a)gmail.com>
+Date: Fri, 30 Jun 2023 21:35:49 +0200
+Subject: [PATCH] fix: correct bisection procedure in
+ igraph_community_voronoi()
+
+---
+ src/community/voronoi.c | 15 +++++++++++----
+ 1 file changed, 11 insertions(+), 4 deletions(-)
+
+diff --git a/src/community/voronoi.c b/src/community/voronoi.c
+index f8f48e8414..1a9ea7cae3 100644
+--- a/src/community/voronoi.c
++++ b/src/community/voronoi.c
+@@ -341,17 +341,24 @@ static igraph_error_t brent_opt(optfun_t *f, igraph_real_t x1, igraph_real_t x2,
+ }
+
+ /* It sometimes happens in disconnected graphs that the maximum is reached at or near the
+- * top of the radius range. If so, we bisect the (f3, f2) interval to search for a configuration
++ * top of the radius range. If so, we bisect the (x3, x2) interval to search for a configuration
+ * where f3 >= f2. */
+ if (f2 > f3) {
+- /* Limit iterations to 20 */
+- for (int i=0; i < 20; ++i) {
+- x1 = x2; f1 = f2;
++ /* Limit iterations to niter=20 */
++ const int niter = 20;
++ int i;
++ for (i=0; i < niter; ++i) {
++ x1 = x3; f1 = f3;
+ x3 = 0.5 * (x1 + x2);
+ IGRAPH_CHECK(f(x3, &f3, extra));
+
+ if (f3 >= f2) break;
+ }
++ /* If no maximum was found in 'niter' bisections, just take the upper end of the range. */
++ if (i == niter) {
++ IGRAPH_CHECK(f(x2, &f2, extra));
++ return IGRAPH_SUCCESS;
++ }
+ }
+
+ /* Limit iterations to 20 */
diff --git a/igraph.spec b/igraph.spec
index 9ac0cb0..949ecc4 100644
--- a/igraph.spec
+++ b/igraph.spec
@@ -15,6 +15,7 @@ Summary: Library for creating and manipulating graphs
License: GPL-2.0-or-later
URL: http://igraph.sourceforge.net/
Source0: https://github.com/igraph/igraph/releases/download/%{version}/igraph-%{ve...
+Patch0: 23dd3ee5fc3c56ed4e0bd5339e4bde07d7dcd831.patch
BuildRequires: gcc
BuildRequires: gcc-c++
@@ -40,6 +41,8 @@ documentation needed to develop application with %{name}.
%prep
%setup -q
+%patch -P 0 -p1
+
%build
%cmake \
-DIGRAPH_ENABLE_LTO=AUTO \
https://src.fedoraproject.org/rpms/igraph/c/1a38dc90d92055d6df94f2dc9b916...
10 months, 1 week
jjames pushed to rpms/python-bash-kernel (f38). "Dynamically
generate BuildRequires."
by notifications@fedoraproject.org
Notification time stamped 2023-06-30 20:27:45 UTC
From 6413165b7543ace7cdb078d195e0d56001f61cb2 Mon Sep 17 00:00:00 2001
From: Jerry James <loganjerry(a)gmail.com>
Date: Feb 23 2023 18:52:19 +0000
Subject: Dynamically generate BuildRequires.
---
diff --git a/python-bash-kernel.spec b/python-bash-kernel.spec
index 1d0bbba..b52d3d0 100644
--- a/python-bash-kernel.spec
+++ b/python-bash-kernel.spec
@@ -9,14 +9,7 @@ Source0: %{url}/archive/%{version}/bash_kernel-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
-BuildRequires: pyproject-rpm-macros
BuildRequires: %{py3_dist docutils}
-BuildRequires: %{py3_dist flit-core}
-BuildRequires: %{py3_dist ipykernel}
-BuildRequires: %{py3_dist pexpect}
-BuildRequires: %{py3_dist pip}
-BuildRequires: %{py3_dist setuptools}
-BuildRequires: %{py3_dist wheel}
%description
This package contains a Jupyter kernel for bash.
@@ -32,6 +25,9 @@ This package contains a Jupyter kernel for bash.
%prep
%autosetup -n bash_kernel-%{version}
+%generate_buildrequires
+%pyproject_buildrequires
+
%build
%pyproject_wheel
rst2html --no-datestamp README.rst README.html
@@ -52,6 +48,9 @@ cd -
%{_datadir}/jupyter/kernels/bash/
%changelog
+* Thu Feb 23 2023 Jerry James <loganjerry(a)gmail.com> - 0.9.0-2
+- Dynamically generate BuildRequires
+
* Fri Jan 20 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
https://src.fedoraproject.org/rpms/python-bash-kernel/c/6413165b7543ace7c...
10 months, 1 week
jjames pushed to rpms/python-bash-kernel (f38). "Version 0.9.1"
by notifications@fedoraproject.org
Notification time stamped 2023-06-30 20:27:45 UTC
From 216d9d32ad2e26cf751239498e19ad87b48af033 Mon Sep 17 00:00:00 2001
From: Jerry James <loganjerry(a)gmail.com>
Date: Jun 30 2023 20:19:48 +0000
Subject: Version 0.9.1
---
diff --git a/python-bash-kernel.spec b/python-bash-kernel.spec
index b52d3d0..340c072 100644
--- a/python-bash-kernel.spec
+++ b/python-bash-kernel.spec
@@ -1,6 +1,6 @@
Name: python-bash-kernel
-Version: 0.9.0
-Release: 2%{?dist}
+Version: 0.9.1
+Release: 1%{?dist}
Summary: Bash kernel for Jupyter
License: BSD-3-Clause
URL: https://github.com/takluyver/bash_kernel
@@ -48,6 +48,9 @@ cd -
%{_datadir}/jupyter/kernels/bash/
%changelog
+* Fri Jun 30 2023 Jerry James <loganjerry(a)gmail.com> - 0.9.1-1
+- Version 0.9.1
+
* Thu Feb 23 2023 Jerry James <loganjerry(a)gmail.com> - 0.9.0-2
- Dynamically generate BuildRequires
diff --git a/sources b/sources
index 22b5749..ddeeafd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (bash_kernel-0.9.0.tar.gz) = 07feaa2bb594e4b6d61327fb2ca9ce02ef2b64616fdf879b8c4290364942232a16961c0993378ef674f41a1d268e0d312d70f0cdbff9685212b1bd6d27b2d1e2
+SHA512 (bash_kernel-0.9.1.tar.gz) = 41e510dbb6c9e9ae47279da09bb97277a0a0c485523d748e28b6c6fc740f71d88babe790d03a82df155bf40f42f3673c54f37923b8a4a5091fd179d3d8747d8e
https://src.fedoraproject.org/rpms/python-bash-kernel/c/216d9d32ad2e26cf7...
10 months, 1 week
jjames pushed to rpms/python-bash-kernel (f38). "BuildRequire
pyproject-rpm-macros explicitly (for ELN) (..more)"
by notifications@fedoraproject.org
Notification time stamped 2023-06-30 20:27:45 UTC
From c779680d7faa2c75add7b6fdc7c6e26a9ac16f6b Mon Sep 17 00:00:00 2001
From: Miro Hrončok <miro(a)hroncok.cz>
Date: Feb 17 2023 10:29:25 +0000
Subject: BuildRequire pyproject-rpm-macros explicitly (for ELN)
Since this package does not use %pyproject_buildrequires and is included in ELN,
manual BuildRequires for pyproject-rpm-macros is necessary.
In ELN, the dependency on pyproject-rpm-macros is generated
by %pyproject_buildrequires only,
the package is not pulled in via python3-devel.
This is new since pyproject-rpm-macros 1.6.0
---
diff --git a/python-bash-kernel.spec b/python-bash-kernel.spec
index 49ceead..1d0bbba 100644
--- a/python-bash-kernel.spec
+++ b/python-bash-kernel.spec
@@ -9,6 +9,7 @@ Source0: %{url}/archive/%{version}/bash_kernel-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
+BuildRequires: pyproject-rpm-macros
BuildRequires: %{py3_dist docutils}
BuildRequires: %{py3_dist flit-core}
BuildRequires: %{py3_dist ipykernel}
https://src.fedoraproject.org/rpms/python-bash-kernel/c/c779680d7faa2c75a...
10 months, 1 week
iztokf pushed to rpms/python-pdf2image (f37). "Initial import
(fedora#2188273)."
by notifications@fedoraproject.org
Notification time stamped 2023-06-30 20:23:35 UTC
From f72e43dc043ba2b6df61967b7204b6377f5145c1 Mon Sep 17 00:00:00 2001
From: Iztok Fister Jr <iztok(a)iztok-jr-fister.eu>
Date: Jun 30 2023 19:02:52 +0000
Subject: Initial import (fedora#2188273).
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1985ce8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/pdf2image-v.1.16.3.tar.gz
diff --git a/269.patch b/269.patch
new file mode 100644
index 0000000..1c1a46f
--- /dev/null
+++ b/269.patch
@@ -0,0 +1,33 @@
+From 0c0835dfdf22c9a45f1394fa8ae0dc367ee77f38 Mon Sep 17 00:00:00 2001
+From: "Benjamin A. Beasley" <code(a)musicinmybrain.net>
+Date: Wed, 31 May 2023 17:13:11 -0400
+Subject: [PATCH] Import memory_profiler only when it is enabled
+
+This removes the test dependency on
+https://pypi.org/project/memory-profiler/ when the PROFILE_MEMORY
+environment variable is not set.
+---
+ tests.py | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/tests.py b/tests.py
+index ae421f6..260f30c 100644
+--- a/tests.py
++++ b/tests.py
+@@ -11,7 +11,6 @@
+ from subprocess import Popen, PIPE
+ from tempfile import TemporaryDirectory
+ from multiprocessing.dummy import Pool
+-from memory_profiler import profile as profile_memory
+
+ sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
+
+@@ -31,6 +30,8 @@
+ from functools import wraps
+
+ PROFILE_MEMORY = os.environ.get("PROFILE_MEMORY", False)
++if PROFILE_MEMORY:
++ from memory_profiler import profile as profile_memory
+
+ try:
+ subprocess.call(
diff --git a/python-pdf2image.spec b/python-pdf2image.spec
new file mode 100644
index 0000000..9c4e246
--- /dev/null
+++ b/python-pdf2image.spec
@@ -0,0 +1,97 @@
+%bcond_without tests
+# Sphinx-generated HTML documentation is not suitable for packaging; see
+# https://bugzilla.redhat.com/show_bug.cgi?id=2006555 for discussion.
+#
+# We would like to generate PDF documentation as a substitute, but have not
+# been able to successfully build the Sphinx-generated LaTeX for this
+# particular package.
+%bcond_without doc_pdf
+
+Name: python-pdf2image
+Version: 1.16.3
+Release: 1%{?dist}
+Summary: Convert PDF to PIL Image object
+
+License: MIT
+URL: https://github.com/Belval/pdf2image
+Source: %{url}/archive/v.%{version}/pdf2image-v.%{version}.tar.gz
+
+# Import memory_profiler only when it is enabled
+# https://github.com/Belval/pdf2image/pull/269
+Patch: %{url}/pull/269.patch
+
+BuildArch: noarch
+
+%global _description %{expand:
+A wrapper around the pdftoppm and pdftocairo
+command line tools to convert PDF to a PIL
+Image list.}
+
+%description %_description
+
+%package -n python3-pdf2image
+Summary: %{summary}
+BuildRequires: python3-devel
+Requires: poppler
+
+%if %{with tests}
+BuildRequires: python3dist(pytest) >= 3.7.1
+BuildRequires: poppler
+%endif
+
+%description -n python3-pdf2image %_description
+
+%package doc
+Summary: Documentation and examples for %{name}
+
+%if %{with doc_pdf}
+BuildRequires: make
+BuildRequires: python3-sphinx
+BuildRequires: python3-sphinx_rtd_theme
+BuildRequires: python3-sphinx-latex
+BuildRequires: python3-recommonmark
+BuildRequires: latexmk
+BuildRequires: tex-xetex-bin
+%endif
+
+%description doc
+%{summary}.
+
+Full HTML documentation is available at
+https://belval.github.io/pdf2image/
+
+%prep
+%autosetup -n pdf2image-v.%{version} -p1
+
+%generate_buildrequires
+%pyproject_buildrequires
+
+%build
+%pyproject_wheel
+
+%if %{with doc_pdf}
+PYTHONPATH="${PWD}" %make_build -C docs latex SPHINXOPTS='-j%{?_smp_build_ncpus}'
+%make_build -C docs/_build/latex LATEXMKOPTS='-quiet -f'
+%endif
+
+%install
+%pyproject_install
+%pyproject_save_files pdf2image
+
+%check
+%if %{with tests}
+%pytest tests.py
+%endif
+
+%files -n python3-pdf2image -f %{pyproject_files}
+%doc README.md
+
+%files doc
+%license LICENSE
+%if %{with doc_pdf}
+%doc docs/_build/latex/pdf2image.pdf
+%endif
+
+%changelog
+* Mon Apr 17 2023 Iztok Fister Jr. <iztokf AT fedoraproject DOT org> - 1.16.3-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..1f87708
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (pdf2image-v.1.16.3.tar.gz) = 8c724307fcb7b7d1e577ac5ed76a54393a283eb3e7378762506862123af25f0ed9fda7f0309140456aab493bd75405c54195579d1d2bbaec4502861f2731e506
https://src.fedoraproject.org/rpms/python-pdf2image/c/f72e43dc043ba2b6df6...
10 months, 1 week