Sync with portage [Fri Oct 23 10:57:55 MSK 2015].

mhiretskiy
root 9 years ago
parent ceeea83555
commit 6c6cc20762

@ -1,6 +1,4 @@
DIST monit-5.12.2.tar.gz 1192066 SHA256 8ab0296d1aa2351b1573481592d7b5e06de1edd49dff1b5552839605a450914c SHA512 086f9af2c6d155c5375e7de5641025707f34577d4f2a4a76d1a104361b5d5793a4f04313cafb5d6884a01aba59f1bbb405b37294ba133d9a93c05e484e5933ff WHIRLPOOL 3d25ab0dc3cfe0e2c881f35e48b64355fe12ce1d3357450d2b1d2aba7344acbe55c031e4fd6b49f7c523b674ff650cbad5bbc91853ec15dd10e64f164504ea70
DIST monit-5.13.tar.gz 1193463 SHA256 9abae036f3be93a19c6b476ecd106b29d4da755bbc05f0a323e882eab6b2c5a9 SHA512 257fc9d5ece7b39973107adef51b437941c944909efa03949f53067a0811ab8929ea57e98cbf06a22dd6d69aaa0aadd65a22788165819ede8316dcd1894ad546 WHIRLPOOL 7556bd2299b4f930525877543c74c9a30f4a719e7abfb7e5b596ba070dc5c9a6aefaf129891e7ba1f5d1643bc8edbbfd9b35513b38c1bfec143f33e34b667420
DIST monit-5.14.tar.gz 1200131 SHA256 d0424c3ee8ed43d670ba039184a972ac9f3ad6f45b0806ec17c23820996256c6 SHA512 6491434e15fab6f92e29b9f490418332a7700d110c0bd825d65e1aadd68ea082a1d9a7e2b570075b35d6cdb64ae207567bdeb2580e6e5407ba277cc6d1693c78 WHIRLPOOL 8e7ba198f6048d8de06082a269a9f7fa8fbbcd95e14174010bdf54935db53f840d00744e35f4260e9de5d8d9a6ea47aa7c4b037998b035775bbbe212057d75e7
DIST monit-5.8.1.tar.gz 1212491 SHA256 a25e4b79257ac29ebaf46605dccb7ed693c8e001669c0ccc8feb22e7d4c870e5 SHA512 0cf8b46ea5a5ab42beac4aab649d4fa324b03e02aaceee6a86968849db46b129cd8f20e314c855653620a0bd4b4aa105e2c812a386ddd2be3196ff956f1e7e11 WHIRLPOOL 8134017da3c1f0dc2675df9cb2d7ecd0905765a92a248701a4de2b9ba449a548ae28cf661019e882a1992c027095360f14d1b2378c924623937c85b691c6056c
DIST monit-5.15.tar.gz 1218043 SHA256 deada8153dc7e8755f572bc4d790143a92c7a8668dccb563ae4dbd73af56697c SHA512 7e2b011a89d9b1dc990faf413a38f0c68aea398e25efd5392d6aa1baf50d68ea2db087ea2093c84658a99b7a83d133b23562d5ad11e1197db7a54a2b961177cd WHIRLPOOL e305705583c79b8d861595cae4d000b5832e3288f3d0ec59e69ac811e1f402af489e44c8fe568941781d97c953ff181a8048f0b3dfaeec14a26fd4bbc8cff697
DIST monit-5.8.tar.gz 1237958 SHA256 0c00573ebc0156c534a5952f392c2a7bedde194f8261c05497322055938847f5 SHA512 61f2cb4a6b2da8617adfd16ace4d9b246957385109fee9a3312272ac271003cd89a12872ac3a07b0148ad7bdbe544e447745033d2a9fab19908ef19b7a106dda WHIRLPOOL 0eb1f5b778264d7881281f7139037fa07c225a5c7ece7cae2149460036a58c008e16a3d883e1876a2dc08f092900e05d164e37714ec5fc19960d4127e13c6eeb
DIST monit-5.9.tar.gz 1161683 SHA256 274044485170b7498de29e7876cd86488378f50d69df4303a14930ba1f5e4a11 SHA512 915d548d5a4e043b346ec32d9fd3131d7eafd8ed1167e4fca3d4918df9ff87a166dbb2b3398d59a8510c7190c43fe26043568742a27828257140683bea349c83 WHIRLPOOL d5bde04202b066665feeef7bca5e0ec23c18c0bf5a6940ac30b8bfc8cc01056a802b3beae8e0caac861770e167b7b48254fe08fbb9294554e25102bec620f508

@ -14,7 +14,7 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
IUSE="pam ssl"
RDEPEND="ssl? ( dev-libs/openssl )"
RDEPEND="ssl? ( dev-libs/openssl:0= )"
DEPEND="${RDEPEND}
sys-devel/flex
sys-devel/bison

@ -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, &quot;ghc-mod&quot;.
&quot;ghc*.el&quot; enable completion of
Haskell symbols on Emacs.
Flymake is also integrated.
&quot;ghc-mod&quot; is a backend of &quot;ghc*.el&quot;.
It lists up all installed modules
or extracts names of functions, classes,
and data declarations.
</longdescription>
</pkgmetadata>

