public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrick Lauer" <patrick@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nose_warnings_filters/
Date: Fri, 28 Oct 2016 20:56:06 +0000 (UTC)	[thread overview]
Message-ID: <1477688161.cb8c44c3d934dd059707959ffbaec17dce0e92c2.patrick@gentoo> (raw)

commit:     cb8c44c3d934dd059707959ffbaec17dce0e92c2
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 28 19:51:11 2016 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Fri Oct 28 20:56:01 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb8c44c3

dev-python/nose_warnings_filters: Bump

Package-Manager: portage-2.3.2

 dev-python/nose_warnings_filters/Manifest          |  1 +
 .../nose_warnings_filters-0.1.1.ebuild             | 52 ++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/dev-python/nose_warnings_filters/Manifest b/dev-python/nose_warnings_filters/Manifest
index 172e49d..a4b4a06 100644
--- a/dev-python/nose_warnings_filters/Manifest
+++ b/dev-python/nose_warnings_filters/Manifest
@@ -1 +1,2 @@
 DIST nose_warnings_filters-0.1.0.tar.gz 3551 SHA256 198f1fb8d69583e555d565a544fb6817366d8493a783bbba6121a7c0adb8a7bb SHA512 6715d3a84fdaa712dfb10e4f48f874900e979dc58cbc8fdb4728a1589c9f0bec42b831e4896fb935b2ed4b2bde49e08210922ac3cda8fc0f18683b992f1b3dad WHIRLPOOL 1b1b65811e788eb27f67b2c7bbe8ee02a74dd53df8daa1af0d191cfdff8e9504d0885ede89657952d24b37a54bc193218ffa823071677e097040b0e7b32ac6cb
+DIST nose_warnings_filters-0.1.1.tar.gz 4118 SHA256 5d11dc351e6059cc398351140041377cffa1390097bc1564bdf325005163228c SHA512 fee5acff223077a8f5d753a7d01a77c0c3e2981bac8d4d8a847e1c81d363a945f0487a7237950dae9bd07fb3ee79c7404e512eba7e9987608baf70ec85bc684b WHIRLPOOL 2e826c01f70b9c7e4674fcd02fe1e7f129c5195d13cb55a76ca21d87dd032198599ca18a29d4b28cacef95b2f21c03282c31f7b58b9037b33680dd3e7a038477

diff --git a/dev-python/nose_warnings_filters/nose_warnings_filters-0.1.1.ebuild b/dev-python/nose_warnings_filters/nose_warnings_filters-0.1.1.ebuild
new file mode 100644
index 00000000..ee6edff
--- /dev/null
+++ b/dev-python/nose_warnings_filters/nose_warnings_filters-0.1.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+
+inherit python-r1
+
+DESCRIPTION="A python module to inject warning filters during nosetest"
+HOMEPAGE="https://github.com/Carreau/nose_warnings_filters"
+SRC_URI="https://github.com/Carreau/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="${PYTHON_DEPS}
+	dev-python/nose[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_test() {
+	# nose_warnings_filters doesn't have a proper
+	# testing suite, hence we run the only testing
+	# script available
+	export PYTHONPATH="${S}:${S}/${PN}/tests"
+	touch "${S}/${PN}/tests/__init__.py" || die
+	run_test() {
+		"${PYTHON}" "${PN}"/tests/test_config.py \
+			|| die "Failed running test script"
+	}
+	python_foreach_impl run_test
+	unset PYTHONPATH
+}
+
+src_install() {
+	python_moduleinto "${PN}"
+	install_files() {
+		python_domodule "${PN}/__init__.py"
+
+		# Unfortunately, nose_warnings_filters is designed
+		# as a wheel package, for which a METADATA file is
+		# strictly required, otherwise a Runtime error is thrown
+		local egg_dir="${D%/}$(python_get_sitedir)/${PN}-${PV}.dist-info"
+		mkdir -p "${egg_dir}" || die
+		cp entry_points.txt "${egg_dir}" || die
+		touch "${egg_dir}"/METADATA || die
+	}
+	python_foreach_impl install_files
+}


             reply	other threads:[~2016-10-28 20:56 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-28 20:56 Patrick Lauer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-01-28 23:28 [gentoo-commits] repo/gentoo:master commit in: dev-python/nose_warnings_filters/ James Le Cuirot
2021-11-18  8:10 Sam James
2021-11-14  3:43 Sam James
2021-09-08 16:19 Sam James
2021-08-24 23:21 Sam James
2021-08-10  5:00 Sam James
2021-07-11 10:14 Georgy Yakovlev
2021-07-01 12:27 Michał Górny
2021-06-20  1:45 Sam James
2020-10-16 18:22 Michał Górny
2020-08-03  3:11 Sam James
2020-06-08 17:36 Michał Górny
2020-05-04 11:26 Michał Górny
2020-03-01  4:42 Andrey Grozin
2020-02-05 16:53 Michał Górny
2018-05-16 12:28 Agostino Sarubbo
2018-04-22  1:35 Thomas Deutschmann
2018-03-12  0:51 Matt Turner
2017-06-19 18:12 Alexis Ballier
2017-05-02 17:43 Michał Górny
2017-03-12 11:15 Zac Medico
2017-03-10 12:43 David Seifert
2017-03-10 10:16 David Seifert
2017-03-10 10:12 David Seifert
2016-09-05 21:10 David Seifert

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=1477688161.cb8c44c3d934dd059707959ffbaec17dce0e92c2.patrick@gentoo \
    --to=patrick@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