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