@ -5,8 +5,6 @@
EAPI="5"
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="sqlite"
# Parallel builds fail when building translations
DISTUTILS_NO_PARALLEL_BUILD=1
inherit distutils-r1
@ -24,10 +22,14 @@ RDEPEND=">=dev-python/pygtk-2.22.0:2[${PYTHON_USEDEP}]
virtual/python-imaging[${PYTHON_USEDEP}]
i18n? ( dev-python/elib-intl[${PYTHON_USEDEP}] )
ipython? ( >=dev-python/ipython-0.13.2[${PYTHON_USEDEP}] )
pdf? ( >=dev-python/reportlab-2.6[${PYTHON_USEDEP}]
>=dev-python/python-poppler-0.12.1-r4[${PYTHON_USEDEP}] )
print? ( >=dev-python/reportlab-2.6[${PYTHON_USEDEP}]
>=dev-python/python-poppler-0.12.1-r4[${PYTHON_USEDEP}] )
pdf? (
>=dev-python/reportlab-2.6[${PYTHON_USEDEP}]
>=dev-python/python-poppler-0.12.1-r4[${PYTHON_USEDEP}]
)
print? (
>=dev-python/reportlab-2.6[${PYTHON_USEDEP}]
>=dev-python/python-poppler-0.12.1-r4[${PYTHON_USEDEP}]
)
spell? ( >=dev-python/gtkspell-python-2.25.3-r1[${PYTHON_USEDEP}] )
sound? ( >=dev-python/gst-python-0.10.22-r1:0.10[${PYTHON_USEDEP}] )
web? ( >=dev-python/beautifulsoup-3.2.1-r1:python-2[${PYTHON_USEDEP}] )"
@ -53,7 +55,7 @@ python_prepare() {
sed -i "s:\(lib_dir = \)'../gourmet':\1'$(python_get_sitedir)':" gourmet/settings.py || die
}
src_install() {
distutils-r1_src_install
python_install_all() {
distutils-r1_python_install_all
doman gourmet.1
}

@ -28,25 +28,20 @@
<remote-id type="github">thinkle/gourmet</remote-id>
</upstream>
<use>
<flag name='i18n'>
<pkg>&gt;app-misc/gourmet-0.16</pkg>
<flag name="i18n"><pkg>&gt;app-misc/gourmet-0.16</pkg>
Enable support for i18n through elib.intl
</flag>
<flag name='ipython'>
<pkg>&gt;app-misc/gourmet-0.16</pkg>
<flag name="ipython"><pkg>&gt;app-misc/gourmet-0.16</pkg>
Enable support for the interactive Python console plugin
</flag>
<flag name='pdf'>Enable export to PDF</flag>
<flag name='print'>
<pkg>&gt;app-misc/gourmet-0.16</pkg>
<flag name="pdf">Enable export to PDF</flag>
<flag name="print"><pkg>&gt;app-misc/gourmet-0.16</pkg>
Enable pretty Python printing
</flag>
<flag name='spell'>
<pkg>&gt;app-misc/gourmet-0.16</pkg>
<flag name="spell"><pkg>&gt;app-misc/gourmet-0.16</pkg>
Enable support for the spell check plugin
</flag>
<flag name='web'>
<pkg>&gt;app-misc/gourmet-0.16</pkg>
<flag name="web"><pkg>&gt;app-misc/gourmet-0.16</pkg>
Enable support for the web import plugin
</flag>
</use>

@ -3,4 +3,4 @@ DIST eix-0.30.11.tar.bz2 790760 SHA256 bea8ddce48fd65d389ee0497baaeb4fa966b9d67f
DIST eix-0.30.4.tar.xz 556632 SHA256 4c753a82e15ce0f8bbdd74edcebb7bc23bd3de8dfca501f86733c335b55d9f4f SHA512 33e62765a9790d18256fcbcb4370b2e63f0b927e3088e0685cbc23dad47e0afa488bb84e5268b4da0d70b5a93b080a866e56257e3df21714ef5fd867f3de182e WHIRLPOOL 5731b6c36f8212fdb4e6b599224699cfc258a1026ef9f8ed8e95618e86df02b5872e7b1f170a3f0698bd348a5084161463d71e6fa14dff859ca92c9b3072dfc2
DIST eix-0.30.7.tar.xz 558144 SHA256 ed000a8430ffb1c9087807d2ef686b10252d9b199e67c88f7bce11077a371473 SHA512 babb23176e68d47bcc5d899090abb326eae6b3ce4c587a6cf977c6216d193f4cf93dd54a647e50f08434440e022f117c8e5f800f1db2c048220bd229fd6cd4f5 WHIRLPOOL 0a27efa1c8003ae23ab96cb93672f38120828dc75cc333450e19026b7505c19ee411b42261049192c009a57b22c15c9ed5c9b7875171a039b21bbc142d220904
DIST eix-0.30.8.tar.xz 559076 SHA256 525c5d0276b8d40de012668af36042ecb674175c3b92fb9214c3f1f1b0dacaec SHA512 ee1901037507d3e527d5e37338efb4b9c38c4d42efae042918d0e24e8bd08ece0064ac2efec960fc3280bc2bb14b46d87b66d6c04aa634c8737276321f580255 WHIRLPOOL d29d6cf704ef331621cf9b6e37433de643b43cc8b079295cbaa6f25979a399ef0b5e72ddaee3de205b8dd831de946e16b96d5c1f9b63666027a5a9b8f6d24e08
DIST eix-0.31.0.tar.bz2 791226 SHA256 b3d3b42be2a6500249d9af4325e8a85d27b98bcf264f7dfc75543be8a9b116cc SHA512 7ed0a2def1e8bce13168a503850723231f341fdade7ba5435ef9e2a57f1fb3c9f6bf4d786c0b58a754f0c5fcf1e195fa7154bb582af8ab5e5c14863d0cef3b6d WHIRLPOOL 7507fd0a13f4b06bf3f3c5302638d3d09aa0b4a7b932aa0fe764634e547bbbebcfc38c0df7d418720657535aec80389cb1331453f414407d7fb12fd2ddc96b42
DIST eix-0.31.1.tar.bz2 791116 SHA256 1402d474ee3d1dc6fcfe35508657629d4a5aef6cbe1913687fa65c8e139f3fdf SHA512 7fdd579f884f92bf58a876c89c4f397610c2af8da0c47382bf25b8d4919d1f24713fd8029ab82c73a9be382e51b1aac78476d006961620f12c0386fe864b6c22 WHIRLPOOL 3ea640ab80a6119497323312b4b527aa8060597ed09d29a43d68abf3ae20bafeb793c6df1890a2e433f5d77485b14dfa507795fc7e9e0d7e2b69dd16668c5aa8

@ -3,7 +3,7 @@
# $Id$
EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy )
inherit distutils-r1

