summaryrefslogtreecommitdiff
path: root/dev-python/mysql-python
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-09-15 17:37:09 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-09-15 17:37:09 +0100
commit586819755b4dbfdffdc8a725ab7c0f86095b8489 (patch)
treed6790c838cfe9607c996e4913fdf11bad5fdd528 /dev-python/mysql-python
parent3f71901f8c228f4de570abed1831ce3ee425343e (diff)
gentoo resync : 15.09.2018
Diffstat (limited to 'dev-python/mysql-python')
-rw-r--r--dev-python/mysql-python/Manifest1
-rw-r--r--dev-python/mysql-python/mysql-python-1.2.5-r2.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/mysql-python/Manifest b/dev-python/mysql-python/Manifest
index 6c5c1ff39fae..340e5d735c76 100644
--- a/dev-python/mysql-python/Manifest
+++ b/dev-python/mysql-python/Manifest
@@ -2,4 +2,5 @@ DIST MySQL-python-1.2.3.tar.gz 70305 BLAKE2B 8a365732556646c535bd9cfac69c759e561
DIST MySQL-python-1.2.5.zip 108935 BLAKE2B c4d5d4bc814c05604c4acf673ba4f4040dac2653e65173f672a42de4f2877583c79553533040c5502f99b57b71868031daeea7b637a4bea189fb20eea6a6ecc2 SHA512 37521c6fd855c4cde495cc8ec085aca79c2d441a6e3710759385bf2e2c17f43d3311cf1166663892829d2e3999c419443c358c7031cdda225ac44611ced188d0
EBUILD mysql-python-1.2.3-r1.ebuild 847 BLAKE2B 7d3813a9bce6da048889a9a781a009c7156faae8b78de54b0f820341700f927f7507d48733de499fa0bf09aadc5e4ad51001caab76a56766966b6eb9b882e929 SHA512 2593fdc227841b7d35b76fd7418a7e71cccaf113a0a458f9313be0ffbc8020d1e5cd3f0cf47ee27ad1210f4493d8d777cb2181977bbf7d757b1b20d5b1a51fbd
EBUILD mysql-python-1.2.5-r1.ebuild 1124 BLAKE2B 12f6090f00f1d7b1894d26d2265c9c9ea0b2882b259643ddab0451cfd2675e86f60c91d55ffe90ab70ee0e2efab65fa1f6546c6119066ebc72d2ad9a3f336ba9 SHA512 9ae40999076a2b54b74b00adc7d203af5ad2d5c10c4c1ed814135f10c3d63fa9d3682c0e4c288f14fa9b385b67045c1e74c2d3100ba5b047ae7f9900feda859d
+EBUILD mysql-python-1.2.5-r2.ebuild 1165 BLAKE2B 3f8e0274ffe1300e72a3acc880817d29ac30bd8a524244f2c530ae441e4d4426b7c1365decc6e244a3ffeb23667c35b27ab214296f24bc3da0ea10400190b0de SHA512 d6be08aee4082b904a4f3aee82846016481c82bc298baa5b3c4bb485561e195fdaf0e07421a849127b49bb98f40573755fb85f89ba4e70bafa41aa3e5fbf4f08
MISC metadata.xml 384 BLAKE2B 3cfa19a657e3c9f4ffe875d44e01b6ddb72913d6d189a40cb9b3fb7ae6e076deb7f667ba24911ff4627125059dbec21b4fdc6deac20b71dd72de0b500689804a SHA512 df7d59db502cd6ed66cd936708f82efc5e22633508ee367c331d1f66298f806eb3d9a17dc8919c450afe3bebe30fa38e356d3feea2e87c82eea03db54c6e7ee9
diff --git a/dev-python/mysql-python/mysql-python-1.2.5-r2.ebuild b/dev-python/mysql-python/mysql-python-1.2.5-r2.ebuild
new file mode 100644
index 000000000000..e82fab99879f
--- /dev/null
+++ b/dev-python/mysql-python/mysql-python-1.2.5-r2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit distutils-r1 flag-o-matic
+
+MY_PN="MySQL-python"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Python interface to MySQL"
+HOMEPAGE="https://sourceforge.net/projects/mysql-python/ https://pypi.org/project/MySQL-python/"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc"
+
+RDEPEND="dev-db/mysql-connector-c"
+DEPEND="${RDEPEND}"
+BDEPEND="${RDEPEND}
+ app-arch/unzip
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS=( HISTORY README.md doc/{FAQ,MySQLdb}.rst )
+
+python_configure_all() {
+ append-flags -fno-strict-aliasing
+}
+
+python_compile_all() {
+ use doc && sphinx-build -b html doc doc/_build/
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( doc/_build/. )
+ distutils-r1_python_install_all
+}