public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-makefun] epel10.2: Package approved
@ 2026-08-01 3:29
0 siblings, 0 replies; only message in thread
From: @ 2026-08-01 3:29 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-makefun
Branch : epel10.2
Commit : 45b56b13227540e8849bb299d26edaaa39591e2e
Author : Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Date : 2019-10-04T15:02:44+02:00
Stats : +58/-0 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-makefun/c/45b56b13227540e8849bb299d26edaaa39591e2e?branch=epel10.2
Log:
Package approved
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..209e044
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/makefun-1.6.11.tar.gz
diff --git a/python-makefun.spec b/python-makefun.spec
new file mode 100644
index 0000000..82666a4
--- /dev/null
+++ b/python-makefun.spec
@@ -0,0 +1,56 @@
+Name: python-makefun
+Version: 1.6.11
+Release: 1%{?dist}
+Summary: Dynamically create python functions with a proper signature
+
+License: BSD
+URL: https://pypi.org/project/makefun
+Source0: %{pypi_source makefun}
+
+BuildArch: noarch
+BuildRequires: pyproject-rpm-macros
+
+%global _description \
+%summary.
+
+%description %_description
+
+%package -n python3-makefun
+Summary: %{summary}
+%{?python_provide:%python_provide python3-makefun}
+
+%description -n python3-makefun %_description
+
+%prep
+%autosetup -n makefun-%{version}
+
+cat >pyproject.toml <<EOF
+[build-system]
+requires = ["pytest-runner", "setuptools_scm", "pypandoc", "six", "wheel"]
+build-backend = "setuptools.build_meta"
+EOF
+
+sed -r -i "s/'pandoc', //" setup.py
+
+%generate_buildrequires
+%pyproject_buildrequires
+
+%build
+%pyproject_wheel
+
+%install
+%pyproject_install
+
+%check
+# Tests require pytest-cases, which requires this package. Yay!
+%{__python3} -m pytest -v || :
+
+%files -n python3-makefun
+%license LICENSE
+%doc README.md
+%{python3_sitelib}/makefun/
+%{python3_sitelib}/makefun-%{version}.dist-info/
+
+%changelog
+* Sat Aug 10 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.6.11-1
+- Initial packaging
diff --git a/sources b/sources
new file mode 100644
index 0000000..2d78d9c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (makefun-1.6.11.tar.gz) = 7716fceecf528b5e09a1e1234efb1ad04c56114cfe43d1cb40df1c447a18a2a9af9b475bb5f5829d61d7a60d367b1f62905920e70e9e3a55dd422f864d963bd1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-01 3:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-01 3:29 [rpms/python-makefun] epel10.2: Package approved
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox