From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 06FEF138334 for ; Sun, 5 Aug 2018 11:06:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B1257E07D4; Sun, 5 Aug 2018 11:06:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7368DE07D4 for ; Sun, 5 Aug 2018 11:06:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2561C335C7A for ; Sun, 5 Aug 2018 11:06:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9B78B387 for ; Sun, 5 Aug 2018 11:06:03 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1533467134.3acbd46386aa68f85dfe8d50667680703a5703eb.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/dnspython/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/dnspython/Manifest dev-python/dnspython/dnspython-1.16.0_pre20180731.ebuild X-VCS-Directories: dev-python/dnspython/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 3acbd46386aa68f85dfe8d50667680703a5703eb X-VCS-Branch: master Date: Sun, 5 Aug 2018 11:06:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 658fa90d-e7f6-43ad-bbd9-ef97b841054c X-Archives-Hash: 49365269fbc3a42ced26a9a4805ac0c6 commit: 3acbd46386aa68f85dfe8d50667680703a5703eb Author: Manuel Rüger gentoo org> AuthorDate: Sun Aug 5 11:05:34 2018 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Sun Aug 5 11:05:34 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3acbd463 dev-python/dnspython: Snapshot that supports pycryptodome Package-Manager: Portage-2.3.43, Repoman-2.3.10 dev-python/dnspython/Manifest | 1 + .../dnspython/dnspython-1.16.0_pre20180731.ebuild | 43 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-python/dnspython/Manifest b/dev-python/dnspython/Manifest index f547dd89ee4..23080a5bc5f 100644 --- a/dev-python/dnspython/Manifest +++ b/dev-python/dnspython/Manifest @@ -1 +1,2 @@ DIST dnspython-1.15.0.zip 252157 BLAKE2B 6766c1e69bc4225b08f3b1b3871fac2aba7ae707de5f16718798ce4d6846308500c5341f9ace1b48d3858ffc965a7295ee42cc2c35ff23ac38d71927dcaecfe9 SHA512 942f7cf083d1b0a9f03f040ceca194c38777f2e40862c388051986112b3f2a4a8426733ff46ec5a155319776e4a856412c3430b052b2f92f251f0e3260eb9bc1 +DIST dnspython-1.16.0_pre20180731.tar.gz 182538 BLAKE2B 3a472091fccc4f37d65681727643677472837fd6be0c4fd6aaa13afd1fd4362eb27a5ba4ff6babca46fe15c2f5318ddbba22ce058b522f763baa797e1e2d1ab9 SHA512 67d17ab7cb48c370c3c2dd5cb935eec5ab7e3ac0c912e179931f395899ad186ba869edd8b870c043ba9fb3545bace18549d2a377f2ae2c278660fc488e68a20d diff --git a/dev-python/dnspython/dnspython-1.16.0_pre20180731.ebuild b/dev-python/dnspython/dnspython-1.16.0_pre20180731.ebuild new file mode 100644 index 00000000000..1d9163245a6 --- /dev/null +++ b/dev-python/dnspython/dnspython-1.16.0_pre20180731.ebuild @@ -0,0 +1,43 @@ +# 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} ) + +inherit distutils-r1 vcs-snapshot + +GIT_COMMIT="be7e71e54a6edc87ead1b15af8981b8921e0e83d" + +DESCRIPTION="DNS toolkit for Python" +HOMEPAGE="http://www.dnspython.org/ https://pypi.org/project/dnspython/" +SRC_URI="https://github.com/rthalley/dnspython/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" +IUSE="examples test" + +RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}] + >=dev-python/ecdsa-0.13[${PYTHON_USEDEP}] + >=dev-python/idna-2.1[${PYTHON_USEDEP}] + !dev-python/dnspython:py2 + !dev-python/dnspython:py3" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +# For testsuite +DISTUTILS_IN_SOURCE_BUILD=1 + +python_test() { + cd tests || die + "${PYTHON}" utest.py || die "tests failed under ${EPYTHON}" + einfo "Testsuite passed under ${EPYTHON}" +} + +python_install_all() { + distutils-r1_python_install_all + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +}