dev-python/aiomysql: treeclean

Closes: https://bugs.gentoo.org/922914 (pkgremoved)
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2025-04-05 13:44:28 +05:00
parent f3702c91c8
commit aa47db83e2
5 changed files with 0 additions and 91 deletions

View File

@@ -1 +0,0 @@
DIST aiomysql-0.1.1.tar.gz 106303 BLAKE2B d7726ba0c8bf27d115b6bae092679e4365debf22ecb01eb1dd0664396d29c43c49a9b3c30bc585d91d2866dc1f48dd61bc4464afe445ba4d77f7a9232bb23649 SHA512 b83a91465caf756f8a3046651d90b5a39d9b2714d96d8bb1c6df4fa6b47189c24979d88901d7f7fb1d2dd235c4a19e2d9ed3f73c8ace42950d12e1cdbb0e46ac

View File

@@ -1,65 +0,0 @@
# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..12} )
DISTUTILS_USE_PEP517=setuptools
inherit databases distutils-r1
DESCRIPTION="aiomysql is a library for accessing a MySQL database from the asyncio"
HOMEPAGE="
https://pypi.python.org/pypi/aiomysql
https://github.com/aio-libs/aiomysql
https://aiomysql.readthedocs.io/en/latest/
"
SRC_URI="https://github.com/aio-libs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="dev-python/pymysql[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
test? (
${DATABASES_DEPEND[mysql]}
$(python_gen_impl_dep "ssl")
dev-python/sqlalchemy[${PYTHON_USEDEP}]
dev-python/uvloop[${PYTHON_USEDEP}]
)
"
DOCS=( CHANGES.txt {CONTRIBUTING,README}.rst )
PATCHES=( "${FILESDIR}/${P}-git_archive.patch" )
EPYTEST_IGNORE=(
# No Table.count() method in recent PyMySQL
tests/test_async_with.py
tests/sa/test_sa_connection.py
tests/sa/test_sa_transaction.py
)
distutils_enable_tests pytest
#distutils_enable_sphinx docs \
#dev-python/sphinxcontrib-asyncio
python_test() {
epytest "${S}"/tests --mysql-unix-socket "$(emysql --get-sockfile)"
}
src_test() {
emysql --start 3333
local sockfile=$(emysql --get-sockfile)
local -x MYSQL_ROOT_PASSWORD="rootpw"
ebegin "Changing database password"
mysql --user=root --socket="${sockfile}" --silent \
--execute="ALTER USER 'root'@'localhost' IDENTIFIED BY '${MYSQL_ROOT_PASSWORD}';"
eend $? || emysql --die "Changing database password failed"
distutils-r1_src_test
emysql --stop
}

View File

@@ -1,12 +0,0 @@
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"

View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<upstream>
<remote-id type="github">aio-libs/aiomysql</remote-id>
</upstream>
</pkgmetadata>