parent
ceeea83555
commit
6c6cc20762
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
inherit systemd
|
||||
|
||||
DESCRIPTION="a utility for monitoring and managing daemons or similar programs running on a Unix system"
|
||||
HOMEPAGE="http://mmonit.com/monit/"
|
||||
SRC_URI="http://mmonit.com/monit/dist/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
|
||||
IUSE="pam ssl"
|
||||
|
||||
RDEPEND="ssl? ( dev-libs/openssl )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/flex
|
||||
sys-devel/bison
|
||||
pam? ( virtual/pam )"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/^INSTALL_PROG/s/-s//' Makefile.in || die "sed failed in Makefile.in"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with ssl) $(use_with pam) || die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
dodoc README*
|
||||
dohtml -r doc/*
|
||||
|
||||
insinto /etc; insopts -m600; doins monitrc || die "doins monitrc failed"
|
||||
newinitd "${FILESDIR}"/monit.initd-5.0-r1 monit || die "newinitd failed"
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Sample configurations are available at:"
|
||||
elog "http://mmonit.com/monit/documentation/"
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
inherit systemd
|
||||
|
||||
DESCRIPTION="a utility for monitoring and managing daemons or similar programs running on a Unix system"
|
||||
HOMEPAGE="http://mmonit.com/monit/"
|
||||
SRC_URI="http://mmonit.com/monit/dist/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux"
|
||||
IUSE="pam ssl"
|
||||
|
||||
RDEPEND="ssl? ( dev-libs/openssl )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/flex
|
||||
sys-devel/bison
|
||||
pam? ( virtual/pam )"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/^INSTALL_PROG/s/-s//' Makefile.in || die "sed failed in Makefile.in"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with ssl) $(use_with pam) || die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
dodoc README*
|
||||
dohtml -r doc/*
|
||||
|
||||
insinto /etc; insopts -m600; doins monitrc || die "doins monitrc failed"
|
||||
newinitd "${FILESDIR}"/monit.initd-5.0-r1 monit || die "newinitd failed"
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Sample configurations are available at:"
|
||||
elog "http://mmonit.com/monit/documentation/"
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST ghc-mod-5.4.0.0.tar.gz 132546 SHA256 736652a2f63f9e8625c859c94f193ad8ac9f8fe793bbee672b65576309bfb069 SHA512 fabcc5ce2fb9e8790043faae2d42b3714fab96da1409d7f1c4736f332c6b74c76724dce253456fd787526d125cfaa1fe48c4725a0da16aabb35d5edf560f2415 WHIRLPOOL 8f493cf40724ffb7b56877f9a9cf752e9b23d7babb4fbd29fad0068a1b8f8ef85b40a96c1fa65508ef924cb05d73300762081a762777b982e5c8d41af467d2f0
|
@ -0,0 +1,3 @@
|
||||
;;; ghc-mod site-lisp configuration
|
||||
|
||||
(add-to-list 'load-path "@SITELISP@")
|
@ -0,0 +1,11 @@
|
||||
--- ghc-mod.cabal.orig 2015-04-18 13:14:37.566613645 +0200
|
||||
+++ ghc-mod.cabal 2015-04-18 13:14:53.420241209 +0200
|
||||
@@ -26,8 +26,6 @@
|
||||
Category: GHC, Development
|
||||
Cabal-Version: >= 1.14
|
||||
Build-Type: Custom
|
||||
-Data-Files: elisp/Makefile
|
||||
- elisp/*.el
|
||||
Data-Files: LICENSE COPYING.BSD3 COPYING.AGPL3
|
||||
Extra-Source-Files: ChangeLog
|
||||
SetupCompat.hs
|
@ -0,0 +1,95 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.4.6
|
||||
|
||||
CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite"
|
||||
inherit elisp-common haskell-cabal
|
||||
|
||||
DESCRIPTION="Happy Haskell Programming"
|
||||
HOMEPAGE="http://www.mew.org/~kazu/proj/ghc-mod/"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="emacs"
|
||||
|
||||
RESTRICT=test # doctests break on modules collisions: temporary / temporary-rc
|
||||
|
||||
RDEPEND="dev-haskell/async:=[profile?]
|
||||
>=dev-haskell/cabal-helper-0.6.0.0:=[profile?] <dev-haskell/cabal-helper-0.7:=[profile?]
|
||||
>=dev-haskell/cereal-0.4:=[profile?]
|
||||
dev-haskell/convertible:=[profile?]
|
||||
>=dev-haskell/djinn-ghc-0.0.2.2:=[profile?]
|
||||
>=dev-haskell/extra-1.4:2=[profile?] <dev-haskell/extra-1.5:2=[profile?]
|
||||
>=dev-haskell/fclabels-2.0:=[profile?] <dev-haskell/fclabels-2.1:=[profile?]
|
||||
dev-haskell/ghc-paths:=[profile?]
|
||||
dev-haskell/ghc-syb-utils:=[profile?]
|
||||
dev-haskell/haskell-src-exts:=[profile?]
|
||||
>=dev-haskell/hlint-1.8.61:=[profile?]
|
||||
>=dev-haskell/monad-control-1:=[profile?]
|
||||
>=dev-haskell/monad-journal-0.4:=[profile?]
|
||||
>=dev-haskell/mtl-2.0:=[profile?]
|
||||
dev-haskell/old-time:=[profile?]
|
||||
>=dev-haskell/pipes-4.1:=[profile?] <dev-haskell/pipes-4.2:=[profile?]
|
||||
dev-haskell/random:=[profile?]
|
||||
dev-haskell/split:=[profile?]
|
||||
dev-haskell/syb:=[profile?]
|
||||
dev-haskell/temporary:=[profile?]
|
||||
dev-haskell/text:=[profile?]
|
||||
dev-haskell/transformers:=[profile?]
|
||||
dev-haskell/transformers-base:=[profile?]
|
||||
>=dev-lang/ghc-7.4.1:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.14
|
||||
test? ( >=dev-haskell/doctest-0.9.3
|
||||
dev-haskell/executable-path
|
||||
>=dev-haskell/hspec-2.0.0 )
|
||||
"
|
||||
SITEFILE=50${PN}-gentoo.el
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-5.4.0.0-gentoo.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
haskell-cabal_src_compile
|
||||
if use emacs ; then
|
||||
pushd elisp
|
||||
elisp-compile *.el || die
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
haskell-cabal_src_install
|
||||
if use emacs ; then
|
||||
pushd "${S}"
|
||||
elisp-install ghc-mod elisp/*.{el,elc}
|
||||
elisp-site-file-install "${FILESDIR}"/${SITEFILE}
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use emacs ; then
|
||||
elisp-site-regen
|
||||
elog "To configure ghc-mod either add this line to ~/.emacs:"
|
||||
elog "(autoload 'ghc-init \"ghc\" nil t)"
|
||||
elog "and either this line:"
|
||||
elog "(add-hook 'haskell-mode-hook (lambda () (ghc-init)))"
|
||||
elog "or if you wish to use flymake:"
|
||||
elog "(add-hook 'haskell-mode-hook (lambda () (ghc-init) (flymake-mode)))"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use emacs ; then
|
||||
elisp-site-regen
|
||||
fi
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>haskell</herd>
|
||||
<longdescription>
|
||||
This packages includes Elisp files
|
||||
and a Haskell command, "ghc-mod".
|
||||
"ghc*.el" enable completion of
|
||||
Haskell symbols on Emacs.
|
||||
Flymake is also integrated.
|
||||
"ghc-mod" is a backend of "ghc*.el".
|
||||
It lists up all installed modules
|
||||
or extracts names of functions, classes,
|
||||
and data declarations.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1,2 +1,2 @@
|
||||
DIST bibus-1.5.1.tar.gz 4989431 SHA256 1e6e6895124d2ab4147be83f2f87d0b1e78b2786f27345b3d1a3976d13d4c70d SHA512 9181dcc332ea139f31c44c10d084581c2d12ce2333c263eede30f2800e155cdaf0d649a6747cf30d7a259ef172d5370a351c5d747200ae7e5dfe88606f95089c WHIRLPOOL 65d9448b6d3e0ec38932b76d3e7c73ef696b9e00733b65810a1d8f789878e4c0a06378dc00b8e1c881c71c64270b44d50b97370129745dcfcf45a1bdc5b1e175
|
||||
DIST bibus-1.5.2-lo-4.patch.xz 13196 SHA256 b7147230929c304ab357c6a725c5cabbd577607e6200df968cdf2c057603c8a1 SHA512 68b90574e9dd0bb3e2cc89c539ff35febdf4ac37dfb65c06709d21b62fdda0108c93f05d37ab96bf52c4f99bbe20caa361d562c297b05dc7ea37404eea659fd1 WHIRLPOOL d807d81277fac722c50d98575939142a6f1f5a1e9eb88dec0acf0053349f54ecce7d7dcf070742b143bbf166704994b401eeb1e1ecd3e32c351d9bc41c09d1d8
|
||||
DIST bibus_1.5.2.orig.tar.gz 5411889 SHA256 c6c66d6bdce403b7791bf58cc16eeaae9f0e9d1c3f0ba8411f9f3e694d740f02 SHA512 33d091dacc707859a11010fcba57691a3e2726ae7579d601720b4398f7be29b580be978da8cd058fab491ec5b52dd3ce33c964a8d5077f8e80d8f0f387ffa2c4 WHIRLPOOL 964f13902a8a20d9e838784cf1f0a032bb2327cd28f3b2470c35a7394ae7f7536a7884d798a8308049a02f6976183ffb1c56cc4d8b20dce13f98033668a90d38
|
||||
|
@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
PYTHON_USE_WITH=sqlite
|
||||
|
||||
inherit multilib eutils python versionator
|
||||
|
||||
DESCRIPTION="Bibliographic and reference management software, integrates with OO.o and MS Word"
|
||||
HOMEPAGE="http://bibus-biblio.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}-biblio/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="mysql"
|
||||
|
||||
# Most of this mess is designed to give the choice of sqlite or mysql
|
||||
# but prefer sqlite. We also need to default to sqlite if neither is requested.
|
||||
# Cannot depend on virtual/ooo
|
||||
# bibus fails to start with app-office/openoffice-bin (bug #288232).
|
||||
RDEPEND="
|
||||
app-office/libreoffice
|
||||
=dev-python/wxpython-2.8*
|
||||
dev-db/sqliteodbc
|
||||
dev-db/unixODBC
|
||||
mysql? (
|
||||
dev-python/mysql-python
|
||||
dev-db/myodbc
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.5.0-install.patch
|
||||
|
||||
sed \
|
||||
-e "s:gentoo-python:python$(python_get_version):g" \
|
||||
-i Makefile Setup/Makefile Setup/bibus.cfg Setup/bibus.sh \
|
||||
|| die "Failed to adjust python paths"
|
||||
|
||||
# Disable byte-compilation of Python modules.
|
||||
sed -e '/\$(compile)/d' -i Makefile || die "sed failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
oopath="/usr/$(get_libdir)/openoffice/program" \
|
||||
prefix='$(DESTDIR)/usr' \
|
||||
sysconfdir='$(DESTDIR)/etc' \
|
||||
install || die "emake install failed"
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
oopath="/usr/$(get_libdir)/openoffice/program" \
|
||||
prefix='$(DESTDIR)/usr' \
|
||||
sysconfdir='$(DESTDIR)/etc' \
|
||||
install-doc-en || die "emake install failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize bibus
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup bibus
|
||||
}
|
@ -1,80 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-pypy-*"
|
||||
PYTHON_USE_WITH=sqlite
|
||||
|
||||
inherit eutils fdo-mime multilib python versionator
|
||||
|
||||
DESCRIPTION="Bibliographic and reference management software, integrates with L/OO.o and MS Word"
|
||||
HOMEPAGE="http://bibus-biblio.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}-biblio/${PN}_${PV}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="mysql"
|
||||
|
||||
# Most of this mess is designed to give the choice of sqlite or mysql
|
||||
# but prefer sqlite. We also need to default to sqlite if neither is requested.
|
||||
# Cannot depend on virtual/ooo
|
||||
# bibus fails to start with app-office/openoffice-bin (bug #288232).
|
||||
RDEPEND="
|
||||
app-office/libreoffice
|
||||
=dev-python/wxpython-2.8*
|
||||
dev-db/sqliteodbc
|
||||
dev-db/unixODBC
|
||||
mysql? (
|
||||
dev-python/mysql-python
|
||||
dev-db/myodbc
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
python_pkg_setup
|
||||
if [[ -d "/usr/$(get_libdir)/openoffice" ]] ; then
|
||||
OFFICESUITE="/usr/$(get_libdir)/openoffice"
|
||||
else
|
||||
OFFICESUITE="/usr/$(get_libdir)/libreoffice"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-install.patch
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
einfo "Installing for ${OFFICESUITE}"
|
||||
installation() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
prefix="${EPREFIX}/usr" \
|
||||
oopath="${OFFICESUITE}/program" \
|
||||
ooure="${OFFICESUITE}/ure-link/lib" \
|
||||
oobasis="${OFFICESUITE}/program" \
|
||||
sysconfdir="${EPREFIX}/etc" \
|
||||
pythondir="$(python_get_sitedir)" \
|
||||
python=$(PYTHON -a) \
|
||||
install install-doc-en
|
||||
}
|
||||
python_execute_function installation
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize bibus
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup bibus
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
@ -1,262 +0,0 @@
|
||||
diff -Naur bibus-1.5.0/Makefile bibus-1.5.0.new/Makefile
|
||||
--- bibus-1.5.0/Makefile 2009-10-08 16:53:13.000000000 -0400
|
||||
+++ bibus-1.5.0.new/Makefile 2009-11-05 23:33:57.000000000 -0500
|
||||
@@ -1,24 +1,25 @@
|
||||
# you presumably will only have to change the three first lines below
|
||||
-DESTDIR = /usr/local
|
||||
+DESTDIR = ${D}usr
|
||||
python = /usr/bin/python
|
||||
oopath = /usr/lib/openoffice/program
|
||||
-ooure = /usr/lib/openoffice.org/basis-link/ure-link/lib
|
||||
+ooure = /usr/lib/openoffice/basis-link/ure-link/lib
|
||||
oobasis = /usr/lib/openoffice/basis-link/program
|
||||
#
|
||||
prefix = $(DESTDIR)
|
||||
exec_prefix = $(prefix)
|
||||
bindir = $(exec_prefix)/bin
|
||||
datadir = $(prefix)/share
|
||||
-sysconfdir = /etc
|
||||
+pythondir = $(prefix)/lib/gentoo-python/site-packages
|
||||
+sysconfdir = ${D}etc
|
||||
mandir = $(prefix)/share/man
|
||||
man1dir = $(mandir)/man1
|
||||
|
||||
define install-files
|
||||
- install -d $(datadir)/bibus
|
||||
- install -m644 *.py MySQL_Bibus.ini $(datadir)/bibus/
|
||||
+ install -d $(pythondir)/bibus
|
||||
+ install -m644 *.py MySQL_Bibus.ini $(pythondir)/bibus/
|
||||
#
|
||||
for dir in Export Format Import StyleEditor FirstStart bibOOo db_models Pixmaps Data LyX Utilities; do \
|
||||
- find $$dir ! -wholename '*CVS*' -a -type f -exec install -m644 '{}' -D $(datadir)/bibus/'{}' ';' ; \
|
||||
+ find $$dir ! -wholename '*CVS*' -a -type f -exec install -m644 '{}' -D $(pythondir)/bibus/'{}' ';' ; \
|
||||
done
|
||||
install -m644 Setup/UnoConnectionListener.odg -D $(datadir)/bibus/Setup/UnoConnectionListener.odg
|
||||
# locale files. We look for all the directory in locale/
|
||||
@@ -35,41 +36,38 @@
|
||||
# freedesktop icon and shortcut
|
||||
install -m644 Pixmaps/bibus.png -D $(datadir)/icons/hicolor/48x48/apps/bibus.png
|
||||
install -m644 Setup/bibus.desktop -D $(datadir)/applications/bibus.desktop
|
||||
- # The following lines are presumably not needed since icons/desktop are in standard locations
|
||||
- #echo 'Exec=$(bindir)/bibus' >> $(datadir)/applications/bibus.desktop
|
||||
- #echo 'Icon=$(datadir)/icons/hicolor/48x48/apps/bibus.png' >> $(datadir)/applications/bibus.desktop
|
||||
|
||||
# bibus command
|
||||
install -d $(bindir)
|
||||
- ln -sf $(datadir)/bibus/bibusStart.py $(bindir)/bibus
|
||||
- chmod 755 $(datadir)/bibus/bibusStart.py
|
||||
+ ln -sf $(pythondir)/bibus/bibusStart.py $(bindir)/bibus
|
||||
+ chmod 755 $(pythondir)/bibus/bibusStart.py
|
||||
|
||||
# basic doc files
|
||||
- install -m755 -d $(datadir)/doc/bibus
|
||||
- install -m644 Docs/*.txt Docs/CHANGELOG Docs/copying $(datadir)/doc/bibus
|
||||
+ install -m755 -d $(datadir)/doc/${PF}
|
||||
+ install -m644 Docs/*.txt Docs/CHANGELOG Docs/copying $(datadir)/doc/${PF}
|
||||
|
||||
# generating bibus.cfg file
|
||||
- echo '[PATH]' > $(datadir)/bibus/bibus.cfg
|
||||
- echo 'python = $(python)' >> $(datadir)/bibus/bibus.cfg
|
||||
- echo 'oopath = $(oopath)' >> $(datadir)/bibus/bibus.cfg
|
||||
- echo 'ooure = $(ooure)' >> $(datadir)/bibus/bibus.cfg
|
||||
- echo 'oobasis = $(oobasis)' >> $(datadir)/bibus/bibus.cfg
|
||||
- echo 'docdir = $(datadir)/doc/bibus/html' >> $(datadir)/bibus/bibus.cfg
|
||||
- echo 'licence = $(datadir)/doc/bibus/copying' >> $(datadir)/bibus/bibus.cfg
|
||||
- echo 'localedir = $(datadir)/locale' >> $(datadir)/bibus/bibus.cfg
|
||||
- echo 'systemconf = $(sysconfdir)/bibus.config' >> $(datadir)/bibus/bibus.cfg
|
||||
+ echo '[PATH]' > $(pythondir)/bibus/bibus.cfg
|
||||
+ echo 'python = $(python)' >> $(pythondir)/bibus/bibus.cfg
|
||||
+ echo 'oopath = $(oopath)' >> $(pythondir)/bibus/bibus.cfg
|
||||
+ echo 'ooure = $(ooure)' >> $(pythondir)/bibus/bibus.cfg
|
||||
+ echo 'oobasis = $(oobasis)' >> $(pythondir)/bibus/bibus.cfg
|
||||
+ echo 'docdir = /usr/share/doc/${PF}/html' >> $(pythondir)/bibus/bibus.cfg
|
||||
+ echo 'licence = /usr/share/doc/${PF}/copying' >> $(pythondir)/bibus/bibus.cfg
|
||||
+ echo 'localedir = /usr/share/locale' >> $(pythondir)/bibus/bibus.cfg
|
||||
+ echo 'systemconf = /etc/bibus.config' >> $(pythondir)/bibus/bibus.cfg
|
||||
endef
|
||||
|
||||
define install-doc-en
|
||||
# copying docs in from Docs/html/en/ for bibus-doc-en
|
||||
cd Docs;\
|
||||
- find html/en/* -type f -exec install -m644 '{}' -D $(datadir)/doc/bibus/'{}' ';'
|
||||
+ find html/en/* -type f -exec install -m644 '{}' -D $(datadir)/doc/${PF}/'{}' ';'
|
||||
endef
|
||||
|
||||
define compile
|
||||
- # compile recursively all the python files located in $(datadir)/bibus
|
||||
- $(python) -c "import compileall ; compileall.compile_dir('$(datadir)/bibus')"
|
||||
- $(python) -O -c "import compileall ; compileall.compile_dir('$(datadir)/bibus')"
|
||||
+ # compile recursively all the python files located in $(pythondir)/bibus
|
||||
+ $(python) -c "import compileall ; compileall.compile_dir('$(pythondir)/bibus')"
|
||||
+ $(python) -O -c "import compileall ; compileall.compile_dir('$(pythondir)/bibus')"
|
||||
endef
|
||||
|
||||
install-files:
|
||||
@@ -85,13 +83,15 @@
|
||||
|
||||
# write uninstaller in $(datadir)/bibus/Setup/uninstall.sh
|
||||
echo "#!/bin/sh" > $(datadir)/bibus/Setup/uninstall.sh
|
||||
- echo "rm -rf $(datadir)/bibus" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
- echo "rm $(bindir)/bibus" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
- echo "find $(datadir)/locale -name bibus.mo -exec rm -f {} \;" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
- echo "rm $(sysconfdir)/bibus.config" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
- echo "rm $(man1dir)/bibus.1" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
- echo "rm -rf $(datadir)/doc/bibus" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
- echo "rm $(datadir)/applications/bibus.desktop" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
- echo "rm $(datadir)/icons/hicolor/48x48/apps/bibus.png" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
+ echo "rm -rf /usr/share/bibus" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
+ echo "rm /usr/share/bibus" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
+ echo "rm -rf /usr/lib/gentoo-python/site-packages/bibus" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
+ echo "rm /usr/lib/gentoo-python/site-packages/bibus" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
+ echo "find /usr/share/locale -name bibus.mo -exec rm -f {} \;" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
+ echo "rm /etc/bibus.config" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
+ echo "rm /usr/share/man/man1/bibus.1" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
+ echo "rm -rf /usr/share/doc/${PF}" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
+ echo "rm /usr/share/applications/bibus.desktop" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
+ echo "rm /usr/share/icons/hicolor/48x48/apps/bibus.png" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
chmod 744 $(datadir)/bibus/Setup/uninstall.sh
|
||||
# end uninstaller
|
||||
diff -Naur bibus-1.5.0/Setup/Makefile bibus-1.5.0.new/Setup/Makefile
|
||||
--- bibus-1.5.0/Setup/Makefile 2009-10-08 16:53:13.000000000 -0400
|
||||
+++ bibus-1.5.0.new/Setup/Makefile 2009-11-05 22:25:14.000000000 -0500
|
||||
@@ -1,24 +1,25 @@
|
||||
# you presumably will only have to change the three first lines below
|
||||
-DESTDIR = /usr/local
|
||||
+DESTDIR = ${D}/usr
|
||||
python = /usr/bin/python
|
||||
oopath = /usr/lib/openoffice/program
|
||||
-ooure = /usr/lib/openoffice.org/basis-link/ure-link/lib
|
||||
+ooure = /usr/lib/openoffice/basis-link/ure-link/lib
|
||||
oobasis = /usr/lib/openoffice/basis-link/program
|
||||
#
|
||||
prefix = $(DESTDIR)
|
||||
exec_prefix = $(prefix)
|
||||
bindir = $(exec_prefix)/bin
|
||||
datadir = $(prefix)/share
|
||||
-sysconfdir = /etc
|
||||
+pythondir = $(prefix)/lib/gentoo-python/site-packages
|
||||
+sysconfdir = ${D}etc
|
||||
mandir = $(prefix)/share/man
|
||||
man1dir = $(mandir)/man1
|
||||
|
||||
define install-files
|
||||
- install -d $(datadir)/bibus
|
||||
- install -m644 *.py MySQL_Bibus.ini $(datadir)/bibus/
|
||||
+ install -d $(pythondir)/bibus
|
||||
+ install -m644 *.py MySQL_Bibus.ini $(pythondir)/bibus/
|
||||
#
|
||||
for dir in Export Format Import StyleEditor FirstStart bibOOo db_models Pixmaps Data LyX Utilities; do \
|
||||
- find $$dir ! -wholename '*CVS*' -a -type f -exec install -m644 '{}' -D $(datadir)/bibus/'{}' ';' ; \
|
||||
+ find $$dir ! -wholename '*CVS*' -a -type f -exec install -m644 '{}' -D $(pythondir)/bibus/'{}' ';' ; \
|
||||
done
|
||||
install -m644 Setup/UnoConnectionListener.odg -D $(datadir)/bibus/Setup/UnoConnectionListener.odg
|
||||
# locale files. We look for all the directory in locale/
|
||||
@@ -35,41 +36,38 @@
|
||||
# freedesktop icon and shortcut
|
||||
install -m644 Pixmaps/bibus.png -D $(datadir)/icons/hicolor/48x48/apps/bibus.png
|
||||
install -m644 Setup/bibus.desktop -D $(datadir)/applications/bibus.desktop
|
||||
- # The following lines are presumably not needed since icons/desktop are in standard locations
|
||||
- #echo 'Exec=$(bindir)/bibus' >> $(datadir)/applications/bibus.desktop
|
||||
- #echo 'Icon=$(datadir)/icons/hicolor/48x48/apps/bibus.png' >> $(datadir)/applications/bibus.desktop
|
||||
-
|
||||
+
|
||||
# bibus command
|
||||
install -d $(bindir)
|
||||
- ln -sf $(datadir)/bibus/bibusStart.py $(bindir)/bibus
|
||||
- chmod 755 $(datadir)/bibus/bibusStart.py
|
||||
+ ln -sf $(pythondir)/bibus/bibusStart.py $(bindir)/bibus
|
||||
+ chmod 755 $(pythondir)/bibus/bibusStart.py
|
||||
|
||||
# basic doc files
|
||||
- install -m755 -d $(datadir)/doc/bibus
|
||||
- install -m644 Docs/*.txt Docs/CHANGELOG Docs/copying $(datadir)/doc/bibus
|
||||
+ install -m755 -d $(datadir)/doc/${PF}
|
||||
+ install -m644 Docs/*.txt Docs/CHANGELOG Docs/copying $(datadir)/doc/${PF}
|
||||
|
||||
# generating bibus.cfg file
|
||||
- echo '[PATH]' > $(datadir)/bibus/bibus.cfg
|
||||
- echo 'python = $(python)' >> $(datadir)/bibus/bibus.cfg
|
||||
- echo 'oopath = $(oopath)' >> $(datadir)/bibus/bibus.cfg
|
||||
- echo 'ooure = $(ooure)' >> $(datadir)/bibus/bibus.cfg
|
||||
- echo 'oobasis = $(oobasis)' >> $(datadir)/bibus/bibus.cfg
|
||||
- echo 'docdir = $(datadir)/doc/bibus/html' >> $(datadir)/bibus/bibus.cfg
|
||||
- echo 'licence = $(datadir)/doc/bibus/copying' >> $(datadir)/bibus/bibus.cfg
|
||||
- echo 'localedir = $(datadir)/locale' >> $(datadir)/bibus/bibus.cfg
|
||||
- echo 'systemconf = $(sysconfdir)/bibus.config' >> $(datadir)/bibus/bibus.cfg
|
||||
+ echo '[PATH]' > $(pythondir)/bibus/bibus.cfg
|
||||
+ echo 'python = $(python)' >> $(pythondir)/bibus/bibus.cfg
|
||||
+ echo 'oopath = $(oopath)' >> $(pythondir)/bibus/bibus.cfg
|
||||
+ echo 'ooure = $(ooure)' >> $(pythondir)/bibus/bibus.cfg
|
||||
+ echo 'oobasis = $(oobasis)' >> $(pythondir)/bibus/bibus.cfg
|
||||
+ echo 'docdir = /usr/share/doc/${PF}/html' >> $(pythondir)/bibus/bibus.cfg
|
||||
+ echo 'licence = /usr/share/doc/${PF}/copying' >> $(pythondir)/bibus/bibus.cfg
|
||||
+ echo 'localedir = /usr/share/locale' >> $(pythondir)/bibus/bibus.cfg
|
||||
+ echo 'systemconf = /etc/bibus.config' >> $(pythondir)/bibus/bibus.cfg
|
||||
endef
|
||||
|
||||
define install-doc-en
|
||||
# copying docs in from Docs/html/en/ for bibus-doc-en
|
||||
cd Docs;\
|
||||
- find html/en/* -type f -exec install -m644 '{}' -D $(datadir)/doc/bibus/'{}' ';'
|
||||
+ find html/en/* -type f -exec install -m644 '{}' -D $(datadir)/doc/${PF}/'{}' ';'
|
||||
endef
|
||||
|
||||
define compile
|
||||
# compile recursively all the python files located in $(datadir)/bibus
|
||||
- $(python) -c "import compileall ; compileall.compile_dir('$(datadir)/bibus')"
|
||||
- $(python) -O -c "import compileall ; compileall.compile_dir('$(datadir)/bibus')"
|
||||
+ $(python) -c "import compileall ; compileall.compile_dir('$(pythondir)/bibus')"
|
||||
+ $(python) -O -c "import compileall ; compileall.compile_dir('$(pythondir)/bibus')"
|
||||
endef
|
||||
|
||||
install-files:
|
||||
@@ -85,13 +83,15 @@
|
||||
|
||||
# write uninstaller in $(datadir)/bibus/Setup/uninstall.sh
|
||||
echo "#!/bin/sh" > $(datadir)/bibus/Setup/uninstall.sh
|
||||
- echo "rm -rf $(datadir)/bibus" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
- echo "rm $(bindir)/bibus" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
- echo "find $(datadir)/locale -name bibus.mo -exec rm -f {} \;" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
- echo "rm $(sysconfdir)/bibus.config" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
- echo "rm $(man1dir)/bibus.1" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
- echo "rm -rf $(datadir)/doc/bibus" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
- echo "rm $(datadir)/applications/bibus.desktop" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
- echo "rm $(datadir)/icons/hicolor/48x48/apps/bibus.png" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
+ echo "rm -rf /usr/share/bibus" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
+ echo "rm /usr/share/bibus" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
+ echo "rm -rf /usr/lib/gentoo-python/site-packages/bibus" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
+ echo "rm /usr/lib/gentoo-python/site-packages/bibus" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
+ echo "find /usr/share/locale -name bibus.mo -exec rm -f {} \;" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
+ echo "rm /etc/bibus.config" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
+ echo "rm /usr/share/man/man1/bibus.1" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
+ echo "rm -rf /usr/share/doc/${PF}" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
+ echo "rm /usr/share/applications/bibus.desktop" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
+ echo "rm /usr/share/icons/hicolor/48x48/apps/bibus.png" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
chmod 744 $(datadir)/bibus/Setup/uninstall.sh
|
||||
# end uninstaller
|
||||
diff -Naur bibus-1.5.0/Setup/bibus.cfg bibus-1.5.0.new/Setup/bibus.cfg
|
||||
--- bibus-1.5.0/Setup/bibus.cfg 2009-10-08 16:53:13.000000000 -0400
|
||||
+++ bibus-1.5.0.new/Setup/bibus.cfg 2009-11-05 22:14:50.000000000 -0500
|
||||
@@ -1,7 +1,7 @@
|
||||
[PATH]
|
||||
python = /usr/bin/python
|
||||
oopath = /usr/lib/openoffice/program
|
||||
-docdir = /usr/local/share/doc/bibus/html
|
||||
-licence = /usr/local/share/doc/bibus/copying
|
||||
-localedir = /usr/local/share/locale
|
||||
-systemconf = /usr/local/etc/bibus.config
|
||||
+docdir = /usr/share/doc/bibus-1.4.3.2-r1/html
|
||||
+licence = /usr/share/doc/bibus-1.4.3.2-r1/copying
|
||||
+localedir = /usr/share/locale
|
||||
+systemconf = /etc/bibus.config
|
||||
diff -Naur bibus-1.5.0/Setup/bibus.sh bibus-1.5.0.new/Setup/bibus.sh
|
||||
--- bibus-1.5.0/Setup/bibus.sh 2009-10-08 16:53:13.000000000 -0400
|
||||
+++ bibus-1.5.0.new/Setup/bibus.sh 2009-11-05 22:14:50.000000000 -0500
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
-export LD_LIBRARY_PATH=/usr/lib/openoffice/program
|
||||
-export PYTHONPATH=/usr/lib/openoffice/program
|
||||
-exec /usr/bin/python /usr/local/share/bibus/bibus.py
|
||||
+export LD_LIBRARY_PATH=/usr/lib/openoffice/program:/usr/lib/openoffice/basis-link/program:/usr/lib/openoffice/basis-link/ure-link/lib
|
||||
+export PYTHONPATH=/usr/lib/openoffice/program:/usr/lib/openoffice/basis-link/program:/usr/lib/openoffice/basis-link/ure-link/lib
|
||||
+exec /usr/bin/python /usr/lib/gentoo-python/site-packages/bibus/bibus.py
|
@ -0,0 +1,31 @@
|
||||
bibusStart.py | 8 +++++---
|
||||
1 file changed, 5 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/bibusStart.py b/bibusStart.py
|
||||
index edfc19f..99c5381 100644
|
||||
--- a/bibusStart.py
|
||||
+++ b/bibusStart.py
|
||||
@@ -17,12 +17,14 @@
|
||||
# along with Bibus; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
#
|
||||
-import ConfigParser,os,sys,urllib,urlparse
|
||||
+import ConfigParser,os,sys,urllib,urlparse,site
|
||||
cp=ConfigParser.ConfigParser()
|
||||
fileName = sys.argv[0]
|
||||
while os.path.islink(fileName): fileName = os.readlink(fileName)
|
||||
sourcedir = os.path.abspath( os.path.dirname(fileName) )
|
||||
-cp.read( os.path.join(sourcedir,'bibus.cfg') )
|
||||
+bibus_sitedir = os.path.join(site.getsitepackages()[0], 'bibus')
|
||||
+bibus_cfg = os.path.join(bibus_sitedir, 'bibus.cfg')
|
||||
+cp.read(bibus_cfg)
|
||||
# We read first, then if it is not null we convert to absolute path
|
||||
# otherwise, empty path will be converted to the current directory path
|
||||
python = cp.get('PATH','python')
|
||||
@@ -69,5 +71,5 @@ else:
|
||||
except KeyError:
|
||||
os.environ[LIBPATH] = oopath
|
||||
# starting Bibus
|
||||
-os.execl( python , os.path.basename(python) , QUOTE+ os.path.join(sourcedir,'bibus.py') +QUOTE )
|
||||
+os.execl( python , os.path.basename(python) , QUOTE+ os.path.join(bibus_sitedir,'bibus.py') +QUOTE )
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST pdfgrep-1.3.1.tar.gz 111653 SHA256 6e8bcaf8b219e1ad733c97257a97286a94124694958c27506b2ea7fc8e532437 SHA512 7a13016a8cf4f8a7387940d7e3862a1fb83f3aa6240084f835e92e958836dff0788db2ae39f35db25d679a2857ddf0b9bcbd7b1aacb10c2a16c3165d56f4efcf WHIRLPOOL 94b69bd0e16d4f0b1b389b09c2330516f25cc772be58e7ad49a2cf1ac0633539bb16a5df595052f468ab89d38ebeeb26b7f2be866555756f423febbf0a600b4b
|
||||
DIST pdfgrep-1.3.2.tar.gz 114754 SHA256 386b167434443dd299d389a0ef292d708123255cbab0e179e11b65ba51d9b386 SHA512 dd5d26999405e1e84f5639ea48e15d2aab951a766f828e8e7b45409a7e027a5312757ac64952da56b8a37cf0cd0bc6f43cd16d78600dcc6c8fcb4deabecf0a5b WHIRLPOOL d2ca79e647a21767e0296d72dcdb511157352adf1f1d60beec9d15eb46554f3ec6d9c11f1dfda8988d4f6dcf4a814c52a8ffc28f72c2f227e01430354a8b99f9
|
||||
DIST pdfgrep-1.4.1.tar.gz 151926 SHA256 db04a210e6bb7b77cd6c54b17f0f6fed0d123a85f97a541b270736a5d3840f2c SHA512 27ce23c25a5f284b3eba92a0f8dbf02600248548967c1e71dfb41e43528824d9add587ea0ac23899ff07d2ffc6c74c2e6e4c2e7240e69494b8d31b7a4afc3735 WHIRLPOOL f08308a13b0b577215521b116db7b4c787b34993665031a690308e45333f35e86419928310b303060cda40aaf4ed5d474400bcee0e29106c9f8c8935d779687e
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="A tool similar to grep which searches text in PDFs"
|
||||
HOMEPAGE="http://pdfgrep.org/"
|
||||
SRC_URI="https://pdfgrep.org/download/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+pcre test unac"
|
||||
|
||||
RDEPEND="
|
||||
app-text/poppler:=[cxx]
|
||||
pcre? ( dev-libs/libpcre[cxx] )
|
||||
unac? ( app-text/unac )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
dev-texlive/texlive-latex
|
||||
dev-util/dejagnu
|
||||
)"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with pcre) \
|
||||
$(use_with unac)
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST cabal-helper-0.6.1.0.tar.gz 32694 SHA256 57e81db2036ae1781e1002d448a1f7abe7fef2b689cf3a3c61689a89c30929df SHA512 8c85b5e49f95acb74dc743a57e428ffe3f98555501a9020e4601f28f10bd3e3f98910dc90d8b611162e61cda0eec06a48ab09bd23eaf82093a85427a4c8330f7 WHIRLPOOL dab600db4e36d70b9d23163b166a8c34ea819074ea8848f319c31b211d41039a35bf4eaf6303323b5c441dd99797dce3d218e7021bf0e2927884ad0da4fec51d
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.4.6.9999
|
||||
|
||||
CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Simple interface to some of Cabal's configuration state used by ghc-mod"
|
||||
HOMEPAGE="http://hackage.haskell.org/package/cabal-helper"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-haskell/cabal-1.14:=[profile?] <dev-haskell/cabal-1.23:=[profile?]
|
||||
dev-haskell/mtl:=[profile?]
|
||||
dev-haskell/temporary:=[profile?]
|
||||
dev-haskell/transformers:=[profile?]
|
||||
dev-haskell/utf8-string:=[profile?]
|
||||
>=dev-lang/ghc-7.4.1:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.10
|
||||
test? ( dev-haskell/extra:2 )
|
||||
"
|
@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>haskell</herd>
|
||||
<longdescription>
|
||||
@cabal-helper@ provides a library which wraps the internal use of executables
|
||||
to lift the restrictions imposed by linking against versions of GHC before
|
||||
@7.10@.
|
||||
|
||||
@cabal-helper@ uses a wrapper executable to compile the actual cabal-helper
|
||||
executable at runtime while linking against an arbitrary version of
|
||||
Cabal. This runtime-compiled helper executable is then used to extract
|
||||
various bits and peices from Cabal\'s on disk state (dist/setup-config)
|
||||
written by it's configure command.
|
||||
|
||||
In addition to this the wrapper executable also supports installing any
|
||||
version of Cabal from hackage in case it cannot be found in any available
|
||||
package database. The wrapper installs these instances of the Cabal library
|
||||
into a private package database so as to not interfere with the user's
|
||||
packages.
|
||||
|
||||
Furthermore the wrapper supports one special case namely reading a state
|
||||
file for Cabal itself. This is needed as Cabal compiles it's Setup.hs using
|
||||
itself and not using any version of Cabal installed in any package database.
|
||||
|
||||
@cabal-helper@ can compile with @Cabal >= 1.14@ but requires @Cabal >= 1.16@
|
||||
at runtime.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST djinn-ghc-0.0.2.3.tar.gz 3330 SHA256 cb956aed69bc5c342b45ef1b1142b6555fd2865dde1a80ac6ab3ef86aca314a4 SHA512 441b6ce7f5d7e4672394bcc6654db9405406540e68855c41b7db33ef9e267178aa56f20209c4a91ffda59a7e44847c7bfebfa3f0c3df3d0868600f34912d9ae8 WHIRLPOOL f842efe8bd312f5de27d15d4cfb99bc4e3e4fd40827b1c1fa84a2c2d13841a5945232fec5aa335f54905a16a0845ea5b2fe0b8a8d7705749b84bcc82e5da2a7c
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.4.4.9999
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Generate Haskell code from a type. Bridge from Djinn to GHC API"
|
||||
HOMEPAGE="http://hackage.haskell.org/package/djinn-ghc"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-haskell/async:=[profile?]
|
||||
>=dev-haskell/djinn-lib-0.0.1.2:=[profile?]
|
||||
dev-haskell/mtl:=[profile?]
|
||||
dev-haskell/transformers:=[profile?]
|
||||
>=dev-lang/ghc-7.4.1:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.8
|
||||
"
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>haskell</herd>
|
||||
<longdescription>
|
||||
Djinn uses an theorem prover for intuitionistic propositional logic
|
||||
to generate a Haskell expression when given a type.
|
||||
This is the bridge from djinn-lib to GHC API.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST djinn-lib-0.0.1.2.tar.gz 14608 SHA256 c0fe10b7aa5cb39f828e933925fc5bbf86c290bb7661021e4d9250ae8ed01011 SHA512 403878b72540362a6b6d545a65ded9f10d05c623180adf8a03e732fac30dd00a42b090b9e4f9da16baa5dc1fdbd6f29a97158174917f3c0527a37b6ecbcfbe8e WHIRLPOOL a8a9c78505853f3f68f756b538c62770ff5a4bf68d12a29d079dea6799f82ce0d6ed96289a5b6d06ab055c6fc50f4b64b02ddf7814d4a25545c39e393a1ef71f
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.4.3.9999
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Generate Haskell code from a type. Library extracted from djinn package"
|
||||
HOMEPAGE="http://www.augustsson.net/Darcs/Djinn/"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-haskell/mtl:=[profile?]
|
||||
>=dev-lang/ghc-7.4.1:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.2
|
||||
"
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>haskell</herd>
|
||||
<longdescription>
|
||||
Djinn uses an theorem prover for intuitionistic propositional logic
|
||||
to generate a Haskell expression when given a type.
|
||||
This is a library extracted from Djinn sources.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1,2 +1,4 @@
|
||||
DIST Extra-1.46.1.tar.gz 19066 SHA256 e95b5bfcc770fc9f54edcf002055690537df7763cd5d78ba190c5660b438f235 SHA512 cf222ccac42e899d6af75980e30e46a6ea41217174262060b41972cb9925f54f15f71050055731f5978c44d7c0eb0d2e32b45e153130b11656590cc132f719b6 WHIRLPOOL 0dc1842de0ab87d9cfdbd98d15582609028c74f0fbc954693404e9c134e6d804cc2a523621288bd88041a9c4cb9c4af3358a60a7e4f07c961d62594181705700
|
||||
DIST Extra-1.46.3.tar.gz 19186 SHA256 d0fb7267853f610a9b9e7d5e37ab39f6de2b99f21c15d44bffb6807459babcf6 SHA512 63fad1f1da19303019859e9fa13076068f817a507f7c74e5d1f7fb3f51d54434d6714702c2ce76539b322513cda4c97bd3cd366fb4a028def400e947aa39e6c8 WHIRLPOOL 9f5e4f85c4aa3dccce07c71dffc911055685b0c0b76b13c5fdb8466a965c31ab49287d7d513e39a382f6b420b299bc76871dda0490495ffd7f56c2b70a494da0
|
||||
DIST extra-1.3.1.tar.gz 30439 SHA256 94c8cc02b530e589171d2e0520afac066994a1cb48cd4c847496387489230dfa SHA512 d6e736a021ee39139855516647b91a328e8ff075b94bdcc84c1296586d9f58a20819fcf78a45bd0fc9b3e9516780c68fb27ec0dc406964b6d9d5c93e26bfc9c5 WHIRLPOOL f8d02f3cd149f3d1dd5e30a5411f3359a2e4590061856f8f0350e63b4baafa961ade1ca142696dd1b1db97dc7ec35dc5481e836a4eaaf62803f55cf66b40caac
|
||||
DIST extra-1.4.2.tar.gz 31311 SHA256 0ea699d56bb08ad6e70ee6aaa2069326c2bc76ac347c0f04e94ce38cf3ec30c1 SHA512 5d0c5ee70d51fa4d132b5e7813908a65badbf339cfcae4182932933b70cb7b8faf659d22c624086757c38973aeff769b5175bf533bbb51c3ec419ba09bb28409 WHIRLPOOL f8090b12f6412d9a15b115cad88b760053844549e5132a2def334f2ced98c51d3e87d45786bdaa55c862bcafea054211c4d2f3bea81f134b0c8e60a3f81c89c6
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.4.6
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Extra functions I use"
|
||||
HOMEPAGE="https://github.com/ndmitchell/extra#readme"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
# this package has nothing to do with extra:0 (aka Extra on hackage)
|
||||
SLOT="2/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/ghc-7.4.1:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.10
|
||||
test? ( dev-haskell/quickcheck )
|
||||
"
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.4.6.9999
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
MY_PN="Extra"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="A grab bag of modules"
|
||||
HOMEPAGE="https://github.com/ddssff/haskell-extra"
|
||||
SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+network-uri"
|
||||
|
||||
RDEPEND="dev-haskell/bzlib:=[profile?]
|
||||
dev-haskell/hunit:=[profile?]
|
||||
dev-haskell/mtl:=[profile?]
|
||||
dev-haskell/old-locale:=[profile?]
|
||||
dev-haskell/old-time:=[profile?]
|
||||
dev-haskell/puremd5:=[profile?]
|
||||
>=dev-haskell/quickcheck-2:2=[profile?] <dev-haskell/quickcheck-3:2=[profile?]
|
||||
dev-haskell/random:=[profile?]
|
||||
dev-haskell/regex-compat:=[profile?]
|
||||
>=dev-haskell/unixutils-1.51:=[profile?]
|
||||
dev-haskell/zlib:=[profile?]
|
||||
>=dev-lang/ghc-7.4.1:=
|
||||
network-uri? ( >=dev-haskell/network-uri-2.6:=[profile?] )
|
||||
!network-uri? ( >=dev-haskell/network-2.4:=[profile?] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.2
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
haskell-cabal_src_configure \
|
||||
$(cabal_flag network-uri network-uri)
|
||||
}
|
@ -1,11 +1,11 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>haskell</herd>
|
||||
<longdescription>
|
||||
A hodge-podge of functions and modules that do not have a better home
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">ndmitchell/extra</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="network-uri">use network-uri package</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1 @@
|
||||
DIST fclabels-2.0.2.3.tar.gz 22787 SHA256 82ba7747afeec6526d3bc2df61b222ae71b45aa3dd8bb8787e9ab2c537f6fad5 SHA512 54e6391ec9fa3c3032c9609a1df0f2082947342a6ea48f3378686eec5bf14bc29ca2f7243ab74fa69b2b18a0749ab40417f59e7338cb5fdc1c4404fb00b6dd7d WHIRLPOOL 178b94abd8a66484253eb10fba2cbf15e0443a58db02ea9c708e77c7fa18ff48cb7f5b6e8e563a2517fe1c9968a05f115a5f10f42e728e1f43054f26370d3d73
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.4.6.9999
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="First class accessor labels implemented as lenses"
|
||||
HOMEPAGE="https://github.com/sebastiaanvisser/fclabels"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-haskell/mtl-1.0:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
|
||||
>=dev-haskell/transformers-0.2:=[profile?] <dev-haskell/transformers-0.5:=[profile?]
|
||||
>=dev-lang/ghc-7.4.1:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.8
|
||||
test? ( >=dev-haskell/hunit-1.2 <dev-haskell/hunit-1.4 )
|
||||
"
|
@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>haskell</herd>
|
||||
<longdescription>
|
||||
This package provides first class labels that can act as
|
||||
bidirectional record fields. The labels can be derived
|
||||
automatically using Template Haskell which means you don't have
|
||||
to write any boilerplate yourself. The labels are implemented as
|
||||
lenses and are fully composable. Labels can be used to /get/,
|
||||
/set/ and /modify/ parts of a datatype in a consistent way.
|
||||
|
||||
See "Data.Label" for an introductory explanation.
|
||||
|
||||
Internally lenses are not tied to Haskell functions directly,
|
||||
but are implemented as arrows. Arrows allow the lenses to be run
|
||||
in custom computational contexts. This approach allows us to
|
||||
make partial lenses that point to fields of multi-constructor
|
||||
datatypes in an elegant way.
|
||||
|
||||
See the "Data.Label.Maybe" module for the use of partial labels.
|
||||
|
||||
> 1.0.3 -> 1.0.4
|
||||
> - Bugfix to compile on GHC 6.12 again.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST ghc-syb-utils-0.2.3.tar.gz 4689 SHA256 7ef63fcfe829b621d5b947c6a4567de111976a463f2ffaf0fafc5e76776cbc67 SHA512 af311d21396c1f7e98c532b1192d2aad27a942f66f4e09eea4cb0d6c1fe444a49c4e14ce4030504f544c796818a887e1ce6bf828cbd28c69c1123e224793cd32 WHIRLPOOL 7fff256a52fad8dfea518090cdf8b5975b45f105ab398c1752ed2b122fb76b43c4592887a68bb1b934ab67cdd4abbef8e4e4e713d9e1f8e0cb87ef1f545337fc
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.4.4.9999
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Scrap Your Boilerplate utilities for the GHC API"
|
||||
HOMEPAGE="https://github.com/nominolo/ghc-syb"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-haskell/syb-0.1.0:=[profile?]
|
||||
>=dev-lang/ghc-7.4.1:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.6
|
||||
"
|
@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>sci-astronomy</herd>
|
||||
<herd>haskell</herd>
|
||||
<longdescription>
|
||||
Scrap Your Boilerplate utilities for the GHC API.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST monad-journal-0.7.1.tar.gz 4582 SHA256 79afa46b66530b7877a1860352ad3696a6ce65f3ad2f17468c3d4e78bc4fd2ad SHA512 5a19f49d05aa00e558b1a945c2064342bc265d8579767903d0080a5c8bc39ced8b871922d2e4b50dbbcc73d431b4784b1ec66ee1a53df97898eaf6c8ed23d7ab WHIRLPOOL a840bdee90a464c5b3a0274f7153fef3cd122064df0dd4fca37e5acb4c21f7225da6262929a46f119affcc5bfe418f11fd8ff3f0f187750e60122bfebba6dafe
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>haskell</herd>
|
||||
<longdescription>
|
||||
This package provides a typeclass for logging in
|
||||
pure code, or more generally, in any kind of
|
||||
context. You can do whatever you want with
|
||||
logs, especially get them, clear them or even
|
||||
sink them through `IO` if you're logging in
|
||||
`(MonadIO m) => m`.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.4.5.9999
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Pure logger typeclass and monad transformer"
|
||||
HOMEPAGE="https://github.com/phaazon/monad-journal"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-haskell/either-4.1:=[profile?] <dev-haskell/either-4.5:=[profile?]
|
||||
>=dev-haskell/monad-control-0.3:=[profile?] <dev-haskell/monad-control-1.1:=[profile?]
|
||||
>=dev-haskell/mtl-2.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
|
||||
>=dev-haskell/transformers-0.3:=[profile?] <dev-haskell/transformers-0.5:=[profile?]
|
||||
>=dev-haskell/transformers-base-0.4:=[profile?] <dev-haskell/transformers-base-0.5:=[profile?]
|
||||
>=dev-lang/ghc-7.4.1:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.10
|
||||
"
|
@ -0,0 +1 @@
|
||||
DIST pipes-4.1.6.tar.gz 38387 SHA256 2d6a5060380497a16287d156c69cbd55d2d3efc6d57d5079f794f90c944e7435 SHA512 a5467658ad9e60b8d2ba39fe4c8fca228388484e9a534e284b51069abc3a7f61382d0cdd6277fa99d5295af06d05496cd2cf4acbdec7cc1556de870d6b0abedd WHIRLPOOL afec914749e101feda0c5d32f405fb3a6e69917048524dfd6e4e22a22e5bd864a016995881774032d2d1d05b1c283da78aa7362be7d1f5d0be53fd45c57a4dc4
|
@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>haskell</herd>
|
||||
<longdescription>
|
||||
\"Coroutines done right\". This library generalizes iteratees and coroutines
|
||||
simply and elegantly.
|
||||
|
||||
Advantages over traditional iteratee\/coroutine implementations:
|
||||
|
||||
* /Concise API/: Use three simple commands: ('>->'), 'request', and 'respond'
|
||||
|
||||
* /Bidirectionality/: Implement duplex channels
|
||||
|
||||
* /Blazing fast/: Implementation tuned for speed
|
||||
|
||||
* /Elegant semantics/: Use practical category theory
|
||||
|
||||
* /Extension Framework/: Mix and match extensions and create your own
|
||||
|
||||
* /ListT/: Correct implementation of ListT that interconverts with pipes
|
||||
|
||||
* /Lightweight Dependency/: @pipes@ depends only on @transformers@ and
|
||||
@mmorph@ and compiles rapidly
|
||||
|
||||
* /Extensive Documentation/: Second to none!
|
||||
|
||||
Import "Control.Proxy" to use the library.
|
||||
|
||||
Read "Control.Proxy.Tutorial" for an extensive tutorial.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.4.5.9999
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Compositional pipelines"
|
||||
HOMEPAGE="http://hackage.haskell.org/package/pipes"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-haskell/mmorph-1.0.0:=[profile?] <dev-haskell/mmorph-1.1:=[profile?]
|
||||
>=dev-haskell/mtl-2.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
|
||||
>=dev-haskell/transformers-0.2.0.0:=[profile?] <dev-haskell/transformers-0.5:=[profile?]
|
||||
>=dev-lang/ghc-7.4.1:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.10
|
||||
test? ( >=dev-haskell/quickcheck-2.4 <dev-haskell/quickcheck-3
|
||||
>=dev-haskell/test-framework-0.4 <dev-haskell/test-framework-1
|
||||
>=dev-haskell/test-framework-quickcheck2-0.2.0 <dev-haskell/test-framework-quickcheck2-0.4 )
|
||||
"
|
@ -1,338 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils java-vm-2 prefix versionator
|
||||
|
||||
# This URIs need to be updated when bumping!
|
||||
JDK_URI="http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html"
|
||||
JCE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html"
|
||||
|
||||
# This is a list of archs supported by this update.
|
||||
# Currently arm comes and goes.
|
||||
AT_AVAILABLE=( amd64 arm x86 x64-solaris sparc64-solaris x64-macos )
|
||||
|
||||
# Sometimes some or all of the demos are missing, this is to not have to rewrite half
|
||||
# the ebuild when it happens.
|
||||
DEMOS_AVAILABLE=( amd64 arm x86 x64-solaris sparc64-solaris x64-macos )
|
||||
|
||||
if [[ "$(get_version_component_range 4)" == 0 ]] ; then
|
||||
S_PV="$(get_version_component_range 1-3)"
|
||||
else
|
||||
MY_PV_EXT="u$(get_version_component_range 4)"
|
||||
S_PV="$(get_version_component_range 1-4)"
|
||||
fi
|
||||
|
||||
MY_PV="$(get_version_component_range 2)${MY_PV_EXT}"
|
||||
|
||||
AT_amd64="jdk-${MY_PV}-linux-x64.tar.gz"
|
||||
AT_arm="jdk-${MY_PV}-linux-arm-vfp-hflt.tar.gz"
|
||||
AT_x86="jdk-${MY_PV}-linux-i586.tar.gz"
|
||||
AT_x64_solaris="jdk-${MY_PV}-solaris-x64.tar.gz"
|
||||
AT_sparc64_solaris="${AT_sparc_solaris} jdk-${MY_PV}-solaris-sparcv9.tar.gz"
|
||||
AT_x64_macos="jdk-${MY_PV}-macosx-x64.dmg"
|
||||
|
||||
DEMOS_amd64="jdk-${MY_PV}-linux-x64-demos.tar.gz"
|
||||
DEMOS_arm="jdk-${MY_PV}-linux-arm-vfp-hflt-demos.tar.gz"
|
||||
DEMOS_x86="jdk-${MY_PV}-linux-i586-demos.tar.gz"
|
||||
DEMOS_x64_solaris="jdk-${MY_PV}-solaris-x64-demos.tar.gz"
|
||||
DEMOS_sparc64_solaris="jdk-${MY_PV}-solaris-sparcv9-demos.tar.gz"
|
||||
DEMOS_x64_macos="jdk-${MY_PV}-macosx-x86_64-demos.zip"
|
||||
|
||||
JCE_DIR="UnlimitedJCEPolicyJDK8"
|
||||
JCE_FILE="jce_policy-8.zip"
|
||||
|
||||
DESCRIPTION="Oracle's Java SE Development Kit"
|
||||
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
|
||||
for d in "${AT_AVAILABLE[@]}"; do
|
||||
SRC_URI+=" ${d}? ( $(eval "echo \${$(echo AT_${d/-/_})}")"
|
||||
if has ${d} "${DEMOS_AVAILABLE[@]}"; then
|
||||
SRC_URI+=" examples? ( $(eval "echo \${$(echo DEMOS_${d/-/_})}") )"
|
||||
fi
|
||||
SRC_URI+=" )"
|
||||
done
|
||||
unset d
|
||||
SRC_URI+=" jce? ( ${JCE_FILE} )"
|
||||
|
||||
LICENSE="Oracle-BCLA-JavaSE examples? ( BSD )"
|
||||
SLOT="1.8"
|
||||
KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux ~x64-macos ~sparc64-solaris ~x64-solaris"
|
||||
IUSE="alsa +awt cups derby doc examples +fontconfig javafx jce nsplugin pax_kernel selinux source"
|
||||
REQUIRED_USE="javafx? ( alsa fontconfig )"
|
||||
|
||||
RESTRICT="fetch preserve-libs strip"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
# NOTES:
|
||||
#
|
||||
# * cups is dlopened.
|
||||
#
|
||||
# * libpng is also dlopened but only by libsplashscreen, which isn't
|
||||
# important, so we can exclude that.
|
||||
#
|
||||
# * We still need to work out the exact AWT and JavaFX dependencies
|
||||
# under MacOS. It doesn't appear to use many, if any, of the
|
||||
# dependencies below.
|
||||
#
|
||||
RDEPEND="!x64-macos? (
|
||||
awt? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrender
|
||||
)
|
||||
javafx? (
|
||||
dev-libs/glib:2
|
||||
dev-libs/libxml2:2
|
||||
dev-libs/libxslt
|
||||
media-libs/freetype:2
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libX11
|
||||
x11-libs/libXtst
|
||||
x11-libs/libXxf86vm
|
||||
x11-libs/pango
|
||||
virtual/opengl
|
||||
)
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
cups? ( net-print/cups )
|
||||
doc? ( dev-java/java-sdk-docs:${SLOT} )
|
||||
fontconfig? ( media-libs/fontconfig:1.0 )
|
||||
!prefix? ( sys-libs/glibc:* )
|
||||
selinux? ( sec-policy/selinux-java )"
|
||||
|
||||
# A PaX header isn't created by scanelf so depend on paxctl to avoid
|
||||
# fallback marking. See bug #427642.
|
||||
DEPEND="jce? ( app-arch/unzip )
|
||||
examples? ( x64-macos? ( app-arch/unzip ) )
|
||||
pax_kernel? ( sys-apps/paxctl )"
|
||||
|
||||
S="${WORKDIR}/jdk"
|
||||
|
||||
check_tarballs_available() {
|
||||
local uri=$1; shift
|
||||
local dl= unavailable=
|
||||
for dl in "${@}" ; do
|
||||
[[ ! -f "${DISTDIR}/${dl}" ]] && unavailable+=" ${dl}"
|
||||
done
|
||||
|
||||
if [[ -n "${unavailable}" ]] ; then
|
||||
if [[ -z ${_check_tarballs_available_once} ]] ; then
|
||||
einfo
|
||||
einfo "Oracle requires you to download the needed files manually after"
|
||||
einfo "accepting their license through a javascript capable web browser."
|
||||
einfo
|
||||
_check_tarballs_available_once=1
|
||||
fi
|
||||
einfo "Download the following files:"
|
||||
for dl in ${unavailable}; do
|
||||
einfo " ${dl}"
|
||||
done
|
||||
einfo "at '${uri}'"
|
||||
einfo "and move them to '${DISTDIR}'"
|
||||
einfo
|
||||
einfo "If the above mentioned urls do not point to the correct version anymore,"
|
||||
einfo "please download the files from Oracle's java download archive:"
|
||||
einfo
|
||||
einfo " http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html#jdk-${MY_PV}-oth-JPR"
|
||||
einfo
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_nofetch() {
|
||||
local distfiles=( $(eval "echo \${$(echo AT_${ARCH/-/_})}") )
|
||||
if use examples && has ${ARCH} "${DEMOS_AVAILABLE[@]}"; then
|
||||
distfiles+=( $(eval "echo \${$(echo DEMOS_${ARCH/-/_})}") )
|
||||
fi
|
||||
check_tarballs_available "${JDK_URI}" "${distfiles[@]}"
|
||||
|
||||
use jce && check_tarballs_available "${JCE_URI}" "${JCE_FILE}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if use x64-macos ; then
|
||||
pushd "${T}" > /dev/null
|
||||
mkdir dmgmount
|
||||
hdiutil attach "${DISTDIR}"/jdk-${MY_PV}-macosx-x64.dmg \
|
||||
-mountpoint "${T}"/dmgmount
|
||||
local update=$(get_version_component_range 4)
|
||||
[[ ${#update} == 1 ]] && update="0${update}"
|
||||
xar -xf dmgmount/JDK\ $(get_version_component_range 2)\ Update\ ${update}.pkg
|
||||
hdiutil detach "${T}"/dmgmount
|
||||
zcat jdk1${MY_PV%u*}0${update}.pkg/Payload | cpio -idv
|
||||
mv Contents/Home "${WORKDIR}"/jdk${MY_PV}
|
||||
popd > /dev/null
|
||||
else
|
||||
default
|
||||
fi
|
||||
|
||||
# Upstream is changing their versioning scheme every release around 1.8.0.*;
|
||||
# to stop having to change it over and over again, just wildcard match and
|
||||
# live a happy life instead of trying to get this new jdk1.8.0_05 to work.
|
||||
mv "${WORKDIR}"/jdk* "${S}" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use jce ; then
|
||||
mv "${WORKDIR}"/${JCE_DIR} jre/lib/security/ || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="/opt/${P}"
|
||||
local ddest="${ED}${dest#/}"
|
||||
|
||||
# Create files used as storage for system preferences.
|
||||
mkdir jre/.systemPrefs || die
|
||||
touch jre/.systemPrefs/.system.lock || die
|
||||
touch jre/.systemPrefs/.systemRootModFile || die
|
||||
|
||||
if ! use alsa ; then
|
||||
rm -vf jre/lib/*/libjsoundalsa.* || die
|
||||
fi
|
||||
|
||||
if ! use awt ; then
|
||||
rm -vf {,jre/}lib/*/lib*{[jx]awt,splashscreen}* \
|
||||
{,jre/}bin/{javaws,policytool} \
|
||||
bin/appletviewer || die
|
||||
fi
|
||||
|
||||
if ! use javafx ; then
|
||||
rm -vf jre/lib/*/lib*{decora,fx,glass,prism}* \
|
||||
jre/lib/*/libgstreamer-lite.* {,jre/}lib/{,ext/}*fx* \
|
||||
bin/*javafx* || die
|
||||
fi
|
||||
|
||||
if ! use nsplugin ; then
|
||||
rm -vf jre/lib/*/libnpjp2.* || die
|
||||
else
|
||||
local nsplugin=$(echo jre/lib/*/libnpjp2.*)
|
||||
fi
|
||||
|
||||
# Even though plugins linked against multiple ffmpeg versions are
|
||||
# provided, they generally lag behind what Gentoo has available.
|
||||
rm -vf jre/lib/*/libavplugin* || die
|
||||
|
||||
dodoc COPYRIGHT
|
||||
dodir "${dest}"
|
||||
cp -pPR bin include jre lib man "${ddest}" || die
|
||||
|
||||
if use derby ; then
|
||||
cp -pPR db "${ddest}" || die
|
||||
fi
|
||||
|
||||
if use examples && has ${ARCH} "${DEMOS_AVAILABLE[@]}" ; then
|
||||
cp -pPR demo sample "${ddest}" || die
|
||||
fi
|
||||
|
||||
if use jce ; then
|
||||
dodir "${dest}"/jre/lib/security/strong-jce
|
||||
mv "${ddest}"/jre/lib/security/US_export_policy.jar \
|
||||
"${ddest}"/jre/lib/security/strong-jce || die
|
||||
mv "${ddest}"/jre/lib/security/local_policy.jar \
|
||||
"${ddest}"/jre/lib/security/strong-jce || die
|
||||
dosym "${dest}"/jre/lib/security/${JCE_DIR}/US_export_policy.jar \
|
||||
"${dest}"/jre/lib/security/US_export_policy.jar
|
||||
dosym "${dest}"/jre/lib/security/${JCE_DIR}/local_policy.jar \
|
||||
"${dest}"/jre/lib/security/local_policy.jar
|
||||
fi
|
||||
|
||||
if use nsplugin ; then
|
||||
install_mozilla_plugin "${dest}/${nsplugin}"
|
||||
fi
|
||||
|
||||
if use source ; then
|
||||
cp -v src.zip "${ddest}" || die
|
||||
|
||||
if use javafx ; then
|
||||
cp -v javafx-src.zip "${ddest}" || die
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -d jre/lib/desktop ]] ; then
|
||||
# Install desktop file for the Java Control Panel.
|
||||
# Using ${PN}-${SLOT} to prevent file collision with jre and or
|
||||
# other slots. make_desktop_entry can't be used as ${P} would
|
||||
# end up in filename.
|
||||
newicon jre/lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png \
|
||||
sun-jcontrol-${PN}-${SLOT}.png || die
|
||||
sed -e "s#Name=.*#Name=Java Control Panel for Oracle JDK ${SLOT}#" \
|
||||
-e "s#Exec=.*#Exec=/opt/${P}/jre/bin/jcontrol#" \
|
||||
-e "s#Icon=.*#Icon=sun-jcontrol-${PN}-${SLOT}#" \
|
||||
-e "s#Application;##" \
|
||||
-e "/Encoding/d" \
|
||||
jre/lib/desktop/applications/sun_java.desktop \
|
||||
> "${T}"/jcontrol-${PN}-${SLOT}.desktop || die
|
||||
domenu "${T}"/jcontrol-${PN}-${SLOT}.desktop
|
||||
fi
|
||||
|
||||
# Prune all fontconfig files so libfontconfig will be used and only install
|
||||
# a Gentoo specific one if fontconfig is disabled.
|
||||
# http://docs.oracle.com/javase/8/docs/technotes/guides/intl/fontconfig.html
|
||||
rm "${ddest}"/jre/lib/fontconfig.*
|
||||
if ! use fontconfig ; then
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties "${T}"/fontconfig.properties || die
|
||||
eprefixify "${T}"/fontconfig.properties
|
||||
insinto "${dest}"/jre/lib/
|
||||
doins "${T}"/fontconfig.properties
|
||||
fi
|
||||
|
||||
# This needs to be done before CDS - #215225
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
|
||||
# see bug #207282
|
||||
einfo "Creating the Class Data Sharing archives"
|
||||
case ${ARCH} in
|
||||
arm|ia64)
|
||||
${ddest}/bin/java -client -Xshare:dump || die
|
||||
;;
|
||||
x86)
|
||||
${ddest}/bin/java -client -Xshare:dump || die
|
||||
# limit heap size for large memory on x86 #467518
|
||||
# this is a workaround and shouldn't be needed.
|
||||
${ddest}/bin/java -server -Xms64m -Xmx64m -Xshare:dump || die
|
||||
;;
|
||||
*)
|
||||
${ddest}/bin/java -server -Xshare:dump || die
|
||||
;;
|
||||
esac
|
||||
|
||||
# Remove empty dirs we might have copied.
|
||||
find "${D}" -type d -empty -exec rmdir -v {} + || die
|
||||
|
||||
if use x64-macos ; then
|
||||
# Fix miscellaneous install_name issues.
|
||||
pushd "${ddest}"/jre/lib > /dev/null || die
|
||||
local lib needed nlib npath
|
||||
for lib in \
|
||||
decora_sse glass jfx{media,webkit} \
|
||||
javafx_{font,font_t2k,iio} prism_{common,es2,sw} \
|
||||
; do
|
||||
lib=lib${lib}.dylib
|
||||
einfo "Fixing self-reference of ${lib}"
|
||||
install_name_tool \
|
||||
-id "${EPREFIX}${dest}/jre/lib/${lib}" \
|
||||
"${lib}"
|
||||
done
|
||||
popd > /dev/null
|
||||
|
||||
# This is still jdk1{5,6}, even on Java 8, so don't change it
|
||||
# until you know different.
|
||||
for nlib in jdk1{5,6} ; do
|
||||
install_name_tool -change \
|
||||
/usr/lib/libgcc_s_ppc64.1.dylib \
|
||||
$($(tc-getCC) -print-file-name=libgcc_s_ppc64.1.dylib) \
|
||||
"${ddest}"/lib/visualvm/profiler/lib/deployed/${nlib}/mac/libprofilerinterface.jnilib
|
||||
install_name_tool -id \
|
||||
"${EPREFIX}${dest}"/lib/visualvm/profiler/lib/deployed/${nlib}/mac/libprofilerinterface.jnilib \
|
||||
"${ddest}"/lib/visualvm/profiler/lib/deployed/${nlib}/mac/libprofilerinterface.jnilib
|
||||
done
|
||||
fi
|
||||
|
||||
set_java_env
|
||||
java-vm_revdep-mask
|
||||
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
|
||||
}
|
@ -1,230 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils java-vm-2 prefix versionator
|
||||
|
||||
# This URIs need updating when bumping!
|
||||
JRE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html"
|
||||
JCE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html"
|
||||
|
||||
if [[ "$(get_version_component_range 4)" == 0 ]] ; then
|
||||
S_PV="$(get_version_component_range 1-3)"
|
||||
else
|
||||
MY_PV_EXT="u$(get_version_component_range 4)"
|
||||
S_PV="$(get_version_component_range 1-4)"
|
||||
fi
|
||||
|
||||
MY_PV="$(get_version_component_range 2)${MY_PV_EXT}"
|
||||
|
||||
AT_amd64="jre-${MY_PV}-linux-x64.tar.gz"
|
||||
AT_x86="jre-${MY_PV}-linux-i586.tar.gz"
|
||||
|
||||
JCE_DIR="UnlimitedJCEPolicyJDK8"
|
||||
JCE_FILE="jce_policy-8.zip"
|
||||
|
||||
DESCRIPTION="Oracle's Java SE Runtime Environment"
|
||||
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
|
||||
SRC_URI="
|
||||
amd64? ( ${AT_amd64} )
|
||||
x86? ( ${AT_x86} )
|
||||
jce? ( ${JCE_FILE} )"
|
||||
|
||||
LICENSE="Oracle-BCLA-JavaSE"
|
||||
SLOT="1.8"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="alsa +awt cups +fontconfig javafx jce nsplugin pax_kernel selinux"
|
||||
|
||||
RESTRICT="fetch preserve-libs strip"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
# NOTES:
|
||||
#
|
||||
# * cups is dlopened.
|
||||
#
|
||||
# * libpng is also dlopened but only by libsplashscreen, which isn't
|
||||
# important, so we can exclude that.
|
||||
#
|
||||
# * We still need to work out the exact AWT and JavaFX dependencies
|
||||
# under MacOS. It doesn't appear to use many, if any, of the
|
||||
# dependencies below.
|
||||
#
|
||||
RDEPEND="!x64-macos? (
|
||||
awt? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrender
|
||||
)
|
||||
javafx? (
|
||||
dev-libs/glib:2
|
||||
dev-libs/libxml2:2
|
||||
dev-libs/libxslt
|
||||
media-libs/freetype:2
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libX11
|
||||
x11-libs/libXtst
|
||||
x11-libs/libXxf86vm
|
||||
x11-libs/pango
|
||||
virtual/opengl
|
||||
)
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
cups? ( net-print/cups )
|
||||
fontconfig? ( media-libs/fontconfig:1.0 )
|
||||
!prefix? ( sys-libs/glibc:* )
|
||||
selinux? ( sec-policy/selinux-java )"
|
||||
|
||||
# A PaX header isn't created by scanelf so depend on paxctl to avoid
|
||||
# fallback marking. See bug #427642.
|
||||
DEPEND="jce? ( app-arch/unzip )
|
||||
pax_kernel? ( sys-apps/paxctl )"
|
||||
|
||||
S="${WORKDIR}/jre"
|
||||
|
||||
pkg_nofetch() {
|
||||
local AT_ARCH="AT_${ARCH}"
|
||||
local AT="${!AT_ARCH}"
|
||||
|
||||
einfo "Please download '${AT}' from:"
|
||||
einfo "'${JRE_URI}'"
|
||||
einfo "and move it to '${DISTDIR}'"
|
||||
|
||||
if use jce; then
|
||||
einfo "Also download '${JCE_FILE}' from:"
|
||||
einfo "'${JCE_URI}'"
|
||||
einfo "and move it to '${DISTDIR}'"
|
||||
fi
|
||||
|
||||
einfo
|
||||
einfo "If the above mentioned urls do not point to the correct version anymore,"
|
||||
einfo "please download the files from Oracle's java download archive:"
|
||||
einfo
|
||||
einfo " http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html#jre-${MY_PV}-oth-JPR"
|
||||
einfo
|
||||
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
# Upstream is changing their versioning scheme every release around 1.8.0.*;
|
||||
# to stop having to change it over and over again, just wildcard match and
|
||||
# live a happy life instead of trying to get this new jre1.8.0_05 to work.
|
||||
mv "${WORKDIR}"/jre* "${S}" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use jce ; then
|
||||
mv "${WORKDIR}"/${JCE_DIR} lib/security/ || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="/opt/${P}"
|
||||
local ddest="${ED}${dest#/}"
|
||||
|
||||
# Create files used as storage for system preferences.
|
||||
mkdir .systemPrefs || die
|
||||
touch .systemPrefs/.system.lock || die
|
||||
touch .systemPrefs/.systemRootModFile || die
|
||||
|
||||
if ! use alsa ; then
|
||||
rm -vf lib/*/libjsoundalsa.* || die
|
||||
fi
|
||||
|
||||
if ! use awt ; then
|
||||
rm -vf lib/*/lib*{[jx]awt,splashscreen}* \
|
||||
bin/{javaws,policytool} || die
|
||||
fi
|
||||
|
||||
if ! use javafx ; then
|
||||
rm -vf lib/*/lib*{decora,fx,glass,prism}* \
|
||||
lib/*/libgstreamer-lite.* lib/{,ext/}*fx* || die
|
||||
fi
|
||||
|
||||
if ! use nsplugin ; then
|
||||
rm -vf lib/*/libnpjp2.* || die
|
||||
else
|
||||
local nsplugin=$(echo lib/*/libnpjp2.*)
|
||||
fi
|
||||
|
||||
# Even though plugins linked against multiple ffmpeg versions are
|
||||
# provided, they generally lag behind what Gentoo has available.
|
||||
rm -vf lib/*/libavplugin* || die
|
||||
|
||||
dodoc COPYRIGHT
|
||||
dodir "${dest}"
|
||||
cp -pPR bin lib man "${ddest}" || die
|
||||
|
||||
if use jce ; then
|
||||
dodir ${dest}/lib/security/strong-jce
|
||||
mv "${ddest}"/lib/security/US_export_policy.jar \
|
||||
"${ddest}"/lib/security/strong-jce || die
|
||||
mv "${ddest}"/lib/security/local_policy.jar \
|
||||
"${ddest}"/lib/security/strong-jce || die
|
||||
dosym "${dest}"/lib/security/${JCE_DIR}/US_export_policy.jar \
|
||||
"${dest}"/lib/security/US_export_policy.jar
|
||||
dosym "${dest}"/lib/security/${JCE_DIR}/local_policy.jar \
|
||||
"${dest}"/lib/security/local_policy.jar
|
||||
fi
|
||||
|
||||
if use nsplugin ; then
|
||||
install_mozilla_plugin "${dest}/${nsplugin}"
|
||||
fi
|
||||
|
||||
# Install desktop file for the Java Control Panel.
|
||||
# Using ${PN}-${SLOT} to prevent file collision with jre and or other slots.
|
||||
# make_desktop_entry can't be used as ${P} would end up in filename.
|
||||
newicon lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png \
|
||||
sun-jcontrol-${PN}-${SLOT}.png || die
|
||||
sed -e "s#Name=.*#Name=Java Control Panel for Oracle JRE ${SLOT}#" \
|
||||
-e "s#Exec=.*#Exec=/opt/${P}/bin/jcontrol#" \
|
||||
-e "s#Icon=.*#Icon=sun-jcontrol-${PN}-${SLOT}#" \
|
||||
-e "s#Application;##" \
|
||||
-e "/Encoding/d" \
|
||||
lib/desktop/applications/sun_java.desktop > \
|
||||
"${T}"/jcontrol-${PN}-${SLOT}.desktop || die
|
||||
domenu "${T}"/jcontrol-${PN}-${SLOT}.desktop
|
||||
|
||||
# Prune all fontconfig files so libfontconfig will be used and only install
|
||||
# a Gentoo specific one if fontconfig is disabled.
|
||||
# http://docs.oracle.com/javase/8/docs/technotes/guides/intl/fontconfig.html
|
||||
rm "${ddest}"/lib/fontconfig.* || die
|
||||
if ! use fontconfig ; then
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties "${T}"/fontconfig.properties || die
|
||||
eprefixify "${T}"/fontconfig.properties
|
||||
insinto "${dest}"/lib/
|
||||
doins "${T}"/fontconfig.properties
|
||||
fi
|
||||
|
||||
# This needs to be done before CDS - #215225
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
|
||||
# see bug #207282
|
||||
einfo "Creating the Class Data Sharing archives"
|
||||
case ${ARCH} in
|
||||
arm|ia64)
|
||||
${ddest}/bin/java -client -Xshare:dump || die
|
||||
;;
|
||||
x86)
|
||||
${ddest}/bin/java -client -Xshare:dump || die
|
||||
# limit heap size for large memory on x86 #467518
|
||||
# this is a workaround and shouldn't be needed.
|
||||
${ddest}/bin/java -server -Xms64m -Xmx64m -Xshare:dump || die
|
||||
;;
|
||||
*)
|
||||
${ddest}/bin/java -server -Xshare:dump || die
|
||||
;;
|
||||
esac
|
||||
|
||||
# Remove empty dirs we might have copied.
|
||||
find "${D}" -type d -empty -exec rmdir -v {} + || die
|
||||
|
||||
set_java_env
|
||||
java-vm_revdep-mask
|
||||
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
|
||||
}
|
@ -1,6 +1,2 @@
|
||||
DIST astropy-0.3.1.tar.gz 6190259 SHA256 e296b445943c842adc18db2dcbfe6fb1b79d4b95cae0f5bac768fd78f4af30ac SHA512 f2beacbc49e8d8af93b0fdbc5e6def7de7e854592d73bf84b14e8571cf7688d46c6b62f014be38e793c899c94b5803bf63f695723777dc74fef1da63bd8e14d4 WHIRLPOOL 46e377c57536a8a945d212a40179391d4362dc2641ae9ba84e36dbf47a0e4ed4b3a86745a68fb25318a0e1076ba5df719ecf95150f500c2f252cb8d349bb98bf
|
||||
DIST astropy-0.3.2.tar.gz 6375740 SHA256 0b564870f5c198885d9bbb1b3d07e526439303f37c2c654a879d1f9dee270915 SHA512 f3ec641a6ef31668fbbe4aac6517a442bfca006b4d58a3240aef06833c74c59abdb586658d057ecd1defc616a90e0b82d3e66de26f8d76d945238d443bf82267 WHIRLPOOL 551d0cae993e5d494cd4c157c76f8f7352548a0d575533105b5bdff12ac925e3b51c15a704342298292d07f70295a90800af99176591de0297e70c555b38881a
|
||||
DIST astropy-0.4.4.tar.gz 6939433 SHA256 8b2bc2a82b8de48e5ee247c52f20e6d9c32a801e338b3086e9cd39b5219e3389 SHA512 235cd2a9a48276872fd7bcdfe11a74809fef042b9e2caf9d493c804ac48340793fc1ba542327c2e10a94ac569365d6421544bcc7b7a842b50b638f4abc6ae0b0 WHIRLPOOL b947dbe718f02edd773e32a7922b67d7fba2d74ee06bc262defb5616f9cee5354105a3d5076e0e138cc0faa1fac65256550a63506e2fbb1e5f92a4326be0700f
|
||||
DIST astropy-0.4.tar.gz 6906375 SHA256 bcb16f7e01d74851d43c13a372fd5e240014ae9bc695a87ed2e2693d36581aba SHA512 661c9a5ea01aa5b38737606df5fdceb1e59cd63d669db01cb18dc20939301b058f5a1696725f25a21f87798fd2457bc96e726c4b52f5bf2473236c0e423e8047 WHIRLPOOL 951af517a3d5612be9ed1a23684a48e750521723fb5b982947e0c08a0f80fc53a1adce36d055b47f1374ec28028d08d47a0258570c1b4075448a72f95a2d588a
|
||||
DIST astropy-1.0.4.tar.gz 7693852 SHA256 c64be72f3246ef699d2e0627a757afc0d59701fc9533088a8be0de23e16595a9 SHA512 5f66f61c93ad88afd2f24fedf96d553688de3c9f2a926dca9b1037ff24b4fd83bd486b870a0abf3c9810ad4e3e902c64f8dfb7f023363d0677e233a21667dfcc WHIRLPOOL ab10edec3650cc39d82e0f023ab107e5b23e75a03cbf8e24b0e902f3700c78921f86983f89ff533c56d9f4bc3b9d0109d8ee57cd6450ab239845b8a403bc5c26
|
||||
DIST astropy-1.0.5.tar.gz 7641836 SHA256 701b7bfef0ab99a2b9d5c4796eb7021d7bbdac19b60ff244c5428e3ea78177d4 SHA512 fe0e34db1719b9659fc10f453c619d00174fd34956299c14a76dc6497ab83aa0276e21ab9122b38edea3e31583b75575573062bbd20c17d349dbb4d1c0362716 WHIRLPOOL 4d699f4f3f3ff1cdbc149985e2a0fc92e16180c64efee95ca68f7c870d6841421bc4d9709fada1a73e7753ac1528ea84a7a619e76cb952a41a538b786c2ee014
|
||||
|
@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Core functionality for performing astrophysics with Python"
|
||||
HOMEPAGE="http://astropy.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/expat:0=
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
sci-astronomy/erfa:0=
|
||||
sci-astronomy/wcslib:0=
|
||||
>=sci-libs/cfitsio-3.350:0=
|
||||
sys-libs/zlib:0="
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
dev-python/matplotlib
|
||||
dev-python/sphinx
|
||||
media-gfx/graphviz
|
||||
)
|
||||
test? (
|
||||
dev-libs/libxml2
|
||||
dev-python/h5py[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile --use-system-libraries
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
python_export_best
|
||||
VARTEXFONTS="${T}"/fonts \
|
||||
MPLCONFIGDIR="${BUILD_DIR}" \
|
||||
PYTHONPATH="${BUILD_DIR}"/lib \
|
||||
esetup.py build_sphinx
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Core functionality for performing astrophysics with Python"
|
||||
HOMEPAGE="http://astropy.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/expat:0=
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
sci-astronomy/erfa:0=
|
||||
sci-astronomy/wcslib:0=
|
||||
>=sci-libs/cfitsio-3.350:0=
|
||||
sys-libs/zlib:0="
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
media-gfx/graphviz
|
||||
)
|
||||
test? (
|
||||
dev-libs/libxml2
|
||||
dev-python/h5py[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile --use-system-libraries
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
python_export_best
|
||||
VARTEXFONTS="${T}"/fonts \
|
||||
MPLCONFIGDIR="${BUILD_DIR}" \
|
||||
PYTHONPATH="${BUILD_DIR}"/lib \
|
||||
esetup.py build_sphinx
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Core functionality for performing astrophysics with Python"
|
||||
HOMEPAGE="http://astropy.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/expat:0=
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
sci-astronomy/erfa:0=
|
||||
>=sci-astronomy/wcslib-4.23:0=
|
||||
>=sci-libs/cfitsio-3.350:0=
|
||||
sys-libs/zlib:0="
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/astropy-helpers[${PYTHON_USEDEP}]
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
media-gfx/graphviz
|
||||
)
|
||||
test? (
|
||||
dev-libs/libxml2[${PYTHON_USEDEP}]
|
||||
dev-python/h5py[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile --use-system-libraries --offline
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
python_export_best
|
||||
VARTEXFONTS="${T}"/fonts \
|
||||
MPLCONFIGDIR="${BUILD_DIR}" \
|
||||
PYTHONPATH="${BUILD_DIR}"/lib \
|
||||
esetup.py build_sphinx --offline
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py --offline test
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install --offline
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all --offline
|
||||
}
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Core functionality for performing astrophysics with Python"
|
||||
HOMEPAGE="http://astropy.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/expat:0=
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
sci-astronomy/erfa:0=
|
||||
>=sci-astronomy/wcslib-4.23:0=
|
||||
>=sci-libs/cfitsio-3.350:0=
|
||||
sys-libs/zlib:0="
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/astropy-helpers[${PYTHON_USEDEP}]
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
media-gfx/graphviz
|
||||
)
|
||||
test? (
|
||||
dev-libs/libxml2[${PYTHON_USEDEP}]
|
||||
dev-python/h5py[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile --use-system-libraries --offline
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
python_export_best
|
||||
VARTEXFONTS="${T}"/fonts \
|
||||
MPLCONFIGDIR="${BUILD_DIR}" \
|
||||
PYTHONPATH="${BUILD_DIR}"/lib \
|
||||
esetup.py build_sphinx --offline
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py --offline test
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install --offline
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all --offline
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST d2to1-0.2.11.tar.gz 25237 SHA256 64097a1b9270458898a0047034e9ba422a6456f51771105f33edb6b38e19bfa8 SHA512 46a8b8b154b77bbef7bfeeeba1d6752899fad1b4cac8a6df699d42c848dcccc51e16db6429d171efd829fd051215f58fd9a5ec2edb62a06cf75f00ec5faac4da WHIRLPOOL 88d71211a96523002892f8aa03abfdfd33b6859480898d8f0b68af5f1386976aa5563fbb0e15dfe588dab37d216fa74c7d990cb9ea4b61b7f53a9b8f7f5b99fe
|
||||
DIST d2to1-0.2.12.post1.tar.gz 35973 SHA256 49ef2d16862b3efdc81fc5c32eac373b984945cde5fc02bb01a0a11ff03dd825 SHA512 89890afc78b21d78f42ef5c920d377cd58075829e025c512d86138d52943ce8b71d1245bf267f76f775c6a69bf81bf9881322bd64b0e75ae088134e6b66f4d2d WHIRLPOOL 4470129450781e8fdb17bfecb4354f80215ae72216f3d903bb94099bcd361638bf38bc8e3d29f4ae1bae1b6c09daa8a09e870371469745fac424f7ad5e32e2bb
|
||||
DIST d2to1-0.2.12.tar.gz 35901 SHA256 d75c431beb8ed9d75af35093a88218fd5fc38944ddbebff6234bea0228af43d3 SHA512 a437d3652a63267470488de677e9d9e9844265480a8693f8b0163db8e1801f123888a14b78b0efb99c88598601cda5af7cfba993bd053c0683ed9ea22e8342a6 WHIRLPOOL d27067ce3e55ba7408c08717a4a7c13e2b0e1383a3529ea95b4faf8cab74aa787648192f51179ec3bb312c9159bc0bbc93ce2befeaa709e165550392ab07767e
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P="${P/_p/.post}"
|
||||
|
||||
DESCRIPTION="Allows using distutils2-like setup.cfg files for a package metadata"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/d2to1 https://github.com/embray/d2to1"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
python_prepare_all() {
|
||||
rm ${PN}/extern/six.py || die
|
||||
cat > ${PN}/extern/__init__.py <<- EOF
|
||||
import six
|
||||
EOF
|
||||
sed \
|
||||
-e 's:.extern.six:six:g' \
|
||||
-i ${PN}/*py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST inotifyx-0.2.0.tar.gz 11302 SHA256 1a1769816324a1ccb766ecd7f336cf07b8bc498477d83cbb0e6dcea69c1dd60b SHA512 6b1230d16c47bd77256259a40051ab48963fe9de96f0242fc0e34d467ae012708d9b43e149ef29acc43cefe8dc02cc7fdbe11572ea4515a9c3456c73a6d27723 WHIRLPOOL f293ed382a540ef43b44c3a09992a39d31f9f7f086be1ee04a3f570519116ca44a9c4cc2789a42d092f32f9b3967958d108b3bb4d80858adc7d686d1ec8072e1
|
||||
DIST inotifyx-0.2.2.tar.gz 11831 SHA256 bad6a84df2a110f282d398dff112b1d3c838a6d50907305121a9af590d185fab SHA512 a00a947da2bd31d9b867f21666aceed48b0bf9be6b1b3643676450ed68bd71400601e57e004bcd45e93274cabf933694887797f3a4e334ce6924236763112c56 WHIRLPOOL 806c83a69141d901f3df443739bc3a5dfc6d5f66dc45fc4c8c6780e1267aa709f0c3bbdb775caa332bdcd954b262523fcd3b8bf2867e408382175f806925dfeb
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python bindings to the Linux inotify file system event monitoring API"
|
||||
HOMEPAGE="http://www.alittletooquiet.net/software/inotifyx/"
|
||||
SRC_URI="https://launchpad.net/inotifyx/dev/v${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
python_prepare_all() {
|
||||
use test && DISTUTILS_NO_PARALLEL_BUILD=1
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" setup.py build -b "build-${EPYTHON}" test || die "Tests failed under ${EPYTHON}"
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue