summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Todaro <solpeth@posteo.org>2020-07-29 12:43:25 +1000
committerSergei Trofimovich <slyfox@gentoo.org>2020-08-01 09:00:48 +0100
commit45fbb682cf2b55a7ad090f8068701410e7251015 (patch)
tree7eae3a1d654a7bc7eb6503222a5120c0773bd958 /dev-haskell/hslua-module-system
parentdev-haskell/hslua: bump up to 1.0.3.1 (diff)
downloadgentoo-45fbb682cf2b55a7ad090f8068701410e7251015.tar.gz
gentoo-45fbb682cf2b55a7ad090f8068701410e7251015.tar.bz2
gentoo-45fbb682cf2b55a7ad090f8068701410e7251015.zip
dev-haskell/hslua-module-system: add package
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Jack Todaro <solpeth@posteo.org> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/hslua-module-system')
-rw-r--r--dev-haskell/hslua-module-system/Manifest1
-rw-r--r--dev-haskell/hslua-module-system/hslua-module-system-0.2.1.ebuild30
-rw-r--r--dev-haskell/hslua-module-system/metadata.xml17
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-haskell/hslua-module-system/Manifest b/dev-haskell/hslua-module-system/Manifest
new file mode 100644
index 000000000000..60559694bce2
--- /dev/null
+++ b/dev-haskell/hslua-module-system/Manifest
@@ -0,0 +1 @@
+DIST hslua-module-system-0.2.1.tar.gz 6339 BLAKE2B 0019478bf29dac977ff5124e77765eac86876879514e0346a6126574b8ca948a89a66f8417842c45357124e2990e2394275be886b43db59e05ea9065dd2b6b5b SHA512 296d2ee41760d8ee6025562c408f16e78468a9ca53910982fd346a9cf7b8c6df3340fd2d0a7f6ff5fc41c98f0724a733f0ed8bd64cdd18acfb65aa044cd4a99b
diff --git a/dev-haskell/hslua-module-system/hslua-module-system-0.2.1.ebuild b/dev-haskell/hslua-module-system/hslua-module-system-0.2.1.ebuild
new file mode 100644
index 000000000000..9dbc4cc797d2
--- /dev/null
+++ b/dev-haskell/hslua-module-system/hslua-module-system-0.2.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.6.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Lua module wrapper around Haskell's System module"
+HOMEPAGE="https://github.com/hslua/hslua-module-system"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/exceptions-0.8:=[profile?] <dev-haskell/exceptions-0.11:=[profile?]
+ >=dev-haskell/hslua-1.0.3:=[profile?] <dev-haskell/hslua-1.2:=[profile?]
+ >=dev-haskell/temporary-1.2:=[profile?] <dev-haskell/temporary-1.4:=[profile?]
+ >=dev-lang/ghc-8.0.2:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.24.2.0
+ test? ( dev-haskell/tasty
+ dev-haskell/tasty-hunit
+ dev-haskell/text )
+"
diff --git a/dev-haskell/hslua-module-system/metadata.xml b/dev-haskell/hslua-module-system/metadata.xml
new file mode 100644
index 000000000000..286db6fad738
--- /dev/null
+++ b/dev-haskell/hslua-module-system/metadata.xml
@@ -0,0 +1,17 @@
+<?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>
+ <longdescription>
+ Provides access to system information and functionality
+ to Lua scripts via Haskell&#39;s `System` module.
+
+ Intended usage for this package is to preload it by adding
+ the loader function to `package.preload`. Note that the
+ Lua `package` library must have already been loaded before
+ the loader can be added.
+ </longdescription>
+</pkgmetadata>