@ -3,7 +3,7 @@
# $Id$
EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy )
inherit distutils-r1

@ -3,7 +3,7 @@
# $Id$
EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
inherit distutils-r1

@ -3,7 +3,7 @@
# $Id$
EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
inherit distutils-r1

@ -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
}

@ -11,7 +11,10 @@ inherit eutils fdo-mime multilib python-r1 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"
SRC_URI="
mirror://sourceforge/${PN}-biblio/${PN}_${PV}.orig.tar.gz
https://dev.gentoo.org/~jlec/distfiles/${P}-lo-4.patch.xz
"
LICENSE="GPL-2"
SLOT="0"
@ -45,7 +48,10 @@ pkg_setup() {
}
src_prepare() {
epatch "${FILESDIR}"/${P}-install.patch
epatch \
"${FILESDIR}"/${P}-install.patch \
"${FILESDIR}"/${P}-bibus.cfg.patch \
"${WORKDIR}"/${P}-lo-4.patch
}
src_compile() { :; }
@ -65,9 +71,9 @@ src_install() {
install install-doc-en
}
python_foreach_impl installation
python_parallel_foreach_impl python_optimize
python_foreach_impl python_optimize
python_parallel_foreach_impl python_newscript bibusStart.py ${PN}
python_foreach_impl python_newscript bibusStart.py ${PN}
}
pkg_postinst() {

@ -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\&#39;s on disk state (dist/setup-config)
written by it&#39;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&#39;s
packages.
Furthermore the wrapper supports one special case namely reading a state
file for Cabal itself. This is needed as Cabal compiles it&#39;s Setup.hs using
itself and not using any version of Cabal installed in any package database.
@cabal-helper@ can compile with @Cabal &gt;= 1.14@ but requires @Cabal &gt;= 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&#39;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 &quot;Data.Label&quot; 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 &quot;Data.Label.Maybe&quot; module for the use of partial labels.
&gt; 1.0.3 -&gt; 1.0.4
&gt; - 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) =&gt; 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>
\&quot;Coroutines done right\&quot;. This library generalizes iteratees and coroutines
simply and elegantly.
Advantages over traditional iteratee\/coroutine implementations:
* /Concise API/: Use three simple commands: (&#39;&gt;-&gt;&#39;), &#39;request&#39;, and &#39;respond&#39;
* /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 &quot;Control.Proxy&quot; to use the library.
Read &quot;Control.Proxy.Tutorial&quot; 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 )
"

