* [gentoo-commits] repo/gentoo:master commit in: dev-haskell/lukko/
@ 2022-07-23 19:43 Sam James
0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2022-07-23 19:43 UTC (permalink / raw
To: gentoo-commits
commit: 0fc90210ee29e528f155e9cb634871280d528939
Author: Jack Todaro <solpeth <AT> posteo <DOT> org>
AuthorDate: Sat Jul 23 09:15:49 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 23 19:43:21 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fc90210
dev-haskell/lukko: refresh metadata.xml
Signed-off-by: Jack Todaro <solpeth <AT> posteo.org>
Closes: https://github.com/gentoo/gentoo/pull/26536
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-haskell/lukko/metadata.xml | 39 ---------------------------------------
1 file changed, 39 deletions(-)
diff --git a/dev-haskell/lukko/metadata.xml b/dev-haskell/lukko/metadata.xml
index 813bd62764bc..937381521944 100644
--- a/dev-haskell/lukko/metadata.xml
+++ b/dev-haskell/lukko/metadata.xml
@@ -5,43 +5,4 @@
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
- <use>
- <flag name="ofd-locking">Enable open file descriptor locking. Available on Linux (kernel 3.15, released Jun 8, 2014).</flag>
- </use>
- <longdescription>
- This package provides access to platform dependent file locking APIs:
-
- * Open file descriptor locking on Linux ("Lukko.OFD")
- * @flock@ locking on unix platforms ("Lukko.FLock")
- * Windows locking @LockFileEx@ ("Lukko.Windows")
- * No-op locking, which throws exceptions ("Lukko.NoOp")
- * "Lukko" module exports the best option for the target platform with uniform API.
-
- There are alternative file locking packages:
-
- * "GHC.IO.Handle.Lock" in @base >= 4.10@ is good enough for most use cases.
- However, uses only 'Handle's so these locks cannot be used for intra-process locking.
- (You should use e.g. 'MVar' in addition).
-
- * <https://hackage.haskell.org/package/filelock filelock> doesn't support OFD locking.
-
- /Lukko/ means lock in Finnish.
-
- Submodules "Lukko.OFD", "Lukko.Windows" etc are available based on following conditions.
-
- @
- if os(windows)
- \ cpp-options: -DHAS_WINDOWS_LOCK
-
- elif (os(linux) && flag(ofd-locking))
- \ cpp-options: -DHAS_OFD_LOCKING
- \ cpp-options: -DHAS_FLOCK
-
- elif !(os(solaris) || os(aix))
- \ cpp-options: -DHAS_FLOCK
- @
-
- "Lukko.FLock" is available on not (Windows or Solaris or AIX).
- "Lukko.NoOp" is always available.
- </longdescription>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-haskell/lukko/
@ 2022-07-23 19:43 Sam James
0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2022-07-23 19:43 UTC (permalink / raw
To: gentoo-commits
commit: bcbe039cff67754c7cad2dff361983c208146f4c
Author: Jack Todaro <solpeth <AT> posteo <DOT> org>
AuthorDate: Sat Jul 23 08:02:47 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 23 19:43:20 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcbe039c
dev-haskell/lukko: add 0.1.1.3
Closes: https://bugs.gentoo.org/860219
Signed-off-by: Jack Todaro <solpeth <AT> posteo.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-haskell/lukko/Manifest | 2 ++
dev-haskell/lukko/lukko-0.1.1.3.ebuild | 49 ++++++++++++++++++++++++++++++++++
2 files changed, 51 insertions(+)
diff --git a/dev-haskell/lukko/Manifest b/dev-haskell/lukko/Manifest
index 4bd93cb9427f..ba17dfb30a81 100644
--- a/dev-haskell/lukko/Manifest
+++ b/dev-haskell/lukko/Manifest
@@ -1 +1,3 @@
DIST lukko-0.1.1.2.tar.gz 28366 BLAKE2B 8e7a0257c187ed76f2399a2ca381210ad44d683faff74ca583658eab13545e6809fe6ea57b4c4c22c16560272c0d53736183437e4f5ad64919d98dbac239a864 SHA512 fe3a6687b741491ebaeace29c8d4d01307fad43f0e649c087fef24ec227eb231541fa1500e1685c814eb2a1ea472546033e837ce84fa64df79f00b19f8abebb6
+DIST lukko-0.1.1.3.cabal 4556 BLAKE2B 61ae605ec201a1870aba505e4434ace0b6f153b10eb740e2a28cb44cdf948086eb58485c976c0ab895e26521175f9e97c0c4b1ef296831a671c8c0ae64f719b2 SHA512 ac85483d44211bac42bb5bba64a790a2c328db3e3afb9f2837a50a792a13b6efcaf9298705051c6f54f151786c8a41c79f4929f8d5ef3934cc918dfe8091c12b
+DIST lukko-0.1.1.3.tar.gz 28575 BLAKE2B 9f0006d05ba1db03de6fda88265e8949797201124f71ca6690113431f398eb59f19ec67363eb6b2834cac136e985b84882d45dfeb71c67e1147dd000c06cd243 SHA512 8bed8b88a101883f642bb9d9d41512436f5c80db5ea1ad0cddb069c6d09257d21b56a60e0f70b57453e91126065fbfdeeb721064763e64de1975dcb51b1a484a
diff --git a/dev-haskell/lukko/lukko-0.1.1.3.ebuild b/dev-haskell/lukko/lukko-0.1.1.3.ebuild
new file mode 100644
index 000000000000..6c5b7eb3841f
--- /dev/null
+++ b/dev-haskell/lukko/lukko-0.1.1.3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# ebuild generated by hackport 0.7.9999
+#hackport: flags: +ofd-locking
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="File locking"
+HOMEPAGE="https://hackage.haskell.org/package/lukko"
+HACKAGE_REV="2"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz
+ https://hackage.haskell.org/package/${P}/revision/${HACKAGE_REV}.cabal -> ${PF}.cabal"
+
+LICENSE="GPL-2 BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=">=dev-lang/ghc-8.4.3:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-2.2.0.1
+ test? ( >=dev-haskell/async-2.2.2 <dev-haskell/async-2.3
+ >=dev-haskell/singleton-bool-0.1.5 <dev-haskell/singleton-bool-0.2
+ >=dev-haskell/tasty-1.4.0.1 <dev-haskell/tasty-1.5
+ >=dev-haskell/tasty-hunit-0.10.0.2 <dev-haskell/tasty-hunit-0.11
+ >=dev-haskell/temporary-1.3 <dev-haskell/temporary-1.4
+ >=dev-haskell/tasty-expected-failure-0.11.1.2 <dev-haskell/tasty-expected-failure-0.13 )
+"
+BDEPEND="app-text/dos2unix"
+
+src_prepare() {
+ # pull revised cabal from upstream
+ cp "${DISTDIR}/${PF}.cabal" "${S}/${PN}.cabal" || die
+
+ # Convert to unix line endings
+ dos2unix "${S}/${PN}.cabal" || die
+
+ # Apply patches *after* pulling the revised cabal
+ default
+}
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=ofd-locking
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-haskell/lukko/
@ 2022-07-23 19:43 Sam James
0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2022-07-23 19:43 UTC (permalink / raw
To: gentoo-commits
commit: 6e7b01a053d3a09888ec331e14c82c6629fa2681
Author: Jack Todaro <solpeth <AT> posteo <DOT> org>
AuthorDate: Sat Jul 23 08:03:39 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 23 19:43:20 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e7b01a0
dev-haskell/lukko: drop 0.1.1.2
Signed-off-by: Jack Todaro <solpeth <AT> posteo.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-haskell/lukko/Manifest | 1 -
dev-haskell/lukko/lukko-0.1.1.2.ebuild | 36 ----------------------------------
2 files changed, 37 deletions(-)
diff --git a/dev-haskell/lukko/Manifest b/dev-haskell/lukko/Manifest
index ba17dfb30a81..afbce89486e4 100644
--- a/dev-haskell/lukko/Manifest
+++ b/dev-haskell/lukko/Manifest
@@ -1,3 +1,2 @@
-DIST lukko-0.1.1.2.tar.gz 28366 BLAKE2B 8e7a0257c187ed76f2399a2ca381210ad44d683faff74ca583658eab13545e6809fe6ea57b4c4c22c16560272c0d53736183437e4f5ad64919d98dbac239a864 SHA512 fe3a6687b741491ebaeace29c8d4d01307fad43f0e649c087fef24ec227eb231541fa1500e1685c814eb2a1ea472546033e837ce84fa64df79f00b19f8abebb6
DIST lukko-0.1.1.3.cabal 4556 BLAKE2B 61ae605ec201a1870aba505e4434ace0b6f153b10eb740e2a28cb44cdf948086eb58485c976c0ab895e26521175f9e97c0c4b1ef296831a671c8c0ae64f719b2 SHA512 ac85483d44211bac42bb5bba64a790a2c328db3e3afb9f2837a50a792a13b6efcaf9298705051c6f54f151786c8a41c79f4929f8d5ef3934cc918dfe8091c12b
DIST lukko-0.1.1.3.tar.gz 28575 BLAKE2B 9f0006d05ba1db03de6fda88265e8949797201124f71ca6690113431f398eb59f19ec67363eb6b2834cac136e985b84882d45dfeb71c67e1147dd000c06cd243 SHA512 8bed8b88a101883f642bb9d9d41512436f5c80db5ea1ad0cddb069c6d09257d21b56a60e0f70b57453e91126065fbfdeeb721064763e64de1975dcb51b1a484a
diff --git a/dev-haskell/lukko/lukko-0.1.1.2.ebuild b/dev-haskell/lukko/lukko-0.1.1.2.ebuild
deleted file mode 100644
index 6dcaf99f3e07..000000000000
--- a/dev-haskell/lukko/lukko-0.1.1.2.ebuild
+++ /dev/null
@@ -1,36 +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.4.9999
-
-CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
-inherit haskell-cabal
-
-DESCRIPTION="File locking"
-HOMEPAGE="https://hackage.haskell.org/package/lukko"
-SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
-
-LICENSE="GPL-2 BSD"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~x86"
-IUSE="+ofd-locking"
-
-RDEPEND=">=dev-lang/ghc-7.4.1:=
-"
-DEPEND="${RDEPEND}
- >=dev-haskell/cabal-2.2
- test? ( >=dev-haskell/async-2.2.2 <dev-haskell/async-2.3
- >=dev-haskell/singleton-bool-0.1.5 <dev-haskell/singleton-bool-0.2
- >=dev-haskell/tagged-0.8.5 <dev-haskell/tagged-0.9
- >=dev-haskell/tasty-1.2.3 <dev-haskell/tasty-1.3
- >=dev-haskell/tasty-expected-failure-0.11.1.2 <dev-haskell/tasty-expected-failure-0.12
- >=dev-haskell/tasty-hunit-0.10.0.2 <dev-haskell/tasty-hunit-0.11
- >=dev-haskell/temporary-1.3 <dev-haskell/temporary-1.4 )
-"
-
-src_configure() {
- haskell-cabal_src_configure \
- $(cabal_flag ofd-locking ofd-locking)
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-07-23 19:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-23 19:43 [gentoo-commits] repo/gentoo:master commit in: dev-haskell/lukko/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2022-07-23 19:43 Sam James
2022-07-23 19:43 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox