add dev-python/mariadb-1.0.11 (replacement for mysql-connector-python)
This commit is contained in:
parent
147eda27c9
commit
497ba0e677
3
dev-python/mariadb/Manifest
Normal file
3
dev-python/mariadb/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
DIST mariadb-1.0.11.zip 85926 BLAKE2B aa71c1f0876a645ad8e59d393d27f15df281688b36b6a1de65b9c1dda9b2f6f3eb528b6349dd33247b0ebf6bc58e09b8d8c1d23476a854d9180c5decba38392c SHA512 18c732f85b8072248c9dc194bfce7dc8410c1af00f4240adb899fef6871190dff5a6ef8a6e6c35087bbd0ec9a339663145ecb4962cc7be4bd2e6dafaf158d6c4
|
||||
EBUILD mariadb-1.0.11.ebuild 767 BLAKE2B 4768b81073c8ce0de06f173659a8661688efdb0a3068a680db5196674661b14298532394c71ca9bf5b9d9c52499b8809f4544666c8ee959be8e866242340e3c5 SHA512 f5e775d234793f55bd73517d04fcfb7b1c4ce5df2bb59bc4e12e081ba5e04c76cae800e3d47e93a7c6f049c3c47037c1cc5696f53992d30b030156e8931ec813
|
||||
MISC metadata.xml 326 BLAKE2B bda4391610a7203309aa5986864423a433c6f317f29b9bc38fc2bcb0716ffed48268dd5b5a45d7ae259494820074fff56b5e2ae7afe9b94aa6ea2c9a6a3d2ea4 SHA512 60481c7bb64c7be4ad75d9ec8ca8d6e69492e47daf4feb040cd7be5c004a12d1b15b63b858e0498ad4e1a16a31be2fe01ca6fc73c62abdeb19d2c68f43d88f66
|
||||
35
dev-python/mariadb/mariadb-1.0.11.ebuild
Normal file
35
dev-python/mariadb/mariadb-1.0.11.ebuild
Normal file
@ -0,0 +1,35 @@
|
||||
# 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="Python MariaDB extension"
|
||||
HOMEPAGE="https://www.github.com/mariadb-corporation/mariadb-connector-python https://pypi.org/project/mariadb/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND="dev-db/mariadb-connector-c"
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
11
dev-python/mariadb/metadata.xml
Normal file
11
dev-python/mariadb/metadata.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>b@edevau.net</email>
|
||||
<name>Andreas Billmeier</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">mariadb</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Loading…
x
Reference in New Issue
Block a user