summaryrefslogtreecommitdiff
path: root/dev-haskell/quickcheck-classes
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-23 08:35:49 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-23 08:35:49 +0100
commit386855c4d1ef509c1fd32abd721589c81669613b (patch)
tree35dc984118f0a7dc2df88313d83bb5779fd12514 /dev-haskell/quickcheck-classes
parent0118ac4510d7b85ca62da20e4abd1286dd8bd752 (diff)
gentoo auto-resync : 23:10:2023 - 08:35:49
Diffstat (limited to 'dev-haskell/quickcheck-classes')
-rw-r--r--dev-haskell/quickcheck-classes/Manifest6
-rw-r--r--dev-haskell/quickcheck-classes/metadata.xml43
-rw-r--r--dev-haskell/quickcheck-classes/quickcheck-classes-0.6.4.0.ebuild2
-rw-r--r--dev-haskell/quickcheck-classes/quickcheck-classes-0.6.5.0.ebuild47
4 files changed, 58 insertions, 40 deletions
diff --git a/dev-haskell/quickcheck-classes/Manifest b/dev-haskell/quickcheck-classes/Manifest
index 2b9499b884d3..99ccdb9d1802 100644
--- a/dev-haskell/quickcheck-classes/Manifest
+++ b/dev-haskell/quickcheck-classes/Manifest
@@ -1,3 +1,5 @@
DIST quickcheck-classes-0.6.4.0.tar.gz 19976 BLAKE2B 614ebc6e1be382a942a55a039921021fd4bcaa2f5c977a8d83bd7b1fb76feebb31f94da908c2389d5f9ab5f7e2481f76223375db41d12b3583658d5d7361ed9b SHA512 2d5786d3cd386a795d5e1ca58ef55fb2efb9285724cf8cbb2f28577973ac2b2a9058ba6185904bc29da88f6d080f4a38629df272502796a0c2e31f9a0e8b658c
-EBUILD quickcheck-classes-0.6.4.0.ebuild 1975 BLAKE2B eaad9c5f5c4e0f464d0b531d8c782d21d315b1f8efd5a69d74a55ab0e064c6bf3e9a5ac15e30026a4777a89e6c518c62aa3c0ef6e5e28590d2ec7d449f04d5f0 SHA512 509c1127c0f476102503af6c71709983b4435b571fc39acd1cf5c5833aba3b09f22ba7096a8312815ef29fb7dc83e3d77a153f4fe0e44c3ed793413ed06532e3
-MISC metadata.xml 1889 BLAKE2B 2ebdc9ec2cd637fe753d69517b0de50c0e9b8188c40ee456abe393ee1857ddb4607f857bf53489978da39b5ceafa6b58f5cfbb80dde57fc3cc7380bfb335d11e SHA512 9595d4e8c3ae5c0bee4a0a3214d10014453e93bc1a121c91783e96730ffb92c8007ce5a62781f30ead65ca8d15f2c458c3e638c0222b5a500e860c9924fbfa09
+DIST quickcheck-classes-0.6.5.0.tar.gz 20242 BLAKE2B 6b058b9991ad60bc7f9409d9b85d6f02236174eb39765cad3ced0b633ba1877a2866cccd36968e6902e8bae2b2382c319075ce71922afbc1a9e01a6563378b28 SHA512 d0f894d0357522f59440bd795746b3c17802332e3833982cf1d2d20c2a5dc3e4ac1e54f6b3aeac93c0a1beed9f0f4838e20d8798d99bf161b49fc50bdf1f0670
+EBUILD quickcheck-classes-0.6.4.0.ebuild 1975 BLAKE2B d1c3dbabd4959ac36f92721255f24343c53aa7200d0d64a3f326fd58be192b690537d27bab61a954d782746e0e1ebe2ea443f71efa30668d8fd3cd6b8fe1bbfe SHA512 2249e1994e9c0c73b4b7a9b5e3d9877ffdbd953cf33973b7ced69b9d112ff272acb4b61229fc8866e3066ee46bc83c774c53a6acf6456b9a5ed2df2dc5665bff
+EBUILD quickcheck-classes-0.6.5.0.ebuild 1724 BLAKE2B 962695ee8f9343ddc6cca4c61400edf22a92e5931cd52a57a3fe459da4dfd72e5fdc7fc6d10a2c1f62a4c8b0e71873f51787ab013df3a3dec9851f24d934d98c SHA512 57398b5dd643373186587721d261b74bca25dfa81d618b7035091c924cfdb0637ccc7fcbb8674a6a0174f8544fa2ea26c224ccd8fabdeeeeca2535d464705034
+MISC metadata.xml 1532 BLAKE2B fc8c855d818d2365d1c93334755e36da6b6f3c40f01e86842f6d365da25acba08437a1428bd8506e4adc327dfc65d10dc6163bab6f3d63f28babb1a4f7777ae7 SHA512 3c801ff4cd520618bb3f8c96ac6a73bad8ff148acc9075c7a635ce34d00b35f0b22c1e2588da1014e2d4a5fa5a100037fda3de708b6b0c6faf8d08cc42629f1b
diff --git a/dev-haskell/quickcheck-classes/metadata.xml b/dev-haskell/quickcheck-classes/metadata.xml
index 5f5d00f85a27..1e70ae5d8016 100644
--- a/dev-haskell/quickcheck-classes/metadata.xml
+++ b/dev-haskell/quickcheck-classes/metadata.xml
@@ -6,42 +6,11 @@
<name>Gentoo Haskell</name>
</maintainer>
<use>
- <flag name="aeson">
- Enable the use of the `aeson` package. This may be useful for
- accelerating builds in sandboxes for expert users.
- </flag>
- <flag name="semigroupoids">
- Enable the use of the `semigroupoids` package. This may be
- useful for accelerating builds in sandboxes for expert users.
- </flag>
- <flag name="semirings">
- Enable the use of the `semirings` package. This may be useful
- for accelerating builds in sandboxes for expert users.
- </flag>
- <flag name="vector">
- Enable the use of the `vector` package. This may be useful
- for accelerating builds in sandboxes for expert users.
- </flag>
- <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>
+ <flag name="aeson">You can disable the use of the `aeson` package using `-f-aeson`. This may be useful for accelerating builds in sandboxes for expert users.</flag>
+ <flag name="binary-laws">Include infrastructure for testing class laws of binary type constructors. It is required that this flag match the value that the `unary-laws` flag was given when building `quickcheck-classes-base`. Disabling `unary-laws` while keeping `binary-laws` enabled is an unsupported configuration.</flag>
+ <flag name="semigroupoids">You can disable the use of the `semigroupoids` package using `-f-semigroupoids`. This may be useful for accelerating builds in sandboxes for expert users.</flag>
+ <flag name="semirings">You can disable the use of the `semirings` package using `-f-semirings`. This may be useful for accelerating builds in sandboxes for expert users.</flag>
+ <flag name="unary-laws">Include infrastructure for testing class laws of unary type constructors. It is required that this flag match the value that the `unary-laws` flag was given when building `quickcheck-classes-base`.</flag>
+ <flag name="vector">You can disable the use of the `vector` package using `-f-vector`. This may be useful for accelerating builds in sandboxes for expert users.</flag>
</use>
- <longdescription>
- 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
- ('Data.Functor.Classes.Show1', 'Data.Functor.Classes.Eq1', 'Data.Functor.Classes.Ord1', 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/quickcheck-classes-0.6.4.0.ebuild b/dev-haskell/quickcheck-classes/quickcheck-classes-0.6.4.0.ebuild
index 0483ffffab91..1a22e5080c84 100644
--- a/dev-haskell/quickcheck-classes/quickcheck-classes-0.6.4.0.ebuild
+++ b/dev-haskell/quickcheck-classes/quickcheck-classes-0.6.4.0.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
# ebuild generated by hackport 0.6.2
diff --git a/dev-haskell/quickcheck-classes/quickcheck-classes-0.6.5.0.ebuild b/dev-haskell/quickcheck-classes/quickcheck-classes-0.6.5.0.ebuild
new file mode 100644
index 000000000000..295570109654
--- /dev/null
+++ b/dev-haskell/quickcheck-classes/quickcheck-classes-0.6.5.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# ebuild generated by hackport 0.6.7.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="QuickCheck common typeclasses"
+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 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="+aeson +binary-laws +semigroupoids +semirings +unary-laws +vector"
+
+RDEPEND=">=dev-haskell/primitive-0.6.4:=[profile?] <dev-haskell/primitive-0.8:=[profile?]
+ >=dev-haskell/primitive-addr-0.1.0.2:=[profile?] <dev-haskell/primitive-addr-0.2:=[profile?]
+ >=dev-haskell/quickcheck-classes-base-0.6.2:=[profile?] <dev-haskell/quickcheck-classes-base-0.7:=[profile?]
+ >=dev-lang/ghc-8.4.3:=
+ aeson? ( >=dev-haskell/aeson-0.9:=[profile?] )
+ binary-laws? ( >=dev-haskell/quickcheck-2.10.0:2=[profile?] )
+ semigroupoids? ( dev-haskell/semigroupoids:=[profile?] )
+ semirings? ( >=dev-haskell/semirings-0.4.2:=[profile?] )
+ unary-laws? ( >=dev-haskell/quickcheck-2.10.0:2=[profile?] )
+ !unary-laws? ( !binary-laws? ( >=dev-haskell/quickcheck-2.7:2=[profile?] ) )
+ vector? ( >=dev-haskell/vector-0.12:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-2.4
+ test? ( >=dev-haskell/base-orphans-0.5
+ dev-haskell/tagged
+ !vector? ( dev-haskell/vector ) )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag aeson aeson) \
+ $(cabal_flag binary-laws binary-laws) \
+ $(cabal_flag semigroupoids semigroupoids) \
+ $(cabal_flag semirings semirings) \
+ $(cabal_flag unary-laws unary-laws) \
+ $(cabal_flag vector vector)
+}