public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/aiomysql/, dev-python/aiomysql/files/
@ 2023-12-20  9:10 David Roman
  0 siblings, 0 replies; only message in thread
From: David Roman @ 2023-12-20  9:10 UTC (permalink / raw
  To: gentoo-commits

commit:     31533a1b2a4b37bf75a0f9c185a8ccf24b52b3f9
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue Dec 19 17:50:20 2023 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Dec 19 17:50:20 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=31533a1b

dev-python/aiomysql: remove setuptools_scm_git_archive BDEPEND

Current setuptools-scm replaces it and version detection seems to be
working without proper migration.
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 dev-python/aiomysql/aiomysql-0.1.1.ebuild                  |  2 +-
 dev-python/aiomysql/files/aiomysql-0.1.1-git_archive.patch | 12 ++++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/dev-python/aiomysql/aiomysql-0.1.1.ebuild b/dev-python/aiomysql/aiomysql-0.1.1.ebuild
index d3088f7b7f..0b763cf6eb 100644
--- a/dev-python/aiomysql/aiomysql-0.1.1.ebuild
+++ b/dev-python/aiomysql/aiomysql-0.1.1.ebuild
@@ -22,7 +22,6 @@ KEYWORDS="~amd64 ~x86"
 RDEPEND="dev-python/pymysql[${PYTHON_USEDEP}]"
 BDEPEND="
 	dev-python/setuptools-scm[${PYTHON_USEDEP}]
-	dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
 	test? (
 		$(python_gen_impl_dep "ssl")
 		dev-python/sqlalchemy[${PYTHON_USEDEP}]
@@ -31,6 +30,7 @@ BDEPEND="
 "
 
 DOCS=( CHANGES.txt {CONTRIBUTING,README}.rst )
+PATCHES=( "${FILESDIR}/${P}-git_archive.patch" )
 
 EPYTEST_IGNORE=(
 	# No Table.count() method in recent PyMySQL

diff --git a/dev-python/aiomysql/files/aiomysql-0.1.1-git_archive.patch b/dev-python/aiomysql/files/aiomysql-0.1.1-git_archive.patch
new file mode 100644
index 0000000000..6663bb74ae
--- /dev/null
+++ b/dev-python/aiomysql/files/aiomysql-0.1.1-git_archive.patch
@@ -0,0 +1,12 @@
+diff --git a/pyproject.toml b/pyproject.toml
+index 4e903b7..ad127f2 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -5,7 +5,6 @@ requires = [
+ 
+     # Plugins
+     "setuptools_scm[toml] >= 6.4",
+-    "setuptools_scm_git_archive >= 1.1",
+ ]
+ build-backend = "setuptools.build_meta"
+ 


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

only message in thread, other threads:[~2023-12-20  9:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-20  9:10 [gentoo-commits] repo/proj/guru:master commit in: dev-python/aiomysql/, dev-python/aiomysql/files/ David Roman

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