summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/mysqlclient/Manifest1
-rw-r--r--dev-python/mysqlclient/mysqlclient-1.3.8.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/mysqlclient/Manifest b/dev-python/mysqlclient/Manifest
index 21d25bc454e..e1b267fa7d8 100644
--- a/dev-python/mysqlclient/Manifest
+++ b/dev-python/mysqlclient/Manifest
@@ -1 +1,2 @@
DIST mysqlclient-1.3.7.tar.gz 79823 SHA256 c74a83b4cb2933d0e43370117eeebdfa03077ae72686d2df43d31879267f1f1b SHA512 e49aa1c8b3052c115c0423ed0375c7cfaaf2ce2a4e467175ad64ca76eaad6ecff260db8a9afabe7c9c21f017e0c73277c9cf71dde939bf5b31ff3f284331bafe WHIRLPOOL 054cc538f9182c17c006e09eb4a9555910ca621a6729c9d7a06f223ff920bb89fce7c88b4cc0feef14c25a53e7d4be22917ad5c36896d78a7ef05e543c69a13b
+DIST mysqlclient-1.3.8.tar.gz 81405 SHA256 c64bc386c0b771ed6ff76de0f52e0f957f98d9e13c83b0ddb821afdbe3f5d970 SHA512 5b955693a7bf8f682c689c80be3451b6e50a907a76fef9438f646fb968ee6cf9a47cd0d624042696c19a19908795a8d7e8492f1ac72e8f6ea057d28df163d2d6 WHIRLPOOL 0be71fd875d7d8581d5d7b5cd48ab72042967c3536221a6fe96eb1a21d008131598d6cc0e7bcea94d69e631e807643c8d58e505d71e5e41dd040545a3b72ca5c
diff --git a/dev-python/mysqlclient/mysqlclient-1.3.8.ebuild b/dev-python/mysqlclient/mysqlclient-1.3.8.ebuild
new file mode 100644
index 00000000000..81f72e4bad2
--- /dev/null
+++ b/dev-python/mysqlclient/mysqlclient-1.3.8.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Fork of MySQL-python"
+HOMEPAGE="https://pypi.python.org/pypi/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=( HISTORY 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
+}