From 31533a1b2a4b37bf75a0f9c185a8ccf24b52b3f9 Mon Sep 17 00:00:00 2001 From: Takuya Wakazono Date: Wed, 20 Dec 2023 02:50:20 +0900 Subject: [PATCH] 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 --- dev-python/aiomysql/aiomysql-0.1.1.ebuild | 2 +- .../aiomysql/files/aiomysql-0.1.1-git_archive.patch | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 dev-python/aiomysql/files/aiomysql-0.1.1-git_archive.patch 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" +