@ -15,18 +15,6 @@ DIST jdk-7u80-solaris-sparcv9-demos.tar.gz 904770 SHA256 fa3a92e70e52b0bffdee8d2
DIST jdk-7u80-solaris-sparcv9.tar.gz 19301205 SHA256 1a2bce541efe7b81cafe683626b3edea56918a8ca897ff36a2deaed00a7fce05 SHA512 93ea0e8f5ae611dd1a620dffd72e315ecb6ce8375bd902a793fab128ac7e95d2cb338df1c273a2c29af6194e7cbdb810d79193b413b4b101538c08ebeef1eb41 WHIRLPOOL c9ae1f1b561c4ec1d3c1a7f5008e80642b49a9fd1c6459f8ada65c01accc338280bdd683712d54a9b7741eeccf856b4f2ee82e898fbe1f39260d58efab217185
DIST jdk-7u80-solaris-x64-demos.tar.gz 865205 SHA256 a08dd0665d35986675beeba0f80d5db54a91fb276d8641ce1ba16ba873a18682 SHA512 c53f026bfdfed8d83d42e3fce497baffeb370adf0423be2f891f6d200510088ac8227ae4f261ece059dbf29eb33cacafb20a0c328e7d8723387eba38def389d0 WHIRLPOOL 0539e964e194527055186b120df11e74ab3d9568fc2a5ff002ef405396f521a7c35013420067d37874b9602fe29d104dce63f22bfd687c45722689d62a8c552d
DIST jdk-7u80-solaris-x64.tar.gz 17176587 SHA256 ccc156363e3080e92382cd675d96889460a4421464b4567333394c8405eeb709 SHA512 83ce229c3a38e454d9acafa189b3b6f247a4723ddb3c3fa08993323590949295b0f3740ab235c7c539f90a684b8cefad7839f82f566b7a141019b94af6cbad89 WHIRLPOOL 07412c6de5886c729b43726fb228783606b2a53c2a286b1af2dd5359975d1c75964a895d7da543f98c461adf0ab4b82fc32ebeb49e1835448effd93886f1b206
DIST jdk-8u51-linux-arm-vfp-hflt-demos.tar.gz 10401432 SHA256 3260a78ac9bfa216443087d516998270716a6167612ba57759c7e8616aaba945 SHA512 b3177c31efbb4fa5171fb89bc1488cf7cb954919e129b70afbb7f374479f3cace69e9968767353a89002581493460e44c251df12174d3f3e20aa3ebc807dddf0 WHIRLPOOL 47fe7a61be0d85661cb9d8418ca5d20542acb9563fdf6837e0a25132824ed8c891ad0a7beb4061acd671217768a9223518874fbe599581bca0a0e6bf1f6dcbf1
DIST jdk-8u51-linux-arm-vfp-hflt.tar.gz 81593057 SHA256 2a6644a4540c8f47784daf8afcbb405a03e686720e4c9eac6584253a55def0c7 SHA512 9fd811ab3af7144436fbbc14e914f9313933e0dd1aae2eb35369ae5b291e12a1b9d9236bd6921e7e8e59f8a24bc65ebea4624079bbaf179ea821ba0908a5a975 WHIRLPOOL dbb4674237da39f0d86ea261bb48d78faa9ad4e0a3b1a8cd8a1ffd493202cb28c54294d7a82343b88727640cbbc31f123b67eb4926a094191dcc3653a575baf6
DIST jdk-8u51-linux-i586-demos.tar.gz 54797997 SHA256 08014bd53b4519890e7b82cb3d1b69c959e8bef08cd43cfd80b3043e6263d136 SHA512 3aebe35501937658ecc78b4d4e4268de8dda8e37b817f4f22e2b0ff3667da3dd29aa95bec241ad9b300e4db61d2329b4ae5c498f34a00efaf1d62164a6b92785 WHIRLPOOL dfded6fd17f18560cae1ea6d08d08ff8508c0ac8f07740b96d6747cca0f60a6db04dce934dce3d0cb3650c2d34069569805c892d41da4a95b7d5f3b8b7875c31
DIST jdk-8u51-linux-i586.tar.gz 175056840 SHA256 3fd43a5d88ea759bf12502980aa956c683d9df058ad25a94914c5890807e9f2b SHA512 79e405d07dd8a0556f336807fae951608665a33d4a461ea0c103831cac2914b7654db6c6dee479542155c379e9fcaaafa763dfe469dcf5ae48a1dd5544b9a1e9 WHIRLPOOL f1a03c11f694cc29199ee1ee9a72d7e617195b8e0f6500841023a447e8fb4e1df3321099dbae2b51df9fd2e72924758499d6bc7b1c9fe40a05ddd11ff6329e67
DIST jdk-8u51-linux-x64-demos.tar.gz 54852711 SHA256 7de5f948bca36967a85fb8831bbe3a389634064c7f3cfdd476cd62dd268b3591 SHA512 33adc18b239f9a7973efa892e7d61d54ced1dc271a2dd27f6ab7e1e89626f061040639d953523b10070137a66bcc85ea48289be15f9e82ef6500416cb2f2dec1 WHIRLPOOL e3fd9e12a9ef832f4a2595bacb578821b56878b93bb50790c28c4c9d78e35ec00b1a9e95a32af3e1e2338b0839564749cd1c4d89e8ae1c4457ab22c9118db094
DIST jdk-8u51-linux-x64.tar.gz 173281904 SHA256 d7149012cc51c2cdb8d3a1767825e0dfc36ca0419c3dae56d993cb2732cbeff1 SHA512 ab4559fdfe7150a2e3e06128b2e8c2621c078e8a13290cf015bc0dce3514e8881feb178672d9bf46ec9e0f6ca0ab23f712278db39796515ed55594af552a1f9b WHIRLPOOL 49920b8a9b04ab6c1e9d40f332e4079e3df5868dfacbcb575ff9844897a48f836693ff928a56119fbb249c0e09e9aa3e81c1d8c998d3c18ebe2de26464931449
DIST jdk-8u51-macosx-x64.dmg 232874868 SHA256 85ee66d1fdce5244afcbfbfce8dc90582b8c7e3ec8ab4c21e0f4eb390af97832 SHA512 15fba10d1fe0eede89eae3a5e184ff9c1048fe48538046b527f4e78bd0a6285bdbf858edeb4613707d9ccbb7ffde5c197a9e80920cabac149488646965890199 WHIRLPOOL 86ad3c0ea8ab9a16c17084070dde8e66dc348a17997e6ce31d25a65dbce7c1dd935ecd91ffad6e57780be9cebda128427b413594c8f58e61a5bf2f4e57529cb4
DIST jdk-8u51-macosx-x86_64-demos.zip 55361655 SHA256 e4c6ffe2c188b25e615fe5abc953ea3bd7cf7dc9cb53c5b7c636f509bf84d429 SHA512 f72e84f1cf14a3cc2f817599d5984385dca928e1384a7eab9d9d55900d6fcfcc6d77752def13bf0a3c9033955672f9ec82d632cf4aea6e64329fc2399ca3b101 WHIRLPOOL 75bdeac4264aa404b6c27353893bcd5112ba2cc96abec64bc97e80f55a0c5e2b919ef25f2571f8b87879d0a1e6ea0ae6d64e51d5a54fca06394059d2fd42693f
DIST jdk-8u51-solaris-sparcv9-demos.tar.gz 9787771 SHA256 5c4d765478be6b9ede7932b25f734ce41d4dfaae76cd3b71604c7bb047a56ad8 SHA512 8d8785b118cac13448b7832a556a081f0aca7fc19122e702c721b2a3be57c6b2b27e52c1d2270910bb853de9d53262bdb91fba43a40a6a8481bfe5c26099240e WHIRLPOOL 82a72e0ef11aff33d75fcf54d9fae3a7e417b16077f9fb104ef23b45a4018b2edd3c7d77fb8888e3e4c7d787db14db29354886dd209aa9b7427e899413bec71e
DIST jdk-8u51-solaris-sparcv9.tar.gz 103599046 SHA256 4bdfdae59ec62248ed893feff2fb4be8a8639330599f53f5b03208349ae91513 SHA512 68a95f498aabff65489bd6f6756af7737f408cc0b7253ad9bcd9f57ab5f7a130b35c251426f7dc256e1797a70f5152ceea86a4ea46749375fb8acd51e4309601 WHIRLPOOL 2a690757a673ab5958057631fef7efd748c2c456ed978922220322a5e390aa6e7016a2d2438053f12bc6054c45288ff4722955fb9a1722798409085152d004c7
DIST jdk-8u51-solaris-x64-demos.tar.gz 9759566 SHA256 3376f1083841bd376da78fd6f3eb4127da4e9493d6af8f7c32e1eabfd8cab67e SHA512 a3c5efa70f75aff606ddcd1f52260e71828ba5ad8848fbf6f1c5d3cbd44f4f0a0a9e3e5576a1d68735a4339ad6e43124049a06ac62c6718c5a2a8dd56a1af766 WHIRLPOOL ae710e2cf1e328647124b385d7b96ffcc5d9bfaf159976163c1ab5075637eccbdfff8b9cecff322ac40d5c717403f4f3508b3574d91a761b2122674bb2cd0cbd
DIST jdk-8u51-solaris-x64.tar.gz 101131923 SHA256 7afdda5f4310fce88e68f9c383bcc57451416471bb3af00cd1dfe323f2440932 SHA512 d08b8f4499f448f4e495b226bd88f44d9a4fcff69788e893a40d1de5e7e16970a655955c6b52d94e1604027d7fc025b8b99ef7687bd3de1419937b00813f023c WHIRLPOOL 21bb40348963034a59ca25004ecfaa4daeed4a96c45f1060314062cbccdfa48c2615c54677c8a28cec492e7ad2b7b8e91c9e1e212ff239cd3d995c7d84596e35
DIST jdk-8u65-linux-arm32-vfp-hflt-demos.tar.gz 10389209 SHA256 ae2a45c0a96dee4a386eca491a176ffb597c608a9b4565621c055f6b84a605af SHA512 30888ed31a428b44e852c59e6b6030628ee4370b27831398aa4ca3c4ae9f42913cdc3dc07ea7f206cfedf9bbfbd83318c607309f747fa0fbd145ff7a30820edf WHIRLPOOL 4cad7e72991872e375e7e1c42666a0a90b61c851b9a74c72fd5e1149b908fb75f3be8f3329865a7fcb6d6f928ade28cd072e0bdc95b9e326d30cd8327c64844a
DIST jdk-8u65-linux-arm32-vfp-hflt.tar.gz 81468618 SHA256 35855580355584865bade416d23cc164792d7fa2581a140e6034724c520be45c SHA512 a5d8ae195a980d376e713efaf6911ff747d1141530e83b2a9ed095b42c25305b3ab653751f6ee7ccb40dea821b8a235a40d1536c176d02dae203aa7f7b159fe3 WHIRLPOOL 397d82dff8575e76b573bf3cfcfbccfcb75527e5f5b51f4e14c1d55bddf16c3d5280ffed776e84c829778bc8a7caf08cbb4da136676fac6bfc241a4434d68465
DIST jdk-8u65-linux-arm64-vfp-hflt-demos.tar.gz 10400799 SHA256 4bd25b72472c48c9f58dfefc659824f4517f217fa10811286e4e531daac3c4cf SHA512 6f7d142f9532f8939966df472da9e0fe9c2e5775eb76b82266e8ddf178f3fddeefc9500b335ee58059fd7400ed96e618a286de71f2437a496c28529e520c181c WHIRLPOOL 9d1632244830a0edb624a1395812f6d3920b9a7ec27ecea7ac05cf846862a42e96140b994443d3462a2559c5b99c35f3ee61330ce90510ec4e3922460c8e2e88

