mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 16:13:21 -04:00
dev-python/*: remove more masked packages
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
DIST databases-0.5.3.tar.gz 28342 BLAKE2B dcf8533a49b92a325bfda1440fd5bac3f9bd69751496c6fcdf72c422cc19c552a7458dc4ea0607a2a1ad9ade9afbb8cac00e178c29b6b11f7011bd4eae1f70a0 SHA512 bd0c4f1bf0f81e017ea55e41a6d4821ee17e0f995b600a50955fba68841443147dd234534b9c72d753b99785a5a08ac6e3d839894ec4760c602372cccbd4c1c0
|
||||
DIST databases-0.6.1.tar.gz 31487 BLAKE2B b325112c7bcab133d113e8f652d636f26fccff7ec4849868ef8b437ed1939d01819bce63f7962edab030c6b3a232c5908b28cefa20fae3be28a4db1662c64b34 SHA512 6573dbe9158963e8fc3a79ad32a2c17bac1c1a58fc436f2a8223f8c390b264e814a08c807f59e5c8c54f1769a804ead47f9b44622c363da0cc74528d87b1484e
|
||||
@@ -1,69 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
DOCS_BUILDER="mkdocs"
|
||||
DOCS_DEPEND="dev-python/mkdocs-material"
|
||||
|
||||
inherit distutils-r1 docs optfeature
|
||||
|
||||
DESCRIPTION="Async database support for Python."
|
||||
HOMEPAGE="
|
||||
https://www.encode.io/databases/
|
||||
https://github.com/encode/databases
|
||||
"
|
||||
SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/sqlalchemy-1.4.0[${PYTHON_USEDEP}]
|
||||
<dev-python/sqlalchemy-1.5.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
BDEPEND="test? (
|
||||
dev-python/aiopg[${PYTHON_USEDEP}]
|
||||
dev-python/aiosqlite[${PYTHON_USEDEP}]
|
||||
dev-python/async-timeout[${PYTHON_USEDEP}]
|
||||
dev-python/asyncpg[${PYTHON_USEDEP}]
|
||||
dev-python/psycopg[${PYTHON_USEDEP}]
|
||||
dev-python/pymysql[${PYTHON_USEDEP}]
|
||||
dev-python/starlette[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
tests/test_connection_options.py::test_mysql_pool_size
|
||||
tests/test_connection_options.py::test_mysql_explicit_pool_size
|
||||
tests/test_connection_options.py::test_mysql_ssl
|
||||
tests/test_connection_options.py::test_mysql_explicit_ssl
|
||||
tests/test_connection_options.py::test_mysql_pool_recycle
|
||||
tests/test_databases.py
|
||||
tests/test_integration.py::test_integration
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
# do not install LICENSE to /usr/
|
||||
sed -i -e '/data_files/d' setup.py || die
|
||||
# fix tests
|
||||
sed -i -e '/databases.backends.mysql/d' tests/test_connection_options.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
TEST_DATABASE_URLS="" epytest
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "postgresql support" dev-python/asyncpg dev-python/psycopg
|
||||
optfeature "mysql support" dev-python/pymysql
|
||||
optfeature "sqlite support" dev-python/aiosqlite
|
||||
optfeature "postgresql+aiopg support" dev-python/aiopg
|
||||
}
|
||||
@@ -1,86 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DOCS_BUILDER="mkdocs"
|
||||
DOCS_AUTODOC=1
|
||||
DOCS_DEPEND="dev-python/mkdocs-material"
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit databases distutils-r1 docs optfeature
|
||||
|
||||
DESCRIPTION="Async database support for Python"
|
||||
HOMEPAGE="
|
||||
https://www.encode.io/databases/
|
||||
https://github.com/encode/databases
|
||||
"
|
||||
SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="<=dev-python/sqlalchemy-1.4.41[${PYTHON_USEDEP}]"
|
||||
BDEPEND="test? (
|
||||
dev-python/aiomysql[${PYTHON_USEDEP}]
|
||||
dev-python/aiopg[${PYTHON_USEDEP}]
|
||||
dev-python/aiosqlite[${PYTHON_USEDEP}]
|
||||
dev-python/async-timeout[${PYTHON_USEDEP}]
|
||||
dev-python/asyncmy[${PYTHON_USEDEP}]
|
||||
dev-python/asyncpg[${PYTHON_USEDEP}]
|
||||
dev-python/psycopg:2[${PYTHON_USEDEP}]
|
||||
dev-python/pymysql[${PYTHON_USEDEP}]
|
||||
dev-python/sqlalchemy[sqlite,${PYTHON_USEDEP}]
|
||||
dev-python/starlette[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# fix tests
|
||||
#sed -i -e '/databases.backends.mysql/d' tests/test_connection_options.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local databases=(
|
||||
"sqlite:///testsuite"
|
||||
"sqlite+aiosqlite:///testsuite"
|
||||
"mysql://root@127.0.0.1:3333/testsuite"
|
||||
"mysql+aiomysql://root@127.0.0.1:3333/testsuite"
|
||||
"mysql+asyncmy://root@127.0.0.1:3333/testsuite"
|
||||
"postgresql://postgres@127.0.0.1:65432/"
|
||||
"postgresql+aiopg://postgres@127.0.0.1:65432/"
|
||||
"postgresql+asyncpg://postgres@127.0.0.1:65432/"
|
||||
)
|
||||
|
||||
local -x TEST_DATABASE_URLS=$(printf "%s," "${databases[@]}")
|
||||
TEST_DATABASE_URLS=${TEST_DATABASE_URLS::-1}
|
||||
|
||||
emysql --start 3333
|
||||
epostgres --start 65432
|
||||
|
||||
ebegin "Creating mysql database 'testsuite'"
|
||||
mysql --user=root --socket=$(emysql --get-sockfile) --silent \
|
||||
--execute="CREATE DATABASE testsuite;"
|
||||
eend $? || emysql --die "Creating mysql database failed"
|
||||
|
||||
distutils-r1_src_test
|
||||
|
||||
emysql --stop
|
||||
epostgres--stop
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "fancy logs" dev-python/click
|
||||
optfeature "mysql support" dev-python/pymysql
|
||||
optfeature "mysql+aiomysql support" dev-python/aiomysql
|
||||
optfeature "mysql+asyncmy support" dev-python/asyncmy
|
||||
optfeature "postgresql support" dev-python/psycopg:2
|
||||
optfeature "postgresql+asyncpg support" dev-python/asyncpg
|
||||
optfeature "postgresql+aiopg support" dev-python/aiopg
|
||||
optfeature "sqlite+aiosqlite support" dev-python/aiosqlite
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>piotr.staroszczyk@get24.org</email>
|
||||
<name>Piotr Staroszczyk</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">encode/databases</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1 +0,0 @@
|
||||
DIST gevent-websocket-0.10.1.tar.gz 18366 BLAKE2B bf811eeabab247f97946c971aabd3e4a5cc6034f0874bdfcfbd83ebd08a276d72f70c97694da5fbbb96c988b288d45f55970949d9f4f75bbcb62c027f13aaed2 SHA512 4f25ec1646c223b89ddbb7cf4decae72cc4baa6e872443dc05994987f509068a806c8b5e135c433d631e35b3902227f0e4c89d8071aa74e24c06b0e543e8df93
|
||||
@@ -1,18 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Websocket handler for the gevent pywsgi server"
|
||||
HOMEPAGE="https://pypi.org/project/gevent-websocket/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="dev-python/gevent[${PYTHON_USEDEP}]"
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>vowstar@gmail.com</email>
|
||||
<name>Huang Rui</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">gevent-websocket</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1 +0,0 @@
|
||||
DIST sqlalchemy-migrate-0.13.0.tar.gz 131424 BLAKE2B 925ee05144360c469d714342005c8b79dc0f1ef7c07ec641c00ec39e4aa18046b3afa7524f4e5afeb292cf78b2b85bac714f44102e0daf799ce09f0af40f3047 SHA512 1ca826a5d80c1373ffc4b2366dfb6d5dd24204964462873451c97d8ff4d75fc6c63f663c4769b7f6cc00002f6a98d425f41d759e5c010b4b81a8b74ffbb102b6
|
||||
@@ -1,13 +0,0 @@
|
||||
intersphinx: prevent resource downloads at build time\
|
||||
--- a/doc/source/conf.py
|
||||
+++ b/doc/source/conf.py
|
||||
@@ -28,8 +28,7 @@ sys.path.append(os.path.dirname(os.path.abspath('.')))
|
||||
|
||||
# Add any Sphinx extension module names here, as strings. They can be extensions
|
||||
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
||||
-extensions = ['sphinx.ext.autodoc',
|
||||
- 'sphinx.ext.intersphinx']
|
||||
+extensions = ['sphinx.ext.autodoc']
|
||||
|
||||
# link to sqlalchemy docs
|
||||
intersphinx_mapping = {
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>vowstar@gmail.com</email>
|
||||
<name>Huang Rui</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">sqlalchemy-migrate</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{7..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="SQLAlchemy Schema Migration Tools"
|
||||
HOMEPAGE="https://pypi.org/project/sqlalchemy-migrate/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
CDEPEND=">=dev-python/pbr-1.8.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
RDEPEND=">=dev-python/sqlalchemy-0.9.6[${PYTHON_USEDEP}]
|
||||
dev-python/decorator[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.7.0[${PYTHON_USEDEP}]
|
||||
dev-python/sqlparse[${PYTHON_USEDEP}]
|
||||
>=dev-python/tempita-0.4[${PYTHON_USEDEP}]"
|
||||
# Testsuite requires a missing dep and errors with poor report output
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-0.13-disable-sphinx-exts.patch" )
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
einfo ""; einfo "The build seeks to import modules from an installed state of the package"
|
||||
einfo "simply ignore all warnings / errors of failure to import module migrate.<module>"; einfo ""
|
||||
emake -C doc/source html
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/source/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
DIST tooz-2.11.1.tar.gz 96028 BLAKE2B 638bddc4b06afc601b750f0da41fec9efde71ed6a36e7eb75a1d4e1d47efafa4d84975b686babb4f4bbe5e2bc3304c7db267b72fb1b16c41fcaf573bfc7e3039 SHA512 865a6bd944c949a3af63cd8f91641414c24e875bef89d8bacc3a4207109e605f3b1471ebc3192f2224c264773ea8e6d6229e5ce7a40b3c1ad2fc25a61ba14270
|
||||
@@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
The Tooz project aims at centralizing the most common distributed primitives like group membership protocol, lock service and leader election by providing a coordination API helping developers to build distributed applications.
|
||||
</longdescription>
|
||||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<remote-id type="pypi">tooz</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Library centralizing the most common distributed primitives"
|
||||
HOMEPAGE="
|
||||
https://opendev.org/openstack/tooz
|
||||
https://pypi.org/project/tooz/
|
||||
https://launchpad.net/python-tooz
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/pbr-1.6.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-1.16.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/voluptuous-0.8.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/msgpack-0.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/fasteners-0.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/tenacity-5.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/futurist-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-utils-4.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pifpaf-0.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ddt-1.2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/nose-1.3.7[${PYTHON_USEDEP}]
|
||||
|
||||
dev-python/etcd3[${PYTHON_USEDEP}]
|
||||
dev-python/etcd3gw[${PYTHON_USEDEP}]
|
||||
dev-python/pymemcache[${PYTHON_USEDEP}]
|
||||
dev-python/pymysql[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/sysv_ipc[${PYTHON_USEDEP}]
|
||||
dev-python/zake[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests nose
|
||||
|
||||
python_prepare_all() {
|
||||
# allow usage of renamed msgpack
|
||||
sed -i '/^msgpack/d' requirements.txt || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests \
|
||||
-e tooz.tests.test_coordination.TestAPI \
|
||||
-e tooz.tests.test_memcache.TestMemcacheDriverFailures.test_client_failure_join \
|
||||
-e tooz.tests.test_memcache.TestMemcacheDriverFailures.test_client_failure_leave \
|
||||
-e tooz.tests.test_partitioner \
|
||||
|| die
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
DIST zake-0.2.2.tar.gz 13544 BLAKE2B 622f56430a2451c24f687d319188d35cef62059a4bfd9983be323184de6f7b346d236e1fec8922a130b263296e3a1569aa1dc4f6dacbceff68c1dcba81401181 SHA512 40da54970553e2e560de2f76c54ab55287e29f99c53c41c2c50fa8642855f1632319aa80e77f4f2ae0a776b94667839385e6323a174cd76219420be71adf7484
|
||||
@@ -1,25 +0,0 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
A python package that works to provide a nice set of testing utilities for the kazoo library.
|
||||
|
||||
It includes the following functionality:
|
||||
|
||||
Storage access (for viewing what was saved/created).
|
||||
Kazoo mostly compatible client API.
|
||||
Sync/transaction/create/get/delete... commands.
|
||||
Listener support.
|
||||
And more...
|
||||
|
||||
It simplifies testing by providing a client that has a similar API as the kazoo client so that your tests (or applications/libraries that use kazoo) do not require a real zookeeper server to be tested with (since this is not available in all testing environments).
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">yahoo/Zake</remote-id>
|
||||
<remote-id type="pypi">zake</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,32 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Provide a nice set of testing utilities for the kazoo library"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/zake/
|
||||
https://github.com/yahoo/Zake
|
||||
"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND=">=dev-python/kazoo-1.3.1[${PYTHON_USEDEP}]"
|
||||
DEPEND="
|
||||
${REDEPEND}
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/testtools[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests nose
|
||||
Reference in New Issue
Block a user