diff options
Diffstat (limited to 'dev-python/pymysql')
-rw-r--r-- | dev-python/pymysql/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pymysql/pymysql-0.8.0.ebuild | 31 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/pymysql/Manifest b/dev-python/pymysql/Manifest index f649cd6587e9..8065f5498d42 100644 --- a/dev-python/pymysql/Manifest +++ b/dev-python/pymysql/Manifest @@ -1,3 +1,5 @@ DIST pymysql-0.7.11.tar.gz 82213 BLAKE2B 45ef3b4c8f4d9a9d3cb5b706f68a52b860bc21298b9fb7d983ea3fc6910c5a53e9e963a712735f93588501ff7297a2f10a74b44965eab4554a554a4a9f0e2b0e SHA512 b83fbbf77fad8e775ba48cf56f32deb61d2d54d64bd1f83e097c61d87b33a881787125c839b78f18b413722299c24a8a14dc9b36f5df7ff7f9c6ea56b2597150 +DIST pymysql-0.8.0.tar.gz 82975 BLAKE2B c1345ff6d266d5a3670d8bb1d7d7becad218ed294ab912f3f28e49163851e2e36fc1bb5a13a5d0f62ba753d264f736a6a87e11d290cc4fd604714fe1d4f9569d SHA512 41597d3955a35283656b5cbc137b0cb63eb48658dc61f0ba1fc0c207bad07472896e557b2996e52fbc2646163bce69e7d2fed81349355e72368cf395f51e2916 EBUILD pymysql-0.7.11.ebuild 691 BLAKE2B d2fa29a9623b07e0613e83c345be814412f5149e9089bced2d2f350ec3452b3c13cbced81720973e58cd6de38e380f912ad74390e3efeb2eba5bd7a7589dcad4 SHA512 b31309b0a30a479c494221f36c816db3bbeb66d3e373069ea6193a0163f5962f95ea612e0006a8e05cd6c633e7fe641376f8415ec4b8df6991fff858ee59a9d0 +EBUILD pymysql-0.8.0.ebuild 693 BLAKE2B 1736b3c63ca463e590692d522e6f33f0c68b645ac7a7aee6f53e784724d253eea4f4446413a9947b9eefffb68bf061a064faa5c733883d91a4e43e189a62b36e SHA512 3eaad8a2b7746a224e1c0097b5e4d2e003b4af0bcffb2e96a613f8a8e467fafbc4d6f2a0105148abe7f8268a104862bc3ac219b42f62259790cdfe1f101e5014 MISC metadata.xml 553 BLAKE2B a3f93a6e059fcb457326fe8ca880b1a268be1d5d847a0bd8648156036428a5e2f6cbe47adda3e3cb220c236b4307bb0dba8ea616842437e2408407fae01c16bb SHA512 3799a369db7d62654ead99e579ea2b7f19e33c35654fb4f721e37a46f4a449d67f1173f45abf8e34b330e87a872c0182d7a47dcda97a6d2c40e78ebfab6841bd diff --git a/dev-python/pymysql/pymysql-0.8.0.ebuild b/dev-python/pymysql/pymysql-0.8.0.ebuild new file mode 100644 index 000000000000..69f4ea52edf5 --- /dev/null +++ b/dev-python/pymysql/pymysql-0.8.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} 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/v${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 +} |