public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-isort/files/, dev-python/pytest-isort/
Date: Wed,  5 Apr 2023 02:38:25 +0000 (UTC)	[thread overview]
Message-ID: <1680662280.d4603df909b3fcaa2305299bfeee66cffdb0a037.julien@gentoo> (raw)

commit:     d4603df909b3fcaa2305299bfeee66cffdb0a037
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Wed Apr  5 02:35:50 2023 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Wed Apr  5 02:38:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d4603df9

dev-python/pytest-isort: add 3.1.0-r1
Add patch for stray files
Credits to Anton (anton.stay.connected <AT> gmail.com)
for providing the patch on b.g.o

Closes: https://bugs.gentoo.org/901215
Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 dev-python/pytest-isort/files/stray-files.patch           | 15 +++++++++++++++
 ...st-isort-3.1.0.ebuild => pytest-isort-3.1.0-r1.ebuild} |  4 ++++
 dev-python/pytest-isort/pytest-isort-3.1.0.ebuild         |  4 ++++
 3 files changed, 23 insertions(+)

diff --git a/dev-python/pytest-isort/files/stray-files.patch b/dev-python/pytest-isort/files/stray-files.patch
new file mode 100644
index 000000000..9c3303ae6
--- /dev/null
+++ b/dev-python/pytest-isort/files/stray-files.patch
@@ -0,0 +1,15 @@
+diff --git a/pyproject.toml b/pyproject.toml
+index 64d36bc..a6420fd 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -25,7 +25,9 @@ classifiers = [
+ 	"Framework :: Pytest",
+ ]
+ packages = [{ include = "pytest_isort" }]
+-include = ["LICENSE.rst"]
++include = [
++	{ path = "LICENSE.rst", format = "sdist" },
++]
+ 
+ [tool.poetry.plugins.pytest11]
+ isort = "pytest_isort"

diff --git a/dev-python/pytest-isort/pytest-isort-3.1.0.ebuild b/dev-python/pytest-isort/pytest-isort-3.1.0-r1.ebuild
similarity index 92%
copy from dev-python/pytest-isort/pytest-isort-3.1.0.ebuild
copy to dev-python/pytest-isort/pytest-isort-3.1.0-r1.ebuild
index 08d7d33b7..b50cd1d16 100644
--- a/dev-python/pytest-isort/pytest-isort-3.1.0.ebuild
+++ b/dev-python/pytest-isort/pytest-isort-3.1.0-r1.ebuild
@@ -23,3 +23,7 @@ RDEPEND="
 	dev-python/isort[${PYTHON_USEDEP}]
 "
 DEPEND="${RDEPEND}"
+
+PATCHES=(
+	"${FILESDIR}/stray-files.patch"
+)

diff --git a/dev-python/pytest-isort/pytest-isort-3.1.0.ebuild b/dev-python/pytest-isort/pytest-isort-3.1.0.ebuild
index 08d7d33b7..b50cd1d16 100644
--- a/dev-python/pytest-isort/pytest-isort-3.1.0.ebuild
+++ b/dev-python/pytest-isort/pytest-isort-3.1.0.ebuild
@@ -23,3 +23,7 @@ RDEPEND="
 	dev-python/isort[${PYTHON_USEDEP}]
 "
 DEPEND="${RDEPEND}"
+
+PATCHES=(
+	"${FILESDIR}/stray-files.patch"
+)


                 reply	other threads:[~2023-04-05  2:38 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=1680662280.d4603df909b3fcaa2305299bfeee66cffdb0a037.julien@gentoo \
    --to=julien@jroy.ca \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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