diff options
author | Gerion Entrup <gerion.entrup@flump.de> | 2024-11-03 13:32:43 +0100 |
---|---|---|
committer | Gerion Entrup <gerion.entrup@flump.de> | 2024-11-03 13:32:43 +0100 |
commit | 2bbb45294134d8182a02143b6b48b73b2c3cfdb2 (patch) | |
tree | 2af4452dc8842de661c1b4ba1e6525c0a33068c1 | |
parent | dev-python/graph-tool: bump to 2.71 (diff) | |
download | gerislay-2bbb45294134d8182a02143b6b48b73b2c3cfdb2.tar.gz gerislay-2bbb45294134d8182a02143b6b48b73b2c3cfdb2.tar.bz2 gerislay-2bbb45294134d8182a02143b6b48b73b2c3cfdb2.zip |
mysql-connector-python: add
Copied from https://github.com/inode64/inode64-overlay.
Thanks to Fco. Javier FĂ©lix for initial packaging.
Signed-off-by: Gerion Entrup <gerion.entrup@flump.de>
-rw-r--r-- | dev-python/mysql-connector-python/Manifest | 3 | ||||
-rw-r--r-- | dev-python/mysql-connector-python/metadata.xml | 11 | ||||
-rw-r--r-- | dev-python/mysql-connector-python/mysql-connector-python-9.1.0.ebuild | 33 |
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/mysql-connector-python/Manifest b/dev-python/mysql-connector-python/Manifest new file mode 100644 index 0000000..7770e21 --- /dev/null +++ b/dev-python/mysql-connector-python/Manifest @@ -0,0 +1,3 @@ +DIST mysql-connector-python-9.1.0.gh.tar.gz 15226668 BLAKE2B 3d914525fd8613a356190f837e69914660a2115db2a494ebda935ead8e94b6c93a52d4a72839b8ab5598af7c8b7f380b5213359c24fab17a2908c447713d210b SHA512 e4b8c61969638e3e924c5f3ff926f3bdb932ba525b32182562f55c7c345b6c0bf4efb33c57ac68b2c8b9e66d9206e3691106574f7ef55bffffd12692f519ca68 +EBUILD mysql-connector-python-9.1.0.ebuild 871 BLAKE2B 2b127d9079fcc11e158d8cdf9d98d6b06b6ddc84a90ac5efe5653446ec14223cb8cfe9e21cfc2d98c4ceacdf4118ffcb7ae895ffa9374f2b3de265884945cf33 SHA512 14b0d7cc47382073b0f75b38793326b39ad1edb11dc2204b2649051687935f708d442943d33a6c138b33f82179fec16a7cffe2a6cfea5632ccaa670cfea727c7 +MISC metadata.xml 345 BLAKE2B 42144e29dc2acb7a8d4bb6569b133702c6310c408a6959161f67c07d340acca5477b0dbf893d50774b023e6ac33a118ef76ff808525bccfdf707c14895fa747e SHA512 e8cbca92052024acfef5b88a671b03cc786a5727b7e9f513380f2e17421ba58dd006d41dc4069602eca9951d5a921c2388e95be38b912552afe8c5b1b9b8c091 diff --git a/dev-python/mysql-connector-python/metadata.xml b/dev-python/mysql-connector-python/metadata.xml new file mode 100644 index 0000000..0c0eee7 --- /dev/null +++ b/dev-python/mysql-connector-python/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>gerion.entrup@flump.de</email> + <name>Gerion Entrup</name> + </maintainer> + <upstream> + <remote-id type="github">mysql/mysql-connector-python</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/mysql-connector-python/mysql-connector-python-9.1.0.ebuild b/dev-python/mysql-connector-python/mysql-connector-python-9.1.0.ebuild new file mode 100644 index 0000000..cbfcf5d --- /dev/null +++ b/dev-python/mysql-connector-python/mysql-connector-python-9.1.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{10..13} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Python client library for MariaDB/MySQL" +HOMEPAGE="https://dev.mysql.com/downloads/connector/python/" +SRC_URI="https://github.com/mysql/mysql-connector-python/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +RESTRICT="test" + +RDEPEND=" + dev-python/dnspython[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] +" + +DOCS=( README.txt CHANGES.txt README.rst ) + +python_compile() { + pushd mysql-connector-python >/dev/null || die + distutils-r1_python_compile + popd >/dev/null || die + + pushd mysqlx-connector-python >/dev/null || die + distutils-r1_python_compile + popd >/dev/null || die +} |