summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pymysql')
-rw-r--r--dev-python/pymysql/Manifest1
-rw-r--r--dev-python/pymysql/pymysql-0.7.6.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/pymysql/Manifest b/dev-python/pymysql/Manifest
index b42ac46e7dc..3edb1ec3d5b 100644
--- a/dev-python/pymysql/Manifest
+++ b/dev-python/pymysql/Manifest
@@ -1,3 +1,4 @@
DIST pymysql-0.6.3.tar.gz 52877 SHA256 eeb9772521cd08132885a283ba885dce5929994daf4953eb27a5ebde6f353143 SHA512 5dfe41039e703d2feb53b25db45a0541929bf52a2fe7b8f06b1dd3ff71118b99808b6d299f52073aaab779cddcd9858a51d59f23f1983e4f200d672caee5e624 WHIRLPOOL 0c0c6dd747200f2dbdde35767bb53177cdfbeae1d3623f6f1329c5030cfb89650c627cc73f2bf7039da96d3cb1e3b285ab304b5d12cc8806bcc5ef703ca06bd0
DIST pymysql-0.6.6.tar.gz 58118 SHA256 613073e7b0ede054620e5863cb0e461a13abc0f2f00b894a5f4d6de104b8dc2b SHA512 c09fc9801132243708cab18b7e4e1e9ed706579c6a08a51867bec41d27af41b1c19e33290206cf881153d81f42e5a9ba0871ad472abcc90a818a14f9413a5de6 WHIRLPOOL 0d90a574ed194420da938246c1037abfac2e1e344a5886a91444236425e6f05d84f8027b2706b7548e50646cfd95e00ab3ed5aa85464a8a0a1b8c5ec3c1fedc7
DIST pymysql-0.6.7.tar.gz 63485 SHA256 e0e0e0bd417993b9d455733630557d36f58e1fbf50788c61eb99d0d6e3e96a25 SHA512 8eabb4f870ad35b5437b6e2c773fe61ebecdeeb61187f008e515d40ebad0141cd929f894291ff85f50bd4fdc842e902afb7399fb8655b231443ac3ff49ed5d39 WHIRLPOOL 44e457c23a75c537ac2de283bf8a5a2cbfa9cbe0d8401aff992dd7ba1fb740a816647543703603f1e0073114a07fabaeee53e333ec21c17377de98cd8850d51d
+DIST pymysql-0.7.6.tar.gz 81842 SHA256 eb5fd3ef7a0d18a705d00ceb07e6d18653bd8042055181442bfb16231e7505e6 SHA512 02efa79253c9aaf631d77ab7d7acffb96e81d96cea781dd7c80a268f13098e3f2d538db1161417dcd96d0e3a19edf7ff888e791e4a332b1edd9edf2ff9f2de36 WHIRLPOOL e614487700867813921b1c142ac0b6595e8071a7d160e7024b66c876095b5b9c0386c4f6e5d04689f4ba1716f86eeb0351404fe5152efd6bbd4a2eb6e343721a
diff --git a/dev-python/pymysql/pymysql-0.7.6.ebuild b/dev-python/pymysql/pymysql-0.7.6.ebuild
new file mode 100644
index 00000000000..ff47e940a72
--- /dev/null
+++ b/dev-python/pymysql/pymysql-0.7.6.ebuild
@@ -0,0 +1,32 @@
+# 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 pypy3 )
+
+inherit distutils-r1
+
+MY_PN="PyMySQL"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Pure-Python MySQL Driver"
+HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="test"
+
+S=${WORKDIR}/${MY_P}
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+# While tests exist, they require an unsecure server to run without manual config file
+RESTRICT="test"
+
+python_test() {
+ ${PYTHON} runtests.py || die
+}