diff options
Diffstat (limited to 'dev-python/six')
-rw-r--r-- | dev-python/six/Manifest | 2 | ||||
-rw-r--r-- | dev-python/six/six-1.12.0.ebuild | 39 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/six/Manifest b/dev-python/six/Manifest index a983e59f505b..c00472d584fe 100644 --- a/dev-python/six/Manifest +++ b/dev-python/six/Manifest @@ -2,6 +2,8 @@ AUX 1.10.0-no-setuptools.patch 545 BLAKE2B e884088c94e36283ce3e9a8df716cf25b040d AUX 1.9.0-mapping.patch 561 BLAKE2B 281a893fa6d0d589eb768c595e8931e4d743be9bc7eb288d87628f6a38c14a220f965430c0a480aecf0652c09155359aff9dff11449e2de3c55d7ef00f2527d3 SHA512 92d5bb1643264a04d5faf36bed16379e8844648a31739921bd97e2dd88e34a9b302c37a12a15a64aceb3d26c53f7cdbcbde2ce8d289a7a43f692af47bf05f58c DIST six-1.10.0.tar.gz 29630 BLAKE2B 1f380dbc7a9e746b4a7909de54a58a008a73d7b6c582611b2481475d5d9971c936b1742ea0821c65150694914af72f43155caa54616268735a4bd2447d5b4ba4 SHA512 9a53b7bc8f7e8b358c930eaecf91cc5639176a699830153f586780c3e6d637f1bd31349a69c383574f99da19cb3a36524e7733a318f3572b27aefb69c6409c2e DIST six-1.11.0.tar.gz 29860 BLAKE2B de4886ad9af7aa906f9eac213544c99323d74c1988d9abff96ce6fc3eea4464e577511f7c52328cbd9e6989db2128fa8d1ee57f9ce7bfc36b83ff655691b46c9 SHA512 33f246a2e987141e17e5edad9d3537cf3aba0cbdd0bc2a907ea52ce0d674b1474f29c3dd5cc26605fd960396054b189ca5f501708333cad234c223131483fe24 +DIST six-1.12.0.tar.gz 32725 BLAKE2B f40621076a7bb2b3b86d9f6ee49056a598e4853c6150952902053b8cfde86e562a7656b6ca3c3108f407d392cf7c1164a61b36142efd565eda909b8733c0bedb SHA512 937728372edf1e0ac13bbd706723d0de35e015c30d0ae41f789c5ed2e3669bb0db70cdc6e036ec2d437a6c4aa0d5d1e727b6d09ac34cca7e4e92e5d3b4775151 EBUILD six-1.10.0.ebuild 1817 BLAKE2B cf11b48d603e01500cb2147756d7197bd5fad06de42ed91c0ecbb967f36f22fcf0e9d9d33a552dce6e0cd05cf0634d266c41aebd4cd4bfec6acc9960401d0729 SHA512 4a33dd217477d6c2a5488970cad9481c929fa4996d386d203caf3a3abb7e545a90f9df13e068a96d9040cc3d65c4305eff5f52bb51cc4743bbc1791500968a73 EBUILD six-1.11.0.ebuild 1081 BLAKE2B 8d9c1cb48fd3121c9de1d8a24f78906353791ca235b23b703304cf824ed10c162d2e7fc2e5a99705f65ef6faeccd4b2b47d6c5446bb845734d78bf7601d3618c SHA512 c79cc674deff03aaafc12d6933888b599e06dbde98bde748a94f3485fdbfe6085e73ce3b6e2927d0fce6c3bbac3fe912f5960277a19c6e6051059dc83c7341ee +EBUILD six-1.12.0.ebuild 1091 BLAKE2B 4ecaca36faece6e4211bf63a9c8503e4c42628653220c209f769d23e1a06c8e1c16956c80df67afbb836b14299172efdae6fefbd82b66ae13c719b9ee1295e3c SHA512 274e76177da80e5dfbc1e620d8e670ee9cc65a2ff004f256784796e845911f72933e83b51106aab642acd014724dae1946fd21e8077c1996aef3670694494037 MISC metadata.xml 371 BLAKE2B 475b717d4c4bced0454ee0244b5d30f178098ff45b2fc7d168b41f446c4e8f3f2dc022ccadb953d6f4e905f95e38769657d42fb4d80157c816d6e7b5eddb33c2 SHA512 8171125815ab60f7c9a2756367ee6532fd862c5f411ff828b6555e4e21e6d43672f2c764f92134f6625abb161380bdbb739af259ba88c974cf3583f35af76a91 diff --git a/dev-python/six/six-1.12.0.ebuild b/dev-python/six/six-1.12.0.ebuild new file mode 100644 index 000000000000..7cab04112473 --- /dev/null +++ b/dev-python/six/six-1.12.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy{,3} ) + +inherit distutils-r1 + +DESCRIPTION="Python 2 and 3 compatibility library" +HOMEPAGE="https://github.com/benjaminp/six https://pypi.org/project/six/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx ) + test? ( >=dev-python/pytest-2.2.0[${PYTHON_USEDEP}] )" + +PATCHES=( + "${FILESDIR}"/1.9.0-mapping.patch +) + +python_compile_all() { + use doc && emake -C documentation html +} + +python_test() { + pytest -vv || die "Testing failed with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( documentation/_build/html/. ) + distutils-r1_python_install_all +} |