@ -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
}

@ -2,7 +2,5 @@ DIST UnlimitedJCEPolicyJDK7.zip 7426 SHA256 7a8d790e7bd9c2f82a83baddfae765797a4a
DIST jce_policy-8.zip 8409 SHA256 f3020a3922efd6626c2fff45695d527f34a8020e938a49292561f18ad1320b59 SHA512 abbaa81a35f904ec61b4cf3c2d1ca8c8d49e53bb248e698185eea906939d68f5063412800585ec74027aab1012ef189aebe1dc99fe8ef4230a0ecb0b527f88e5 WHIRLPOOL 8c9ce1ea4673b75fa6271b74e598880f98361d5d2c9c25439fa0af3d07cfeb871b39682dae4e38160f49770b1fec953162e451b9b2cf44d2c72a226944212bcc
DIST jre-7u80-linux-i586.tar.gz 48558751 SHA256 b773aef1458a4adde03af62f8163c7e4614b485e1f01699ff8f5f60919251575 SHA512 d85b8700248a4ad0a0873d0c84b2175fb0a66773c43899ab47ac531be089794c17eb0e8b7503d46efd78833da17c9fa8a83ad1cb9c062e191acfb77155639474 WHIRLPOOL 766c88748bc758a1b35bd6008750cc8f2678801b1cc5629bcb7a756e4a32973a5f5ad927348b3ce3ad9ecb3e7aca5d1af2b613fba35d4f53f9601b1ff42312b2
DIST jre-7u80-linux-x64.tar.gz 47110223 SHA256 4c01efd0d8e80bb6e2f324ec3408ce64f066d4506c7ec93a491f615a4523f4f3 SHA512 e61e78ab1be0313690e8ab8d6cbae7366dd78aa4716f47c8908178196b658b94ee318dd04043965a72c34d8ef5c1cb4902afaa2188e76eb944256f090339107d WHIRLPOOL 1af7417b327402abaf4074445f051924de8b19810668890e089b66a488dddfc7f50cdd96a012130a591940338177164f66c83caf54c5d6d370be27d119a907fe
DIST jre-8u51-linux-i586.tar.gz 65731094 SHA256 e59a6fc88e1fc62167be684ffd5de90f5d31f1c7b7e6361dde24b45afeaa8d3a SHA512 6b459f70c1bc4007a0e10e89682c5c33601b795f6693eda0836e49b9e248229e109947232aef7b9d15b38f92931a134bc96833408e44572bf3f3b2da301ad275 WHIRLPOOL dca9c6d3f68917561d1bc84fb9d33ba01907d57eee1487c7e080989a6b89332a4f8e198717b8c4fe992c71d6715aa0e058bb02bd9b90ed8a7055cbc1747e4311
DIST jre-8u51-linux-x64.tar.gz 63861111 SHA256 25c2146b4ff1a12a9449589f8372f7f67cb63d6f6ad2b7f9ec92181cd3a31cee SHA512 7b3c8be7ba4014041e86b2dd597d027285185f9e8a484110bea589d73e4e35a9d709d57198610f466ea05ef8ea4b7e696f1fc844a60511d0ba111f666de5cf44 WHIRLPOOL 1472b32649afbed578eaf1b31006a2020bd217a3f75b9b7d7bc2fd8c32bcd422dfd46e7d11e2e5e34904a1f5cc0bd03885cb0c1515ccd63985ca974a6d61eddb
DIST jre-8u66-linux-i586.tar.gz 73883805 SHA256 70ee96be46d1cdeb15720b58a74c4dff0eecb6fcdded91d887b16779789f3596 SHA512 c605027974e5d6ad55cefee9c75239cd15fcf726abe49617d1008cec44f8a927f6794fcf2819e1f1e35b9535d40f6bef1fd4b023271f80e3e392824fa8bb2111 WHIRLPOOL 67dd7ea33dd9845210177f3b608789c674be2d0a7550b924f68082da6e9484e81ae1186c7aa7bddd5895ea0eb7adf8f67949a063378a028673d20e16004d4d52
DIST jre-8u66-linux-x64.tar.gz 71719193 SHA256 f2249370a6ac4ca8977b66d7665179f0fef4df732f3af80b0f34567d594588bf SHA512 ba0de83d6a485cab305c352091cfca74b6a64132fbda38b5bda53b9dd2569adafc64c93f92397dc3a40167b04690f4d8de9f1209485a8e51a236db312efe4b8c WHIRLPOOL 00a3f10bec2bc871534cc30a4ac2bb496695686d2b41bde985aeda662bcb988e979318eb16f886989d740f92f35e45e2ac344f6d49bcab2020f11babcd2e69e8

