diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2018-02-22 22:22:58 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2018-02-22 22:22:58 +0100 |
commit | 953e5e41ad1bea2a7780e4866d7afa19d567a888 (patch) | |
tree | 697ec0ab870717d0e8cd2168e0b147dd88e373e0 /dev-python/pymysql | |
parent | sys-auth/pam_mysql: Bump to v0.8.1 (diff) | |
download | gentoo-953e5e41ad1bea2a7780e4866d7afa19d567a888.tar.gz gentoo-953e5e41ad1bea2a7780e4866d7afa19d567a888.tar.bz2 gentoo-953e5e41ad1bea2a7780e4866d7afa19d567a888.zip |
dev-python/pymysql: Bump to v0.8.0
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-python/pymysql')
-rw-r--r-- | dev-python/pymysql/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pymysql/pymysql-0.8.0.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/pymysql/Manifest b/dev-python/pymysql/Manifest index 70c13e6afe9f..fa5aa52be681 100644 --- a/dev-python/pymysql/Manifest +++ b/dev-python/pymysql/Manifest @@ -1 +1,2 @@ DIST pymysql-0.7.11.tar.gz 82213 BLAKE2B 45ef3b4c8f4d9a9d3cb5b706f68a52b860bc21298b9fb7d983ea3fc6910c5a53e9e963a712735f93588501ff7297a2f10a74b44965eab4554a554a4a9f0e2b0e SHA512 b83fbbf77fad8e775ba48cf56f32deb61d2d54d64bd1f83e097c61d87b33a881787125c839b78f18b413722299c24a8a14dc9b36f5df7ff7f9c6ea56b2597150 +DIST pymysql-0.8.0.tar.gz 82975 BLAKE2B c1345ff6d266d5a3670d8bb1d7d7becad218ed294ab912f3f28e49163851e2e36fc1bb5a13a5d0f62ba753d264f736a6a87e11d290cc4fd604714fe1d4f9569d SHA512 41597d3955a35283656b5cbc137b0cb63eb48658dc61f0ba1fc0c207bad07472896e557b2996e52fbc2646163bce69e7d2fed81349355e72368cf395f51e2916 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 +} |