public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tlslite/
Date: Sun, 13 Sep 2015 08:52:15 +0000 (UTC)	[thread overview]
Message-ID: <1442134334.4d5c38ccfb21de66efb5987e5337cbbba5662bc9.jlec@gentoo> (raw)

commit:     4d5c38ccfb21de66efb5987e5337cbbba5662bc9
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 13 08:51:41 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Sep 13 08:52:14 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d5c38cc

dev-python/tlslite: Version Bump

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=560278

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 dev-python/tlslite/Manifest                        |  1 +
 dev-python/tlslite/tlslite-0.4.3-r1.ebuild         | 14 +++++-----
 ...lslite-0.4.3-r1.ebuild => tlslite-0.4.8.ebuild} | 32 +++++++++++++---------
 3 files changed, 27 insertions(+), 20 deletions(-)

diff --git a/dev-python/tlslite/Manifest b/dev-python/tlslite/Manifest
index 7b6d1a6..c2db3df 100644
--- a/dev-python/tlslite/Manifest
+++ b/dev-python/tlslite/Manifest
@@ -1 +1,2 @@
 DIST tlslite-0.4.3.tar.gz 562090 SHA256 6a67d8a0bec66183719c19c91f383bc1555545055aae4498af2e91fe9d79f813 SHA512 d1f451ebc2f7bd4d5436f1ca8ecfdbaa403f3dbbae9f9ac3900131e5d168e3267e22fcf23d85f87457f06468997cb01a51683d028a67fde58820b15f97689a0c WHIRLPOOL 555f2659f0bb5080519edd5f4325953e13109367ef21e1595816ab4f3956233bb541940f65f2cfa95c041b7f2cc080b8c4ee10719be79edfa11076a2c834fff6
+DIST tlslite-0.4.8.tar.gz 563048 SHA256 d9b447048a322c70df800f540ab577c93ecf20de52c0a02c8621176e4733bdbb SHA512 bdb42d005b7444667badc6febd38f5b74878c09218b418844c255920f0e6272f55f62b4ea21953953935f73e02657fce9874b44f73499267cf713ddbcd3d6a44 WHIRLPOOL 0804742e528e6ce9d67afed78fe42c4f0a42cdfc221bf36d37e4f4f5fce828323da10f7bec3e68b2fdcf4d13d2fa100364e83e61fbcfc5cf86d3aeb1f51d75df

diff --git a/dev-python/tlslite/tlslite-0.4.3-r1.ebuild b/dev-python/tlslite/tlslite-0.4.3-r1.ebuild
index 56c231a..a23e463 100644
--- a/dev-python/tlslite/tlslite-0.4.3-r1.ebuild
+++ b/dev-python/tlslite/tlslite-0.4.3-r1.ebuild
@@ -4,13 +4,13 @@
 
 EAPI=5
 
-PYTHON_COMPAT=( python2_7 pypy )
+PYTHON_COMPAT=( python2_7 )
 
-inherit distutils-r1
+inherit distutils-r1 eutils
 
 DESCRIPTION="TLS Lite is a free python library that implements SSL 3.0 and TLS 1.0/1.1"
-HOMEPAGE="http://trevp.net/tlslite/ https://pypi.python.org/pypi/tlslite"
-SRC_URI="https://github.com/trevp/tlslite/downloads/${P}.tar.gz"
+HOMEPAGE="http://trevp.net/tlslite/ https://pypi.python.org/pypi/tlslite https://github.com/trevp/tlslite"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD public-domain"
 SLOT="0"
@@ -19,12 +19,12 @@ KEYWORDS="amd64 x86"
 IUSE="doc gmp"
 RESTRICT="test"
 
-DEPEND=">=dev-libs/cryptlib-3.3.3[python,${PYTHON_USEDEP}]
+DEPEND="
+	>=dev-libs/cryptlib-3.3.3[python,${PYTHON_USEDEP}]
 	|| (
 		dev-python/m2crypto[${PYTHON_USEDEP}]
 		dev-python/pycrypto[${PYTHON_USEDEP}]
-	)
-	gmp? ( dev-python/gmpy[${PYTHON_USEDEP}] )"
+	)"
 RDEPEND="${DEPEND}"
 
 # Tests still hang

