pyasn1: v0.3.6 bump

This commit is contained in:
blshkv 2017-09-30 00:20:55 +08:00
parent c9a97a93a6
commit 6ea4c69471
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
4 changed files with 82 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST pyasn1-modules-0.0.11.tar.gz 63610 SHA256 60d5c80bfee9b79b492d5d8a934b3ecfc523f2f83aaab4ffafa2bbb651d3c67a SHA512 0c9943f1fe49453a97ede8aa14248340dc1e331d0d80fa948b507743d3f30fe61d99323b99ca43930d22c863611ae4a2bd9859726620756f345ff2d5873efb8d WHIRLPOOL 7f2ada3cfd13c3cca8baf6d2f3b5169c8629ef8fe9dd436a44ceee135c101d3505eeeb77e189696fb3ccd7e8e31f2ff6f3809fa6cfae48aa5bed1638d90d8f74
DIST pyasn1-modules-0.1.4.tar.gz 65552 SHA256 b07c17bdb34d6f64aafea6269f2e8fb306a57473f0f38d9a6ca389d6ab30ac4a SHA512 29467aa9fff15b7a7ef999389db01fe696350e29910397f0c867685689a9fa8e5df8128a7703ae0de095804ae20c3759b24656467cec8d086d07a1014ccf5d65 WHIRLPOOL 99ff13b3d4b5749360f9ae9845ccce228e6c1835b3cf692216c4dee49b0ab834ae11aef256e869b18a3517114707ae5eb1b13aaf068c1610bf5c5ad8102a0467

View file

@ -0,0 +1,37 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
inherit distutils-r1
DESCRIPTION="pyasn1 modules"
HOMEPAGE="http://pyasn1.sourceforge.net/ https://pypi.python.org/pypi/pyasn1-modules"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE=""
RDEPEND=">=dev-python/pyasn1-0.1.8[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
python_test() {
echoit() { echo "$@"; "$@"; }
local exit_status=0 test
cd tools || die
for test in ../test/*.sh; do
echoit sh "${test}" || exit_status=1
done
return ${exit_status}
}
python_install_all() {
distutils-r1_python_install_all
insinto /usr/share/${P}
doins -r tools
}

View file

@ -1 +1,2 @@
DIST pyasn1-0.3.2.tar.gz 112391 SHA256 973ababe407bd60084b9692b6b058c5e7f2d92e019e09fce8353918ffe027d51 SHA512 575e8ddf3193a07446a721cec5849e25801f59350c1f14d70d43e17e94e5c93203254397c75e0863e41479c8b77dc7d1d49c373fe3c8f40b19cbf49415b9c00f WHIRLPOOL 275f2edaf5eca6ed0d16e8f44099af65a8de6f1a5cf043ffbe58cfd8588591b07c72128cfde91ce3bc99e16014ea3604a5d1682c705bdc12f3277137a68595ea
DIST pyasn1-0.3.6.tar.gz 117506 SHA256 3a263cea3e15f459b1e97b1f7d3840b890eeb29eddaf480203a2929a651c5968 SHA512 0857b957bd29f999858869e02ee84ec86aae6362229da14b47f4c54f1358632d161e417325e0e2cec8a3fa293f52156d703481dac872e7f323e317cf14197dce WHIRLPOOL 84fe36d176482ea296e9434ae17faf6b1bc58667fb7102855e51c8427da81777e80ad3306e50d35ef95b03f15460ff1cf38c83e5adbe436f5588778a023f57f7

View file

@ -0,0 +1,43 @@
# Copyright 1999-2017 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://pyasn1.sourceforge.net/ https://pypi.python.org/pypi/pyasn1"
SRC_URI="https://github.com/etingof/pyasn1/archive/v${PV}.tar.gz -> ${P}.tar.gz"
# The required doc/source/conf.py file is missing from the pypi:
# https://github.com/etingof/pyasn1/issues/35
#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 ~x86-fbsd"
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
}