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