[gentoo-commits] repo/gentoo:master commit in: dev-python/venusian/

2019-12-28 Thread David Seifert
commit: 2bc2d493329a8b6230e031c45588ee6985dba019
Author: David Seifert  gentoo  org>
AuthorDate: Sat Dec 28 16:16:25 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Dec 28 16:16:25 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bc2d493

dev-python/venusian: Remove Py2

Package-Manager: Portage-2.3.83, Repoman-2.3.20
Signed-off-by: David Seifert  gentoo.org>

 dev-python/venusian/venusian-1.0.ebuild   | 2 +-
 dev-python/venusian/venusian-1.0_p20161030.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/venusian/venusian-1.0.ebuild 
b/dev-python/venusian/venusian-1.0.ebuild
index 4b0fe61727e..1ae40447a2b 100644
--- a/dev-python/venusian/venusian-1.0.ebuild
+++ b/dev-python/venusian/venusian-1.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-PYTHON_COMPAT=( python{2_7,3_5,3_6} )
+PYTHON_COMPAT=( python3_{5,6} )
 
 inherit distutils-r1
 

diff --git a/dev-python/venusian/venusian-1.0_p20161030.ebuild 
b/dev-python/venusian/venusian-1.0_p20161030.ebuild
index 4fa1f223089..c6daf73e795 100644
--- a/dev-python/venusian/venusian-1.0_p20161030.ebuild
+++ b/dev-python/venusian/venusian-1.0_p20161030.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-PYTHON_COMPAT=( python{2_7,3_5,3_6} )
+PYTHON_COMPAT=( python3_{5,6} )
 
 COMMIT="ec4032596e3aec987ba29b62cac701608ef3b523"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/venusian/

2017-05-15 Thread Brian Dolbec
commit: 5037e928726da0ad24cba0b046d0f2725db5aab5
Author: Brian Dolbec  gentoo  org>
AuthorDate: Thu Apr  6 01:19:28 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue May 16 02:07:07 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5037e928

dev-python/venusian: Version bump, fix tests

Update the nosetest command for newer nosetest versions.
Tests now pass correctly.
Bump the package using git commit since upstream doesn't seem to be making 
releases.
Add python 3.5, 3.6 to PYTHON_COMPAT.

Package-Manager: Portage-2.3.5, Repoman-2.3.2_p30

 dev-python/venusian/Manifest  |  1 +
 dev-python/venusian/venusian-1.0_p20161030.ebuild | 37 +++
 2 files changed, 38 insertions(+)

diff --git a/dev-python/venusian/Manifest b/dev-python/venusian/Manifest
index 8b6c0b42ece..4bbf68051f1 100644
--- a/dev-python/venusian/Manifest
+++ b/dev-python/venusian/Manifest
@@ -1 +1,2 @@
 DIST venusian-1.0.tar.gz 45747 SHA256 
1720cff2ca9c369c840c1d685a7c7a21da1afa687bfe62edd93cae4bf429ca5a SHA512 
770780c4e4532b16e119365d3c9531e85aede9c2be2e3a333cfe43856271c7b232ce1b27c1379f677a7191c24e8736bf5307be7a926b613f7b81644d404e8453
 WHIRLPOOL 
1eedda1a8d6e15caf4af136ddd08298c7201342a841b267a489b8fb483d3d97b330e3adbe75e5bd28fcd3b62d6b6b5de57f5a520923d05195560afbfb682315d
+DIST venusian-1.0_p20161030.zip 64972 SHA256 
3d9d2b8a6e1f200484902c7d06b3b082b8224e92a25a281e4eebbcc5d94616c6 SHA512 
d6e08beb7c6e29e8a30c2c94eb431bc1c2181dbe0a7fb911eb042035998b6c6a0c9fb827d46172916b3dd594335543c2670eb2100eeafac4cc25ec360b8adc57
 WHIRLPOOL 
21dcc263345e9cb7e3b55ffaaadcffcc4aea204274fd492fa68e2a2b96243ef0c479d413cf0b47f19408bbf9be34221ca2a2dae9d3be54326e8997840872ad19

