diff options
author | Zac Medico <zmedico@gentoo.org> | 2017-05-26 12:45:11 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2017-05-26 13:22:07 -0700 |
commit | 9ab6d588fcfa24f78982a9e4e2b6a7dee408482a (patch) | |
tree | ae880c0c87b03fab588ed4f5fedd9eb9cd0410f2 /dev-python/multidict | |
parent | dev-util/numdiff: Fix LOCALEDIR in patch (diff) | |
download | gentoo-9ab6d588fcfa24f78982a9e4e2b6a7dee408482a.tar.gz gentoo-9ab6d588fcfa24f78982a9e4e2b6a7dee408482a.tar.bz2 gentoo-9ab6d588fcfa24f78982a9e4e2b6a7dee408482a.zip |
dev-python/multidict: version bump to 2.1.5
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-python/multidict')
-rw-r--r-- | dev-python/multidict/Manifest | 1 | ||||
-rw-r--r-- | dev-python/multidict/multidict-2.1.5.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/multidict/Manifest b/dev-python/multidict/Manifest index b074be59ff2c..99c004638723 100644 --- a/dev-python/multidict/Manifest +++ b/dev-python/multidict/Manifest @@ -3,3 +3,4 @@ DIST multidict-2.0.1.tar.gz 27586 SHA256 465e0e62dcb68a1779b6428d8ff73134d84f986 DIST multidict-2.1.0.tar.gz 28131 SHA256 91c1b57f79a391cc8efaf6ada7b2a84c3954249ccf290c59d198a2df1ca4084e SHA512 124691f3654b202cc35c59bf4e1c38a9da7d89ca3fed71f800d15313fb4042b55c0df25c012be72b0cf64ca1b8cc00707f001d007df649840e0d7a76d171d385 WHIRLPOOL 6d8d00ca386d2a677fc8aada7c8342eac5163d3ad7ed62f0ace811048f18f72378cf9f874ec8f6ddaccf862735cb7c145cdab81c5b5141ae53354d42663f5931 DIST multidict-2.1.2.tar.gz 28193 SHA256 f258814a672d093e062bb2fa3ebf007db3a542bc55785f25942b0728418feba7 SHA512 7debfe3c0abb3323a5ee82b7522ab86162b3d44333ea7dcb26c7c87d24fb4c4c062095db9603ac4a757d507971fff6252f4b3dd9d2183ea167caa5ae80ae3b33 WHIRLPOOL 6d1a9a66b753c05b430aabc21301576e2b19bde9713be8cb9b25781104c655effcf485cd64b472e82d4568cb06ce92ca3a158b22a547918ec2f44bd2d5068ff6 DIST multidict-2.1.4.tar.gz 28395 SHA256 4116a99f024269210bc5629661e55f5f613e1b11016b3bbf4e0ba453b02a65c1 SHA512 1806f21a528f907ba16cada2eda05c7387d63bec45b7906a5a37eba834a87553c402766f4e50425a41414e93e2fc202d18ad9e6aaf02742fe06899e6a18109c8 WHIRLPOOL d889866bd3b82f7d4c4da963d6a74234f7e161a1d654b1fd5ed5a9ff0e35f1a3ac4d46f4a1ddd6a907abfbd1a29dcc630e0c4463b5252d30357b152d52d516d9 +DIST multidict-2.1.5.tar.gz 28497 SHA256 f3d8f71104d2084cbdb51158ac5eeb6aee0907618a59fe7cb97b2b139d58abb6 SHA512 927f2e0c175e52edbf3a5385957e5988a08061160488df70f7431520ef75439011986365dfebac80e8da6e1874232c532ea96c53081c65c74c04f0e307db6729 WHIRLPOOL 01d2d270571424b01877fee60e84f412f08cfb9371428d20731cc1a1af600fd7f9519d193a37d49bfdc4ecdf572a43ff97903b22d073df5269cf11f03ba91d45 diff --git a/dev-python/multidict/multidict-2.1.5.ebuild b/dev-python/multidict/multidict-2.1.5.ebuild new file mode 100644 index 000000000000..ffd36de34e32 --- /dev/null +++ b/dev-python/multidict/multidict-2.1.5.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python3_{4,5,6} ) + +inherit distutils-r1 vcs-snapshot + +DESCRIPTION="multidict implementation" +HOMEPAGE="https://github.com/aio-libs/multidict/" +SRC_URI="https://github.com/aio-libs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/cython[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) +" +RDEPEND="" + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + # Running tests from ${S} fails as follows: + # ImportError: No module named 'multidict._multidict' + pushd "${BUILD_DIR}" >/dev/null || die + "${PYTHON}" -m pytest "${S}/tests" || die "tests failed under ${EPYTHON}" + popd >/dev/null || die +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + + distutils-r1_python_install_all +} |