@ -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
}

@ -32,6 +32,8 @@ QA_EXECSTACK="
usr/lib/go/src/debug/elf/testdata/go-relocation-test-gcc482-aarch64.obj
usr/lib/go/src/debug/elf/testdata/gcc-amd64-openbsd-debug-with-rela.obj"
REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/*"
# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"

@ -32,6 +32,8 @@ RDEPEND="!<dev-go/go-tools-0_pre20150902"
# These test data objects have writable/executable stacks.
QA_EXECSTACK="usr/lib/go/src/debug/elf/testdata/*.obj"
REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/*"
# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"

@ -32,6 +32,8 @@ RDEPEND=""
# These test data objects have writable/executable stacks.
QA_EXECSTACK="usr/lib/go/src/debug/elf/testdata/*.obj"
REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/*"
# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"

@ -32,6 +32,8 @@ RDEPEND="!<dev-go/go-tools-0_pre20150902"
# These test data objects have writable/executable stacks.
QA_EXECSTACK="usr/lib/go/src/debug/elf/testdata/*.obj"
REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/*"
# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"

@ -95,7 +95,7 @@ multilib_src_configure() {
econf "${myconf[@]}" --with-python
}
python_parallel_foreach_impl python_configure
python_foreach_impl python_configure
fi
}

@ -176,7 +176,7 @@ src_configure() {
popd > /dev/null || return
fi
}
python_parallel_foreach_impl run_in_build_dir configuration
python_foreach_impl run_in_build_dir configuration
}
src_compile() {

@ -36,12 +36,6 @@ python_compile() {
distutils-r1_python_compile --enable=load_extension
}
src_test() {
# tests use overlapping database files
local DISTUTILS_NO_PARALLEL_BUILD=1
distutils-r1_src_test
}
python_test() {
"${PYTHON}" setup.py build_test_extension || die "Building of test loadable extension failed"
"${PYTHON}" tests.py -v || die

@ -36,12 +36,6 @@ python_compile() {
distutils-r1_python_compile --enable=load_extension
}
src_test() {
# tests use overlapping database files
local DISTUTILS_NO_PARALLEL_BUILD=1
distutils-r1_src_test
}
python_test() {
"${PYTHON}" setup.py build_test_extension || die "Building of test loadable extension failed"
"${PYTHON}" tests.py -v || die

@ -3,6 +3,7 @@
# $Id$
EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
inherit distutils-r1
@ -36,12 +37,6 @@ python_compile() {
distutils-r1_python_compile --enable=load_extension
}
src_test() {
# tests use overlapping database files
local DISTUTILS_NO_PARALLEL_BUILD=1
distutils-r1_src_test
}
python_test() {
"${PYTHON}" setup.py build_test_extension || die "Building of test loadable extension failed"
"${PYTHON}" tests.py -v || die

@ -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
}

@ -18,6 +18,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
RDEPEND="
!dev-python/pyfits
>=dev-libs/expat-2.1.0:0=
dev-python/configobj[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]

@ -18,6 +18,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
RDEPEND="
!dev-python/pyfits
>=dev-libs/expat-2.1.0:0=
dev-python/configobj[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]

@ -40,8 +40,6 @@ python_compile_all() {
python_test() {
nosetests || die "nosetests failed under ${EPYTHON}"
local DISTUTILS_NO_PARALLEL_BUILD=TRUE
rm -f "${HOME}"/.pydistutils.cfg || die "Couldn't remove pydistutils.cfg"
distutils_install_for_testing

@ -60,8 +60,6 @@ DOCS=( CHANGELOG QUICKSTART.md README.md )
PATCHES=( "${FILESDIR}"/${P}-setup.patch )
DISTUTILS_NO_PARALLEL_BUILD=1
python_prepare_all() {
DOC_CONTENTS="websockets work only with python2_7"

@ -42,7 +42,7 @@ cgkit_unpack() {
}
src_unpack() {
python_parallel_foreach_impl cgkit_unpack
python_foreach_impl cgkit_unpack
mkdir "${S}" || die
}

@ -22,7 +22,6 @@ DEPEND="${PYTHON_DEPS}
src_test() {
addwrite /proc/self/comm
local DISTUTILS_NO_PARALLEL_BUILD=1
distutils-r1_src_test
}

@ -21,8 +21,7 @@ DEPEND="${PYTHON_DEPS}
test? ( dev-python/CoverageTestRunner )"
src_test() {
use test && addwrite /proc/self/comm
local DISTUTILS_NO_PARALLEL_BUILD=1
addwrite /proc/self/comm
distutils-r1_src_test
}

@ -21,7 +21,7 @@ DEPEND="${PYTHON_DEPS}
test? ( dev-python/CoverageTestRunner )"
src_test() {
use test && addwrite /proc/self/comm
addwrite /proc/self/comm
distutils-r1_src_test
}

@ -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
}

@ -47,10 +47,6 @@ python_compile_all() {
use doc && emake -C docs html
}
src_test() {
DISTUTILS_NO_PARALLEL_BUILD=1 distutils-r1_src_test
}
python_test() {
PYTHONPATH=.:tests ./tests/run_all_tests.sh || die
}

@ -53,12 +53,6 @@ python_test() {
|| die "Tests fail with ${EPYTHON}"
}
src_test() {
# Port conflict in django.test.testcases.LiveServerTestCase.
# Several other races with temp files.
DISTUTILS_NO_PARALLEL_BUILD=1 distutils-r1_src_test
}
src_install() {
distutils-r1_src_install
webapp_src_install

@ -23,8 +23,6 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
>=dev-python/dogpile-core-0.4.1[${PYTHON_USEDEP}] )"
# for testsuite
DISTUTILS_NO_PARALLEL_BUILD=1
# This time half the doc files are missing; Do you want them? toss a coin
python_test() {

@ -24,8 +24,6 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/mako[${PYTHON_USEDEP}]
>=dev-python/dogpile-core-0.4.1[${PYTHON_USEDEP}] )"
# for testsuite
DISTUTILS_NO_PARALLEL_BUILD=1
# This time half the doc files are missing; Do you want them? toss a coin
python_test() {

@ -19,7 +19,6 @@ IUSE=""
# distutils.command.config writes to CWD, bug #450516
# mxSetup.py is broken with --build-lib
#DISTUTILS_IN_SOURCE_BUILD=1
DISTUTILS_NO_PARALLEL_BUILD=1
python_prepare_all() {
# Don't install documentation in site-packages directories.

@ -27,13 +27,6 @@ python_compile_all() {
use doc && emake -C doc html
}
src_test() {
# Tests bind to static addresses, bug #456920
local DISTUTILS_NO_PARALLEL_BUILD=1
distutils-r1_src_test
}
python_test() {
nosetests || die "Tests fail with ${EPYTHON}"
}

@ -1,4 +1,4 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -44,12 +44,6 @@ python_compile_all() {
use doc && emake -C doc html
}
src_test() {
# Tests bind to static addresses, bug #456920
local DISTUTILS_NO_PARALLEL_BUILD=1
distutils-r1_src_test
}
python_test() {
# Several errors 1 failure
# https://github.com/eventlet/eventlet/issues/151

@ -52,11 +52,6 @@ python_compile_all() {
fi
}
src_test() {
local DISTUTILS_NO_PARALLEL_BUILD=1
distutils-r1_src_test
}
python_test() {
nosetests tests || die "Tests failed under ${EPYTHON}"
}

@ -29,7 +29,6 @@ DEPEND="${RDEPEND}
)"
S="${WORKDIR}/${MY_P}"
DISTUTILS_NO_PARALLEL_BUILD=1
python_test() {
nosetests || die "Testing failed with ${EPYTHON}"

@ -43,7 +43,7 @@ src_install() {
mkdir htmlgen || die
touch htmlgen/__init__.py || die
ln ${files} htmlgen/ || die
python_parallel_foreach_impl python_domodule htmlgen
python_foreach_impl python_domodule htmlgen
if use doc; then
# fix the image locations in the docs

@ -29,7 +29,6 @@ RDEPEND="dev-python/urllib3[${PYTHON_USEDEP}]
# I believe we don't need unpackaged package markment
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( ${RDEPEND} )"
DISTUTILS_NO_PARALLEL_BUILD=1
PATCHES=( "${FILESDIR}"/${P}-deps.patch )

@ -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}"
}

@ -16,13 +16,6 @@ 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}"
esetup.py test
}

@ -27,7 +27,6 @@ RDEPEND="${PYTHON_DEPS}
src_test() {
addwrite /proc/self/comm
local DISTUTILS_NO_PARALLEL_BUILD=1
distutils-r1_src_test
}

@ -27,7 +27,6 @@ RDEPEND="${PYTHON_DEPS}
src_test() {
addwrite /proc/self/comm
local DISTUTILS_NO_PARALLEL_BUILD=1
distutils-r1_src_test
}

@ -44,8 +44,6 @@ python_prepare_all() {
}
python_test() {
local DISTUTILS_NO_PARALLEL_BUILD=TRUE
rm -f "${HOME}"/.pydistutils.cfg || die "Couldn't remove pydistutils.cfg"
distutils_install_for_testing

@ -45,8 +45,6 @@ python_prepare_all() {
}
python_test() {
local DISTUTILS_NO_PARALLEL_BUILD=TRUE
rm -f "${HOME}"/.pydistutils.cfg || die "Couldn't remove pydistutils.cfg"
distutils_install_for_testing

@ -58,14 +58,6 @@ python_compile_all() {
use doc && emake -C doc html
}
src_test() {
# nosetests use heavy multiprocessing during the tests.
# this shall make them less likely to kill your system or timeout.
local DISTUTILS_NO_PARALLEL_BUILD=1
distutils-r1_src_test
}
python_test() {
"${PYTHON}" selftest.py -v || die "Tests fail with ${EPYTHON}"
}

@ -63,14 +63,6 @@ python_compile_all() {
use doc && emake -C doc html
}
src_test() {
# nosetests use heavy multiprocessing during the tests.
# this shall make them less likely to kill your system or timeout.
local DISTUTILS_NO_PARALLEL_BUILD=1
distutils-r1_src_test
}
python_test() {
"${PYTHON}" selftest.py -v || die "Tests fail with ${EPYTHON}"
}

@ -63,14 +63,6 @@ python_compile_all() {
use doc && emake -C doc html
}
src_test() {
# nosetests use heavy multiprocessing during the tests.
# this shall make them less likely to kill your system or timeout.
local DISTUTILS_NO_PARALLEL_BUILD=1
distutils-r1_src_test
}
python_test() {
"${PYTHON}" selftest.py -v || die "Tests fail with ${EPYTHON}"
}

@ -70,14 +70,6 @@ python_compile_all() {
use doc && emake -C doc html
}
src_test() {
# nosetests use heavy multiprocessing during the tests.
# this shall make them less likely to kill your system or timeout.
local DISTUTILS_NO_PARALLEL_BUILD=1
distutils-r1_src_test
}
python_test() {
"${PYTHON}" selftest.py || die "Tests fail with ${EPYTHON}"
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save