diff --git a/dev-python/venusian/venusian-1.0_p20161030.ebuild 
b/dev-python/venusian/venusian-1.0_p20161030.ebuild
new file mode 100644
index 000..92b452841a6
--- /dev/null
+++ b/dev-python/venusian/venusian-1.0_p20161030.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+COMMIT="ec4032596e3aec987ba29b62cac701608ef3b523"
+
+inherit distutils-r1
+
+DESCRIPTION="A library for deferring decorator actions"
+HOMEPAGE="http://www.pylonsproject.org/;
+#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="https://github.com/Pylons/venusian/archive/${COMMIT}.zip -> ${P}.zip"
+
+LICENSE="repoze"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+   "
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? ( dev-python/nose[${PYTHON_USEDEP}]
+   >=dev-python/nose-exclude-0.1.9[${PYTHON_USEDEP}] )
+   "
+
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+python_test() {
+   # copy the zipfile to the fixtures dir, setup.py doesn't
+   cp "${S}"/venusian/tests/fixtures/zipped.zip 
"${BUILD_DIR}"/lib/venusian/tests/fixtures/ || die "Failed to cp zipfile.zip"
+
+   cd "${BUILD_DIR}/lib/venusian"
+   nosetests --exclude-dir=tests/fixtures || die "Tests fail with 
${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/venusian/

2017-05-02 Thread Michał Górny
commit: 735dd52b04940a7f879ac04a66b52c60277f123b
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May  2 11:18:12 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May  2 11:58:18 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=735dd52b

dev-python/venusian: Clean old versions up

 dev-python/venusian/Manifest   |  1 -
 dev-python/venusian/venusian-1.0_alpha8.ebuild | 33 --
 2 files changed, 34 deletions(-)

diff --git a/dev-python/venusian/Manifest b/dev-python/venusian/Manifest
index dbc9dc565d2..8b6c0b42ece 100644
--- a/dev-python/venusian/Manifest
+++ b/dev-python/venusian/Manifest
@@ -1,2 +1 @@
 DIST venusian-1.0.tar.gz 45747 SHA256 
1720cff2ca9c369c840c1d685a7c7a21da1afa687bfe62edd93cae4bf429ca5a SHA512 
770780c4e4532b16e119365d3c9531e85aede9c2be2e3a333cfe43856271c7b232ce1b27c1379f677a7191c24e8736bf5307be7a926b613f7b81644d404e8453
 WHIRLPOOL 
1eedda1a8d6e15caf4af136ddd08298c7201342a841b267a489b8fb483d3d97b330e3adbe75e5bd28fcd3b62d6b6b5de57f5a520923d05195560afbfb682315d
-DIST venusian-1.0a8.tar.gz 42845 SHA256 
a1b054d4ccf0859a76d900c49f419645279298d5316be3a65a1c00a40719bce0 SHA512 
d10577aa8c439fed3d689538695d6e0f8db299ddcefef75e3d224b637398489e55853d124be3edffc168db485df25180fe0c4685172d64587ae07c5b80ca3f6f
 WHIRLPOOL 
a3a62d29b0a8246b4e6fe3b429a6ef6c2deb294d868dac3ce1cc3544e23e63303cced09a81aa49bc5146ebb21572e561d0c0e8e0920485bc7012f02a4b08da5a

diff --git a/dev-python/venusian/venusian-1.0_alpha8.ebuild 
b/dev-python/venusian/venusian-1.0_alpha8.ebuild
deleted file mode 100644
index 0cfa33d0c9c..000
--- a/dev-python/venusian/venusian-1.0_alpha8.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 )
-
-RESTRICT="test"
-
-inherit distutils-r1
-
-MY_P="${PN}-1.0a8" # Sigh
-
-DESCRIPTION="A library for deferring decorator actions"
-HOMEPAGE="http://www.pylonsproject.org/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
-
-LICENSE="repoze"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-
-RDEPEND="
-   "
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? ( dev-python/nose[${PYTHON_USEDEP}] )
-   "
-
-S="${WORKDIR}/${MY_P}"
-
-python_test() {
-   nosetests || die "Tests fail with ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/venusian/

2017-04-26 Thread Michał Górny
commit: 7c9883a1c9b4b792309db5a39a10d7b2aea25af5
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Apr 26 15:53:52 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Apr 26 16:33:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c9883a1

dev-python/venusian: Fix running tests

Use 'setup.py nosetests' to run tests, as defined in tox.ini. This
solves the problem of nosetests attempting to import files that fail to
import by design.

 dev-python/venusian/venusian-1.0.ebuild | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/dev-python/venusian/venusian-1.0.ebuild 
b/dev-python/venusian/venusian-1.0.ebuild
index c4743288016..512b8aec472 100644
--- a/dev-python/venusian/venusian-1.0.ebuild
+++ b/dev-python/venusian/venusian-1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -22,9 +22,8 @@ RDEPEND="
 DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}]
-   >=dev-python/nose-exclude-0.1.9[${PYTHON_USEDEP}] )
-   "
+   >=dev-python/nose-exclude-0.1.9[${PYTHON_USEDEP}] )"
 
 python_test() {
-   nosetests || die "Tests fail with ${EPYTHON}"
+   esetup.py nosetests
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/venusian/

2017-04-26 Thread Michał Górny
commit: 825e666ec4eaaba66cced2073a3a65cd1beb284e
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Apr 26 15:55:08 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Apr 26 16:34:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=825e666e

dev-python/venusian: Tested on py3.5 & py3.6

 dev-python/venusian/venusian-1.0.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dev-python/venusian/venusian-1.0.ebuild 
b/dev-python/venusian/venusian-1.0.ebuild
index 512b8aec472..d2f58f4b7e1 100644
--- a/dev-python/venusian/venusian-1.0.ebuild
+++ b/dev-python/venusian/venusian-1.0.ebuild
@@ -2,9 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4} )
-
-#RESTRICT="test"
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 inherit distutils-r1