diff options
author | 2019-04-23 18:25:25 +0300 | |
---|---|---|
committer | 2019-04-23 19:16:04 +0300 | |
commit | a691703681da5628aa8658500dcc1b6d1a273adb (patch) | |
tree | 177b041b639d4012348da2b66d911529e340c416 | |
parent | dev-python/frozendict: Initial import (diff) | |
download | alexxy-a691703681da5628aa8658500dcc1b6d1a273adb.tar.gz alexxy-a691703681da5628aa8658500dcc1b6d1a273adb.tar.bz2 alexxy-a691703681da5628aa8658500dcc1b6d1a273adb.zip |
dev-python/future: Version bump
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
-rw-r--r-- | dev-python/future/Manifest | 1 | ||||
-rw-r--r-- | dev-python/future/future-0.17.1.ebuild | 48 | ||||
-rw-r--r-- | dev-python/future/metadata.xml | 11 |
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/future/Manifest b/dev-python/future/Manifest new file mode 100644 index 0000000..8700c6d --- /dev/null +++ b/dev-python/future/Manifest @@ -0,0 +1 @@ +DIST future-0.17.1.tar.gz 829119 SHA256 67045236dcfd6816dc439556d009594abf643e5eb48992e36beac09c2ca659b8 SHA512 50094c44db81afbfd37ee25e1710ed11ecb2c2d64ad076fb62a2688dd36a9696ab26b0d7989bf1ecb10da251961a0ee6bb37c4dbd115f70384cd8c9a675d0b2d WHIRLPOOL da0ad4369739e8256ee94f88bc19e5315b824675bb1f2e0f90e78bf2786d4becbbfa0f138297790e9b8b5bbc1ce716df6d8b14ac3c869827f04d61a19c456d11 diff --git a/dev-python/future/future-0.17.1.ebuild b/dev-python/future/future-0.17.1.ebuild new file mode 100644 index 0000000..c70e541 --- /dev/null +++ b/dev-python/future/future-0.17.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) + +inherit distutils-r1 + +DESCRIPTION="Easy, clean, reliable Python 2/3 compatibility" +HOMEPAGE="http://python-future.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux" +IUSE="doc test" + +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx-bootstrap-theme[${PYTHON_USEDEP}] + ) + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +PATCHES=( +) + +python_prepare_all() { + sed -i "/'sphinx.ext.intersphinx'/d" docs/conf.py || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + if use doc; then + sphinx-build docs/ docs/_build/html || die + HTML_DOCS=( docs/_build/html/. ) + fi +} + +python_test() { + pytest -vv || die "Tests failed under ${EPYTHON}" +} diff --git a/dev-python/future/metadata.xml b/dev-python/future/metadata.xml new file mode 100644 index 0000000..c7fc947 --- /dev/null +++ b/dev-python/future/metadata.xml @@ -0,0 +1,11 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">future</remote-id> + </upstream> +</pkgmetadata> |