public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/exam/
@ 2020-03-17  7:48 Joonas Niilola
  0 siblings, 0 replies; 6+ messages in thread
From: Joonas Niilola @ 2020-03-17  7:48 UTC (permalink / raw
  To: gentoo-commits

commit:     1493ca72a06bef5e5884df268657409d4b204003
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Mar 16 01:32:03 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Mar 17 07:48:08 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1493ca72

dev-python/exam: new package

Exam is a Python toolkit for writing better tests.
Closes: https://bugs.gentoo.org/710912
Package-Manager: Portage-2.3.94, Repoman-2.3.20
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/14964
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-python/exam/Manifest           |  1 +
 dev-python/exam/exam-0.10.6.ebuild | 22 ++++++++++++++++++++++
 dev-python/exam/metadata.xml       | 28 ++++++++++++++++++++++++++++
 3 files changed, 51 insertions(+)

diff --git a/dev-python/exam/Manifest b/dev-python/exam/Manifest
new file mode 100644
index 00000000000..4234b47f2bb
--- /dev/null
+++ b/dev-python/exam/Manifest
@@ -0,0 +1 @@
+DIST exam-0.10.6.tar.gz 15028 BLAKE2B 6d2a888b9adf14665e8f009bae7b2c724dcb60fe19efa98a189988a73a0cb5933179407c754ed1c19b24694080b6df31838768f694460fabd9196e58e8b4c94d SHA512 1cc082b4fb9a7270ea81750ee3f34400f3f6eac65dd1488af333a43d0623bf8f9176b73e2948c324bb9c0062296284bae66fe215263456baf9db378676c8a4f0

diff --git a/dev-python/exam/exam-0.10.6.ebuild b/dev-python/exam/exam-0.10.6.ebuild
new file mode 100644
index 00000000000..3936796fb01
--- /dev/null
+++ b/dev-python/exam/exam-0.10.6.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+inherit distutils-r1
+
+DESCRIPTION="Helpers for better testing"
+HOMEPAGE="https://github.com/fluxx/exam"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+	dev-python/mock[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests nose

diff --git a/dev-python/exam/metadata.xml b/dev-python/exam/metadata.xml
new file mode 100644
index 00000000000..e782094b1d2
--- /dev/null
+++ b/dev-python/exam/metadata.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>lssndrbarbieri@gmail.com</email>
+    <name>Alessandro Barbieri</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>proxy-maint@gentoo.org</email>
+    <name>Proxy Maintainers</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">fluxx/exam</remote-id>
+  </upstream>
+  <longdescription lang="en">
+Exam is a Python toolkit for writing better tests. It aims to remove a lot of the boiler plate testing code one often writes, while still following Python conventions and adhering to the unit testing interface.
+
+Aside from the obvious "does the code work?", writings tests has many additional goals and benefits:
+
+    If written semantically, reading tests can help demonstrate how the code is supposed to work to other developers.
+    If quick running, tests provide feedback during development that your changes are working or not having an adverse side effects.
+    If they're easy to write correctly, developers will write more tests and they will be of a higher quality.
+
+Unfortunately, the common pattern for writing Python unit tests tends to not offer any of these advantages. Often times results in inefficient and unnecessarily obtuse testing code. Additionally, common uses of the mock library can often result in repetitive boiler-plate code or inefficiency during test runs.
+
+exam aims to improve the state of Python test writing by providing a toolkit of useful functionality to make writing quick, correct and useful tests and as painless as possible.
+  </longdescription>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/exam/
@ 2020-11-17 14:49 Michał Górny
  0 siblings, 0 replies; 6+ messages in thread
From: Michał Górny @ 2020-11-17 14:49 UTC (permalink / raw
  To: gentoo-commits

commit:     5f70259bc266ccc8683b4e8534403457b1da7376
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 17 14:09:01 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Nov 17 14:49:43 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f70259b

dev-python/exam: Port up to py3.9

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/exam/exam-0.10.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/exam/exam-0.10.6.ebuild b/dev-python/exam/exam-0.10.6.ebuild
index 3936796fb01..31f198e722b 100644
--- a/dev-python/exam/exam-0.10.6.ebuild
+++ b/dev-python/exam/exam-0.10.6.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="7"
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6..9} )
 
 inherit distutils-r1
 


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/exam/
@ 2020-12-11 21:33 Michał Górny
  0 siblings, 0 replies; 6+ messages in thread
From: Michał Górny @ 2020-12-11 21:33 UTC (permalink / raw
  To: gentoo-commits

commit:     ed27d8b692bf5adc0aa96074124c3150220bc7ee
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 11 21:32:46 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Dec 11 21:32:46 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed27d8b6

dev-python/exam: Fix metadata.xml indent

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/exam/metadata.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/exam/metadata.xml b/dev-python/exam/metadata.xml
index 6a0cf120810..d79043f73e5 100644
--- a/dev-python/exam/metadata.xml
+++ b/dev-python/exam/metadata.xml
@@ -18,9 +18,9 @@ Exam is a Python toolkit for writing better tests. It aims to remove a lot of th
 
 Aside from the obvious "does the code work?", writings tests has many additional goals and benefits:
 
-    If written semantically, reading tests can help demonstrate how the code is supposed to work to other developers.
-    If quick running, tests provide feedback during development that your changes are working or not having an adverse side effects.
-    If they're easy to write correctly, developers will write more tests and they will be of a higher quality.
+	If written semantically, reading tests can help demonstrate how the code is supposed to work to other developers.
+	If quick running, tests provide feedback during development that your changes are working or not having an adverse side effects.
+	If they're easy to write correctly, developers will write more tests and they will be of a higher quality.
 
 Unfortunately, the common pattern for writing Python unit tests tends to not offer any of these advantages. Often times results in inefficient and unnecessarily obtuse testing code. Additionally, common uses of the mock library can often result in repetitive boiler-plate code or inefficiency during test runs.
 


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/exam/
@ 2021-08-01 21:33 Michał Górny
  0 siblings, 0 replies; 6+ messages in thread
From: Michał Górny @ 2021-08-01 21:33 UTC (permalink / raw
  To: gentoo-commits

commit:     eafc82f0ed8e38123e1a1a4806f5c67d58c7fa50
Author:     Zamarin Arthur <arthurzam <AT> gmail <DOT> com>
AuthorDate: Mon Jun  7 12:14:30 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Aug  1 21:23:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eafc82f0

dev-python/exam: enable py3.10

Signed-off-by: Zamarin Arthur <arthurzam <AT> gmail.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/exam/exam-0.10.6.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/exam/exam-0.10.6.ebuild b/dev-python/exam/exam-0.10.6.ebuild
index ca62934620c..da368d0c99a 100644
--- a/dev-python/exam/exam-0.10.6.ebuild
+++ b/dev-python/exam/exam-0.10.6.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="7"
+EAPI=8
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1
 


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/exam/
@ 2021-08-01 21:33 Michał Górny
  0 siblings, 0 replies; 6+ messages in thread
From: Michał Górny @ 2021-08-01 21:33 UTC (permalink / raw
  To: gentoo-commits

commit:     799dc2ec7345ef827bc736bd7b5532fc46ab6b66
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  1 21:27:45 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Aug  1 21:31:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=799dc2ec

dev-python/exam: Use plain unittest instead of nose

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/exam/exam-0.10.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/exam/exam-0.10.6.ebuild b/dev-python/exam/exam-0.10.6.ebuild
index da368d0c99a..8fe56f7886f 100644
--- a/dev-python/exam/exam-0.10.6.ebuild
+++ b/dev-python/exam/exam-0.10.6.ebuild
@@ -19,4 +19,4 @@ RDEPEND="
 	dev-python/mock[${PYTHON_USEDEP}]
 "
 
-distutils_enable_tests nose
+distutils_enable_tests unittest


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/exam/
@ 2022-08-10 13:12 Sam James
  0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2022-08-10 13:12 UTC (permalink / raw
  To: gentoo-commits

commit:     6401bcaa13812a1f216c05fd8df686be0338fe6c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 10 13:11:12 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 10 13:11:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6401bcaa

dev-python/exam: enable py3.11

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/exam/exam-0.10.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/exam/exam-0.10.6.ebuild b/dev-python/exam/exam-0.10.6.ebuild
index 8fe56f7886f9..ae55b9cf342e 100644
--- a/dev-python/exam/exam-0.10.6.ebuild
+++ b/dev-python/exam/exam-0.10.6.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 
 inherit distutils-r1
 


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-08-10 13:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-01 21:33 [gentoo-commits] repo/gentoo:master commit in: dev-python/exam/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2022-08-10 13:12 Sam James
2021-08-01 21:33 Michał Górny
2020-12-11 21:33 Michał Górny
2020-11-17 14:49 Michał Górny
2020-03-17  7:48 Joonas Niilola

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox