dev-python/mysqlclient: 1.4.5 bump
authorMatthew Thode <prometheanfire@gentoo.org>
Wed, 6 Nov 2019 19:22:08 +0000 (13:22 -0600)
committerMatthew Thode <prometheanfire@gentoo.org>
Wed, 6 Nov 2019 19:49:35 +0000 (13:49 -0600)
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
dev-python/mysqlclient/Manifest
dev-python/mysqlclient/mysqlclient-1.4.5.ebuild [new file with mode: 0644]

index 1f3c0719171b80cf4f1d1d3d6e19bde1d9fae677..f40d05f33355636ae8b31f88f1c50527938a2c98 100644 (file)
@@ -1,2 +1,3 @@
 DIST mysqlclient-1.3.14.tar.gz 91391 BLAKE2B 06a781f21f608246ec2da8a591d7bf5e430d96bc4069e589d6466a2deb4e53ab8a51db0015e4db73a748d6cbdba9c8c550e888e415cf9390afe5f0d7f0620156 SHA512 2623130f67b989f981bec37d19fffd400ba1b144657ff25575d055d19297d0f94c0a70eac980d90a76ef2b0455a56ca033ad92bc54c9456b2c57d5a84475ae50
 DIST mysqlclient-1.4.2-r2.tar.gz 85662 BLAKE2B 5e375c142d392d79ca3b119d52625c3c65a074fb90e71eabd2791823738995d390de90c50c20dced9df91e071d74d7a318cf09779c44387eb4103845486b48ad SHA512 d42969bc37b5148fed14b815280890f07058f75ef99390674f6ba3921f5dbaddc3ab2344f41e3b6d36f35229feffbc419a2ad31e2268e70165b1973356ec9c32
+DIST mysqlclient-1.4.5.tar.gz 86278 BLAKE2B 5ad1c6662c699dfa35e47734e211aa67bca2cb5c74194363b30a1d34a67bb5cd9d549448068aa9f912863e1457e13b42f765b7eaa95a9be0e8596dc550dcd977 SHA512 d6ea6c04618fd274544dccdefc8a7d8f94989a368404d0db1514710d03de5df5c8b864509d8a28feb1cd1d68d9b23967ae9a34f31dd5221b569e64d28a6be022
diff --git a/dev-python/mysqlclient/mysqlclient-1.4.5.ebuild b/dev-python/mysqlclient/mysqlclient-1.4.5.ebuild
new file mode 100644 (file)
index 0000000..775e916
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Fork of MySQL-python"
+HOMEPAGE="https://pypi.org/project/mysqlclient/ https://github.com/PyMySQL/mysqlclient-python"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz -> ${PF}.tar.gz"
+S="${WORKDIR}/${P}.post1"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc"
+
+RDEPEND="
+       !dev-python/mysql-python
+       dev-db/mysql-connector-c:0="
+DEPEND="${RDEPEND}
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
+
+DOCS=( README.md doc/{FAQ,MySQLdb}.rst )
+
+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
+}