public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-haskell/quickcheck-classes-base/
@ 2020-08-22 21:31 Sergei Trofimovich
  0 siblings, 0 replies; 5+ messages in thread
From: Sergei Trofimovich @ 2020-08-22 21:31 UTC (permalink / raw
  To: gentoo-commits

commit:     360d4307d0ef16b3685caabc441577faaabda5d7
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 22 21:22:20 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Aug 22 21:31:15 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=360d4307

dev-haskell/quickcheck-classes-base: new package, a depend of arithmoi-0.11

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-haskell/quickcheck-classes-base/Manifest       |  1 +
 dev-haskell/quickcheck-classes-base/metadata.xml   | 33 ++++++++++++++++++
 .../quickcheck-classes-base-0.6.0.0.ebuild         | 39 ++++++++++++++++++++++
 3 files changed, 73 insertions(+)

diff --git a/dev-haskell/quickcheck-classes-base/Manifest b/dev-haskell/quickcheck-classes-base/Manifest
new file mode 100644
index 00000000000..4aab9890f14
--- /dev/null
+++ b/dev-haskell/quickcheck-classes-base/Manifest
@@ -0,0 +1 @@
+DIST quickcheck-classes-base-0.6.0.0.tar.gz 25760 BLAKE2B d09794c63da8311836e6422006d262fca21f7d71b473b69f57bd49b3ed2e39f29fcfd18b73fd311db4f6b1cca390cc579f2438481dbd680841c835d7d0d9f557 SHA512 3d0a7c68ab1cdaddbd272df633e0704f5ee3997b3a86fe79cb960f7c84f8546f3360b9d52ada45b9db6344135f0aab1093d5304935ae19f43d235790fba83216

diff --git a/dev-haskell/quickcheck-classes-base/metadata.xml b/dev-haskell/quickcheck-classes-base/metadata.xml
new file mode 100644
index 00000000000..6b8592b1a5b
--- /dev/null
+++ b/dev-haskell/quickcheck-classes-base/metadata.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>haskell@gentoo.org</email>
+		<name>Gentoo Haskell</name>
+	</maintainer>
+	<use>
+		<flag name="unary-laws">Include infrastructure for testing class laws of unary type constructors.</flag>
+		<flag name="binary-laws">Include infrastructure for testing class laws of binary type constructors.
+Disabling `unary-laws` while keeping `binary-laws` enabled is an unsupported
+configuration.</flag>
+	</use>
+	<longdescription>
+		This libary is a minimal variant of `quickcheck-classes` that
+		only provides laws for typeclasses from `base`. The main purpose
+		of splitting this out is so that `primitive` can depend on
+		`quickcheck-classes-base` in its test suite, avoiding the circular
+		dependency that arises if `quickcheck-classes` is used instead.
+		
+		This library provides QuickCheck properties to ensure
+		that typeclass instances adhere to the set of laws that
+		they are supposed to. There are other libraries that do
+		similar things, such as `genvalidity-hspec` and `checkers`.
+		This library differs from other solutions by not introducing
+		any new typeclasses that the user needs to learn.
+		
+		/Note:/ on GHC &lt; 8.5, this library uses the higher-kinded typeclasses
+		(&#39;Data.Functor.Classes.Show1&#39;, &#39;Data.Functor.Classes.Eq1&#39;, &#39;Data.Functor.Classes.Ord1&#39;, etc.),
+		but on GHC &gt;= 8.5, it uses `-XQuantifiedConstraints` to express these
+		constraints more cleanly.
+	</longdescription>
+</pkgmetadata>

diff --git a/dev-haskell/quickcheck-classes-base/quickcheck-classes-base-0.6.0.0.ebuild b/dev-haskell/quickcheck-classes-base/quickcheck-classes-base-0.6.0.0.ebuild
new file mode 100644
index 00000000000..8b0c61a1e9d
--- /dev/null
+++ b/dev-haskell/quickcheck-classes-base/quickcheck-classes-base-0.6.0.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.6.2
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="QuickCheck common typeclasses from 'base'"
+HOMEPAGE="https://github.com/andrewthad/quickcheck-classes#readme"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+binary-laws +unary-laws"
+
+RDEPEND=">=dev-haskell/base-orphans-0.1:=[profile?]
+	dev-haskell/bifunctors:=[profile?]
+	dev-haskell/contravariant:=[profile?]
+	dev-haskell/fail:=[profile?]
+	>=dev-haskell/semigroups-0.17:=[profile?]
+	dev-haskell/tagged:=[profile?]
+	>=dev-lang/ghc-8.0.1:=
+	binary-laws? ( >=dev-haskell/quickcheck-2.10.0:2=[profile?] )
+	unary-laws? ( >=dev-haskell/quickcheck-2.10.0:2=[profile?] )
+	!unary-laws? ( !binary-laws? ( >=dev-haskell/quickcheck-2.7:2=[profile?] ) )
+"
+DEPEND="${RDEPEND}
+	>=dev-haskell/cabal-1.24.0.0
+"
+
+src_configure() {
+	haskell-cabal_src_configure \
+		$(cabal_flag binary-laws binary-laws) \
+		$(cabal_flag unary-laws unary-laws)
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-haskell/quickcheck-classes-base/
@ 2021-07-30 22:30 Sergei Trofimovich
  0 siblings, 0 replies; 5+ messages in thread
From: Sergei Trofimovich @ 2021-07-30 22:30 UTC (permalink / raw
  To: gentoo-commits

commit:     678699492cee747f0c208d20b66c8b4b8a26133a
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 30 22:30:29 2021 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Jul 30 22:30:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67869949

dev-haskell/quickcheck-classes-base: drop old

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-haskell/quickcheck-classes-base/Manifest       |  1 -
 .../quickcheck-classes-base-0.6.0.0.ebuild         | 39 ----------------------
 2 files changed, 40 deletions(-)

diff --git a/dev-haskell/quickcheck-classes-base/Manifest b/dev-haskell/quickcheck-classes-base/Manifest
index f2a44f23183..9b3a83da17b 100644
--- a/dev-haskell/quickcheck-classes-base/Manifest
+++ b/dev-haskell/quickcheck-classes-base/Manifest
@@ -1,2 +1 @@
-DIST quickcheck-classes-base-0.6.0.0.tar.gz 25760 BLAKE2B d09794c63da8311836e6422006d262fca21f7d71b473b69f57bd49b3ed2e39f29fcfd18b73fd311db4f6b1cca390cc579f2438481dbd680841c835d7d0d9f557 SHA512 3d0a7c68ab1cdaddbd272df633e0704f5ee3997b3a86fe79cb960f7c84f8546f3360b9d52ada45b9db6344135f0aab1093d5304935ae19f43d235790fba83216
 DIST quickcheck-classes-base-0.6.2.0.tar.gz 26732 BLAKE2B aa3b7be411c66b72eb07c81e9fe2c1accdde254ae8e510080d7b0ea93df0148317a61633f96fe459ab329af112eee3d8243fb728f5416d95d258b90a40d1d9cf SHA512 730255f74582081e65fa8c6b36ab8a2c26991a8e7d8140361151614e7a9619f178e50820cdfc3bf5771f1688dce369f9d71de683bc89481a20f8d2382ae4b58d

diff --git a/dev-haskell/quickcheck-classes-base/quickcheck-classes-base-0.6.0.0.ebuild b/dev-haskell/quickcheck-classes-base/quickcheck-classes-base-0.6.0.0.ebuild
deleted file mode 100644
index 8b0c61a1e9d..00000000000
--- a/dev-haskell/quickcheck-classes-base/quickcheck-classes-base-0.6.0.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# ebuild generated by hackport 0.6.2
-
-CABAL_FEATURES="lib profile haddock hoogle hscolour"
-inherit haskell-cabal
-
-DESCRIPTION="QuickCheck common typeclasses from 'base'"
-HOMEPAGE="https://github.com/andrewthad/quickcheck-classes#readme"
-SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~x86"
-IUSE="+binary-laws +unary-laws"
-
-RDEPEND=">=dev-haskell/base-orphans-0.1:=[profile?]
-	dev-haskell/bifunctors:=[profile?]
-	dev-haskell/contravariant:=[profile?]
-	dev-haskell/fail:=[profile?]
-	>=dev-haskell/semigroups-0.17:=[profile?]
-	dev-haskell/tagged:=[profile?]
-	>=dev-lang/ghc-8.0.1:=
-	binary-laws? ( >=dev-haskell/quickcheck-2.10.0:2=[profile?] )
-	unary-laws? ( >=dev-haskell/quickcheck-2.10.0:2=[profile?] )
-	!unary-laws? ( !binary-laws? ( >=dev-haskell/quickcheck-2.7:2=[profile?] ) )
-"
-DEPEND="${RDEPEND}
-	>=dev-haskell/cabal-1.24.0.0
-"
-
-src_configure() {
-	haskell-cabal_src_configure \
-		$(cabal_flag binary-laws binary-laws) \
-		$(cabal_flag unary-laws unary-laws)
-}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-haskell/quickcheck-classes-base/
@ 2022-08-18 18:45 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2022-08-18 18:45 UTC (permalink / raw
  To: gentoo-commits

commit:     66b57785f175f9d1e7de178ca9fcbd8a2b49f7f9
Author:     matoro <matoro <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Mon Aug 15 05:26:08 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 18 18:44:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66b57785

dev-haskell/quickcheck-classes-base: keyword 0.6.2.0 for ~ppc64

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

 .../quickcheck-classes-base/quickcheck-classes-base-0.6.2.0.ebuild    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-haskell/quickcheck-classes-base/quickcheck-classes-base-0.6.2.0.ebuild b/dev-haskell/quickcheck-classes-base/quickcheck-classes-base-0.6.2.0.ebuild
index 7bd0238e1887..aa1a39ae72ca 100644
--- a/dev-haskell/quickcheck-classes-base/quickcheck-classes-base-0.6.2.0.ebuild
+++ b/dev-haskell/quickcheck-classes-base/quickcheck-classes-base-0.6.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,7 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~ppc64 ~x86"
 IUSE="+binary-laws +unary-laws"
 
 RDEPEND="dev-haskell/contravariant:=[profile?]


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

* [gentoo-commits] repo/gentoo:master commit in: dev-haskell/quickcheck-classes-base/
@ 2022-08-31 21:32 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2022-08-31 21:32 UTC (permalink / raw
  To: gentoo-commits

commit:     b65cf2ba172c686a61918bc79f43b1e5e7c1b00a
Author:     matoro <matoro <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Sun Aug 28 17:38:56 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 31 21:31:24 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b65cf2ba

dev-haskell/quickcheck-classes-base: keyword 0.6.2.0 for ~arm64

Thanks-to: Marcus Comstedt <marcus <AT> mc.pp.se>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../quickcheck-classes-base/quickcheck-classes-base-0.6.2.0.ebuild      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-haskell/quickcheck-classes-base/quickcheck-classes-base-0.6.2.0.ebuild b/dev-haskell/quickcheck-classes-base/quickcheck-classes-base-0.6.2.0.ebuild
index aa1a39ae72ca..2ccf2bc8d5b0 100644
--- a/dev-haskell/quickcheck-classes-base/quickcheck-classes-base-0.6.2.0.ebuild
+++ b/dev-haskell/quickcheck-classes-base/quickcheck-classes-base-0.6.2.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
 IUSE="+binary-laws +unary-laws"
 
 RDEPEND="dev-haskell/contravariant:=[profile?]


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

* [gentoo-commits] repo/gentoo:master commit in: dev-haskell/quickcheck-classes-base/
@ 2022-10-06  6:12 Jakov Smolić
  0 siblings, 0 replies; 5+ messages in thread
From: Jakov Smolić @ 2022-10-06  6:12 UTC (permalink / raw
  To: gentoo-commits

commit:     4789ac90b1247ac21438b563bf7999441f105f2e
Author:     matoro <matoro <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Wed Sep 21 22:27:09 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Oct  6 06:11:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4789ac90

dev-haskell/quickcheck-classes-base: keyword 0.6.2.0 for ~riscv

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 .../quickcheck-classes-base/quickcheck-classes-base-0.6.2.0.ebuild      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-haskell/quickcheck-classes-base/quickcheck-classes-base-0.6.2.0.ebuild b/dev-haskell/quickcheck-classes-base/quickcheck-classes-base-0.6.2.0.ebuild
index 2ccf2bc8d5b0..4ea4895363b1 100644
--- a/dev-haskell/quickcheck-classes-base/quickcheck-classes-base-0.6.2.0.ebuild
+++ b/dev-haskell/quickcheck-classes-base/quickcheck-classes-base-0.6.2.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
 IUSE="+binary-laws +unary-laws"
 
 RDEPEND="dev-haskell/contravariant:=[profile?]


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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-06  6:12 [gentoo-commits] repo/gentoo:master commit in: dev-haskell/quickcheck-classes-base/ Jakov Smolić
  -- strict thread matches above, loose matches on Subject: below --
2022-08-31 21:32 Sam James
2022-08-18 18:45 Sam James
2021-07-30 22:30 Sergei Trofimovich
2020-08-22 21:31 Sergei Trofimovich

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