public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-isort/files/, dev-python/pytest-isort/
@ 2023-04-05  2:38 Julien Roy
  0 siblings, 0 replies; only message in thread
From: Julien Roy @ 2023-04-05  2:38 UTC (permalink / raw
  To: gentoo-commits

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"
+)


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-05  2:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-05  2:38 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-isort/files/, dev-python/pytest-isort/ Julien Roy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox