dev-python/mysqlclient: 1.4.0 bump
authorMatthew Thode <prometheanfire@gentoo.org>
Fri, 18 Jan 2019 21:47:49 +0000 (15:47 -0600)
committerMatthew Thode <prometheanfire@gentoo.org>
Fri, 18 Jan 2019 21:48:05 +0000 (15:48 -0600)
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
dev-python/mysqlclient/Manifest
dev-python/mysqlclient/mysqlclient-1.4.0.ebuild [new file with mode: 0644]

index 514adeb914feb77080fa4b24c821d5e58eed0edc..58a19174b04f959c00c56eec25b55b26507a0e94 100644 (file)
@@ -1,2 +1,3 @@
 DIST mysqlclient-1.3.13.tar.gz 90368 BLAKE2B 34e6aad0d53f93017120334b09b901530a84cc5a5dd806381dcc3f12742764bda6f42699fef226b22274efd8f61304af0d1366abdf44607cd9827e9718ecc285 SHA512 e8e385490bfb2d926a94695089c9532981d1e3fcf1fb89a4dbabe98f0bbb25beed1cce8004b71a11fdf0161824e86826565cdb1ba5f2162450847b6b467f362e
 DIST mysqlclient-1.3.14.tar.gz 91391 BLAKE2B 06a781f21f608246ec2da8a591d7bf5e430d96bc4069e589d6466a2deb4e53ab8a51db0015e4db73a748d6cbdba9c8c550e888e415cf9390afe5f0d7f0620156 SHA512 2623130f67b989f981bec37d19fffd400ba1b144657ff25575d055d19297d0f94c0a70eac980d90a76ef2b0455a56ca033ad92bc54c9456b2c57d5a84475ae50
+DIST mysqlclient-1.4.0.tar.gz 85145 BLAKE2B 3e4dbf474bbf0264dd5e0daa68740e12f3510f489ec4864f6621bcd80353c2a495822daee88222de820684011a69bddb9015c651a9bb55c57e143dfa82ea8300 SHA512 a7b088fff91afe7608d8abd7fbff616df072591e7896019c30a65963f7e491f76717371d3ab9328ce51320d4b36814e6329f49e24c07d6fce7f48e312ba39d8e
diff --git a/dev-python/mysqlclient/mysqlclient-1.4.0.ebuild b/dev-python/mysqlclient/mysqlclient-1.4.0.ebuild
new file mode 100644 (file)
index 0000000..e39a11a
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,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"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc"
+
+RDEPEND="
+       !dev-python/mysql-python
+       virtual/mysql"
+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
+}