diff options
Diffstat (limited to 'dev-python/pyasn1')
-rw-r--r-- | dev-python/pyasn1/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pyasn1/pyasn1-0.4.2.ebuild | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/pyasn1/Manifest b/dev-python/pyasn1/Manifest index 7a68d0f3324c..6afa62a61fc3 100644 --- a/dev-python/pyasn1/Manifest +++ b/dev-python/pyasn1/Manifest @@ -1,5 +1,7 @@ DIST pyasn1-0.2.3.tar.gz 100099 BLAKE2B 32e6fa765fc5c217f66ca5618acc132c96fd8adc3649e5323696ac8dcd2cc11fcbd0a362e53575465da79feb422452b9f964e4972ab7f581571e5cbfc14a8945 SHA512 c55b95c1995f2fc36ec28f35837ca456a2fac06e90edc6491a3335ae949e4eacbbeb14f6289a17e994b49d4dc60870bba3e79344c44496d5547c38ab1ef183ab DIST pyasn1-0.3.7.tar.gz 117643 BLAKE2B 66e4987a63139c7af06d6bcdb125ef6f0f46ea5885bbbefae6c76252bd96296abf71a59f6ddc6f196ef78077a62649963c4d9419546f631d93e723dca30bf9b2 SHA512 85735ecb5b83979e51c9f663e2e0dcfbc317ba7e22474d78998f97c40a3487fd06ade9a259d1a4a8de5f4e70e5521a060af127799b92931ceb26abd384ec5807 +DIST pyasn1-0.4.2.tar.gz 118404 BLAKE2B b96135b10eb9b79ac02b21d35df19ee1078a51586eb37832004a1891db0cce305fe3fb65c34f4b05fd1c854f1d708aa59b3e85908df39d54ebb051a2f021ca60 SHA512 30e7cdfd2f7b182081f951bd94169a300a577f95fbfcb4ddb6dc288617b2776265018d246ae0adb649650ee94aab9122a428313d7a61559f97ed7f02b9670709 EBUILD pyasn1-0.2.3.ebuild 1133 BLAKE2B a1a9ed96972d7cfc37943a5ed9a51ce8dd3196244170ad65045037352384c09704f8ba5f03bcd31edda719589517bbfcf7ed0793e4e3a2b8a4458536410be3f4 SHA512 0a296f4f058aff4f2aa40c50a1f0343af2cb3d073b689ec680e6241170ec9f960bcf35789b885b2437f586c313fe74256576c35c024efe79ee1f3522bd859a46 EBUILD pyasn1-0.3.7.ebuild 1159 BLAKE2B 3ad0a6f5d46c42055b3bb83e3f8e0b5eca5c96fcfae004d39d4173ab7de0a6d9064f03410ce1b9bf42049ca2a4d170ab8ce999b5de0f8a46728b274cf8bbebb8 SHA512 aff7e3a767503d7c1d499f9b1221fece180f23a5719d70d1175428f73fca1e161197c32251738c7ca9a7ddb49305048a5be216b360255a45844c81ba522b0973 +EBUILD pyasn1-0.4.2.ebuild 932 BLAKE2B 1a374927d61dc9b6721b5347fa05d3ace35da52b582e9c3922aff8627a30868c67a9915eb30e03c66829a8599f498d5d4b8412b126a7ab5feab7759f69c416aa SHA512 e5ec86881d261711fe8169b1bdbfa6f6e05bba496137a94690fea636df99610b1bfbca6592d0c104f6e79c4e7fba8e8e29cdbfead016aaef59f5800fdb585c74 MISC metadata.xml 428 BLAKE2B d98ed2c4f984efff51e45c7b57c7decacbde65d59311776fa432b1e771f1bfb97abc6b588b75fd4faca7a3a0bd93aac3504532ef0b4569f8cf9099fa1f69b548 SHA512 b2d4bf181128f2724c450387fd51d971f85fc25ca293b8ebe4029e0559f660a5f5d207db40d683b8d80a6233986a885069ae4e7d82507901151a71f19c6a75ee diff --git a/dev-python/pyasn1/pyasn1-0.4.2.ebuild b/dev-python/pyasn1/pyasn1-0.4.2.ebuild new file mode 100644 index 000000000000..b5db7d606457 --- /dev/null +++ b/dev-python/pyasn1/pyasn1-0.4.2.ebuild @@ -0,0 +1,40 @@ +# 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 + +DESCRIPTION="ASN.1 library for Python" +HOMEPAGE="http://snmplabs.com/pyasn1/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD-2" +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 ~x64-macos ~x86-macos" +IUSE="doc" + +RDEPEND="" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" + +python_test() { + esetup.py test || die "Tests fail with ${EPYTHON}" +} + +src_compile() { + if use doc; then + python_setup + esetup.py build_sphinx + fi + distutils-r1_src_compile +} + +src_install() { + local HTML_DOCS + use doc && HTML_DOCS=( build/sphinx/html/. ) + + distutils-r1_src_install +} |