public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: chedi <chedi.toueiti@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-enrich] f45: initial commit
Date: Sat, 28 Nov 2026 16:03:39 GMT	[thread overview]
Message-ID: <179588181942.1.17250872956853588501.rpms-python-enrich-d8085c374500@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-enrich
Branch : f45
Commit : d8085c3745007f1418d7d729dd3a5dc706194881
Author : chedi <chedi.toueiti@gmail.com>
Date   : 2021-01-03T20:30:04+01:00
Stats  : +76/-0 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/python-enrich/c/d8085c3745007f1418d7d729dd3a5dc706194881?branch=f45

Log:
initial commit

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..c60df1f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/enrich-1.2.6.tar.gz

diff --git a/0001-remove-unsuported-pytest-option.patch b/0001-remove-unsuported-pytest-option.patch
new file mode 100644
index 0000000..24778cf
--- /dev/null
+++ b/0001-remove-unsuported-pytest-option.patch
@@ -0,0 +1,11 @@
+--- a/setup.cfg	2020-12-22 11:33:09.339309497 +0100
++++ b/setup.cfg	2020-12-22 11:37:33.467283884 +0100
+@@ -77,7 +77,7 @@
+ 	*.pyi
+ 
+ [tool:pytest]
+-addopts = --doctest-modules --durations 10 --durations-min=3 --color=yes
++addopts = --doctest-modules --durations 10 --color=yes
+ doctest_optionflags = ALLOW_UNICODE ELLIPSIS
+ norecursedirs = dist doc build .tox .eggs
+ testpaths = src

diff --git a/python-enrich.spec b/python-enrich.spec
new file mode 100644
index 0000000..384766a
--- /dev/null
+++ b/python-enrich.spec
@@ -0,0 +1,63 @@
+%global srcname enrich
+
+Name:    python-%{srcname}
+Version: 1.2.6
+Release: 1%{?dist}
+Summary: Enrich adds few missing features to the wonderful rich library
+
+URL:     https://github.com/pycontribs/enrich
+Source:  %{pypi_source}
+License: MIT
+
+# Removing the --duration-min option from pytest call (not supported in pytest < 6.1)
+patch0: 0001-remove-unsuported-pytest-option.patch
+
+BuildArch: noarch
+
+BuildRequires: python3-devel
+BuildRequires: python3dist(rich)
+BuildRequires: python3dist(setuptools)
+BuildRequires: python3dist(setuptools-scm)
+
+# testing requirements
+BuildRequires: python3dist(pytest)
+BuildRequires: python3dist(pytest-cov)
+BuildRequires: python3dist(pytest-mock)
+BuildRequires: python3dist(pytest-xdist)
+
+%global _description %{expand:
+rich library functionality with a set of changes that were not accepted
+to rich itself.
+}
+
+%description %{_description}
+
+%package -n python3-%{srcname}
+Summary: Enrich adds few missing features to the wonderful rich library
+
+Requires: python3dist(rich)
+
+%py_provides python3-%{srcname}
+%description -n python3-%{srcname} %{_description}
+
+%prep
+%autosetup -p1 -n %{srcname}-%{version}
+
+
+%build
+%py3_build
+
+%install
+%py3_install
+
+%check
+PYTHONPATH=src %{python3} -m pytest src/enrich/test -v
+
+%files -n python3-%{srcname}
+%license LICENSE
+%{python3_sitelib}/enrich/
+%{python3_sitelib}/enrich-*.egg-info/
+
+%changelog
+* Tue Dec 22 2020 Chedi Toueiti <chedi.toueiti@gmail.com> - 1.2.6-1
+- Initial commit

diff --git a/sources b/sources
new file mode 100644
index 0000000..ef92a52
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (enrich-1.2.6.tar.gz) = 07c280d3526538af9d718c6d423be50d67e8285007a6702b7f3d842725a63cb282192c29481cbea6cbe7da886b630e5694776092dc0ffcaac522ccf1e895b5a9

                 reply	other threads:[~2026-11-28 16:03 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=179588181942.1.17250872956853588501.rpms-python-enrich-d8085c374500@fedoraproject.org \
    --to=chedi.toueiti@gmail.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