diff --git a/dev-python/tlslite/tlslite-0.4.3-r1.ebuild b/dev-python/tlslite/tlslite-0.4.8.ebuild
similarity index 55%
copy from dev-python/tlslite/tlslite-0.4.3-r1.ebuild
copy to dev-python/tlslite/tlslite-0.4.8.ebuild
index 56c231a..ec5c394 100644
--- a/dev-python/tlslite/tlslite-0.4.3-r1.ebuild
+++ b/dev-python/tlslite/tlslite-0.4.8.ebuild
@@ -4,36 +4,42 @@
 
 EAPI=5
 
-PYTHON_COMPAT=( python2_7 pypy )
+PYTHON_COMPAT=( python2_7 )
 
-inherit distutils-r1
+inherit distutils-r1 eutils
 
 DESCRIPTION="TLS Lite is a free python library that implements SSL 3.0 and TLS 1.0/1.1"
-HOMEPAGE="http://trevp.net/tlslite/ https://pypi.python.org/pypi/tlslite"
-SRC_URI="https://github.com/trevp/tlslite/downloads/${P}.tar.gz"
+HOMEPAGE="http://trevp.net/tlslite/ https://pypi.python.org/pypi/tlslite https://github.com/trevp/tlslite"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD public-domain"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86"
 #Refrain for now setting IUSE test and deps of test given test restricted.
-IUSE="doc gmp"
-RESTRICT="test"
+IUSE="doc"
 
-DEPEND=">=dev-libs/cryptlib-3.3.3[python,${PYTHON_USEDEP}]
+DEPEND="
+	>=dev-libs/cryptlib-3.3.3[python,${PYTHON_USEDEP}]
 	|| (
 		dev-python/m2crypto[${PYTHON_USEDEP}]
 		dev-python/pycrypto[${PYTHON_USEDEP}]
-	)
-	gmp? ( dev-python/gmpy[${PYTHON_USEDEP}] )"
+	)"
 RDEPEND="${DEPEND}"
 
+RESTRICT="test"
+
 # Tests still hang
 python_test() {
-	"${S}"/tests/tlstest.py client localhost:4443 .
-	"${S}"/tests/tlstest.py server localhost:4442 .
+	cd tests || die
+	"${PYTHON}" "${S}"/tests/tlstest.py client localhost:4443 . || die
+	"${PYTHON}" "${S}"/tests/tlstest.py server localhost:4442 . || die
 }
 
 python_install_all(){
+	use doc && HTML_DOCS=( docs/. )
 	distutils-r1_python_install_all
-	use doc && dohtml -r docs/
+}
+
+pkg_postinst() {
+	optfeature "GMP support" dev-python/gmpy
 }


             reply	other threads:[~2015-09-13  8:52 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-13  8:52 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-03-01 20:41 [gentoo-commits] repo/gentoo:master commit in: dev-python/tlslite/ Patrick Lauer
2016-06-03 17:35 Patrice Clement
2017-01-01  3:14 Mike Gilbert
2017-01-01  3:14 Mike Gilbert
2017-01-01  3:14 Mike Gilbert
2017-01-01  3:14 Mike Gilbert
2017-01-01  3:18 Mike Gilbert
2017-09-10 11:33 Sergei Trofimovich
2017-09-15  6:12 Alon Bar-Lev
2017-09-24 16:16 Sergei Trofimovich
2017-10-02 16:18 Manuel Rüger
2017-10-02 23:45 Thomas Deutschmann
2018-01-12 16:46 Mike Gilbert
2020-02-06  6:38 Michał Górny
2020-03-21  9:46 Mikle Kolyada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1442134334.4d5c38ccfb21de66efb5987e5337cbbba5662bc9.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox