parent
70fb36eaa6
commit
4c2cd3469d
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/gamin/gamin-0.1.10-r1.ebuild,v 1.1 2013/08/08 12:56:28 aballier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib-build
|
||||
|
||||
DESCRIPTION="Meta package providing the File Alteration Monitor API & Server"
|
||||
HOMEPAGE="http://www.gnome.org/~veillard/gamin/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!app-admin/fam
|
||||
>=dev-libs/libgamin-0.1.10[${MULTILIB_USEDEP}]"
|
||||
DEPEND=""
|
||||
|
||||
PDEPEND=">=app-admin/gam-server-0.1.10"
|
@ -1,2 +1,2 @@
|
||||
DIST terminal-colors-1.5.bz2 4080 SHA256 c92de036ecfaed05f65645e3fc1736e711fab48293ddf808b2ffa9a5422acecf SHA512 628439b314b29ec3a0807bb5b3cfec4af20ea03b94f5cd4a4b9a5c4fa4f9da74eba3b972a48a3c6cdbd4a8acf55610a60e055271f4d0292566dfd239b7668d93 WHIRLPOOL 11ccde0f4838f4e8a83fb25206084432e3fdbb3be1e23f47dfbb246cb785248fc63ce8f02d24ae79c8060998e2e105532e5371719ce26e83a9252eaa671f363c
|
||||
DIST terminal-colors-2.0.bz2 4604 SHA256 50c7c7647b3cbbf55ea8314ad81d71bbe301e7b7f7241017a6d16f7ff93ce66b SHA512 b5f253841d29057ca4236b5291fb58f0ed2e02404bf3145f7ca28c49e5cd22ae98df4b40ddc7b5f74c562cf87cc192f3d8c600fd83aefd850f25e03544ddcc25 WHIRLPOOL 70d302038257959e3c9c62788811d9db70acec36ec866c608c0dbe0640266ebb44b5ed382659288820bdf7a9e372c18e5c04f4afd555b78baecdcaf175386184
|
||||
DIST terminal-colors-2.1.bz2 4836 SHA256 519652ebd0fbdb4728a34b23994b52a63f07b582375641527d52cd273c90283b SHA512 7bce1ba6eac6897fa7a63b3339d4493817f205f7fdb4e93454fdbc3b169235cd9bc32505b9896d6f6cac493c584e49bc2fd23ba3ce2b66ef85ac38079186e579 WHIRLPOOL d58d0db20d0426d526788d3c1ad34ea0a1f9294252ff830d1ff23d09f95e455a260398a8c98efd2045b6de2345d4a6c6e570f89d6e5372b28506c0cec1778ad5
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST gentoopm-0.2.6.tar.bz2 24410 SHA256 8620e509a1fb186871a757353477857366883338a3be9e7bfa8d93e3e966157e SHA512 5818540eb847546953a3e313be653861f41a937a53fd65c00f4794361da68b257739cb5e1147e8267d17a16a7f86c88eb108bacdc5a86d45fbb91c9e4f992343 WHIRLPOOL 3422d08e10289ff4700cdacf8dd030bb23f81609ec514ac918f365a16dee6deffd59edb103977cdf9c719763d00ed946f14061ae3310d7864228449b5eaf10b6
|
||||
DIST gentoopm-0.2.8.tar.bz2 24540 SHA256 f5c0f032cf093a9a0f74df7eebc0909541f4f5ee7b82971351a404b2998094a9 SHA512 de0eaf7adf8e549f6659af9bf4fb1b51f978954fa791b623b4626069edfa8982facaddcc29030a94e774bdf64828ea1c4f16b616d43cf9cc6fd9b9b63dbbe21c WHIRLPOOL 0f113f20bd795685b876e9d98008c20faee1d28e2a38815fd0bb4e05366a6ccd1a91f410f69a8d6a3e7cd6f28ba13a1cf8e33c9a823b0cd2f742cf74ec169352
|
||||
DIST gentoopm-0.2.9.tar.bz2 24652 SHA256 49d757e521a9a254645ca1f765e9ea86c082f68263c697dec84acd2d80d48368 SHA512 e7d1daa811eb6c0877c2bec98b72bce61380802fe704f271a4df6383506d62ba661eb83ac9afd432627e2f10bf38840796768a565b80b6489563cfc54ed81ae7 WHIRLPOOL 2bc4fcace43b306c6677a37bd675042214bef36a7f4977be944d76fcbba735b54490c8d60add7e15fa30ab0213a8fab14c488a55f6da67b0e1cac10eb30e4a20
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoopm/gentoopm-0.2.9.ebuild,v 1.1 2013/08/08 23:02:11 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy{1_9,2_0} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A common interface to Gentoo package managers"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/gentoopm/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~mips ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="|| (
|
||||
sys-apps/pkgcore
|
||||
>=sys-apps/portage-2.1.10.3[${PYTHON_USEDEP}]
|
||||
>=sys-apps/paludis-0.64.2[python-bindings] )"
|
||||
DEPEND="doc? ( dev-python/epydoc )"
|
||||
PDEPEND="app-admin/eselect-package-manager"
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
python_export_best
|
||||
"${PYTHON}" setup.py doc || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" setup.py test || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/* )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST gpyutils-0.1.tar.bz2 7916 SHA256 16df60024c1499c7bd73e30a7a3d97129070c905bea18967bfc92de60ce668c2 SHA512 8a26144ca02b6c9752e8a22d4c7d80a4e8033cfabd49d394cd45ee277f30703bcbc67aba5372f0b4ef267d400d761b8eeaa1ce37b8867007286c2b9cdf9f706e WHIRLPOOL 92195445fce9be949f68805103ff1afa490a3127c6cf0ec976893569ceab05f82aeca052a7bcc10bdc9313d5c5762b14255a9c9385234d291a8f0d4c89aaaa80
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/gpyutils/gpyutils-0.1.ebuild,v 1.1 2013/08/08 23:02:15 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy{1_9,2_0} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Utitilies for maintaining Python packages"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/gpyutils/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-portage/gentoopm-0.2.9[${PYTHON_USEDEP}]"
|
@ -1 +1,2 @@
|
||||
DIST zsh-completion-20080310.tar.bz2 18625 SHA256 3de95b5af52f24c21b77f7baf3c6515d908beae02141b26ffd02d9afb2ea4b64 SHA512 021e963aa3569e9b5243967aa726e981e9f516df768afab15e548a27c934525977f55bea50c7d2a036770b9f00bf4b85ffaae5f9b8cba8bb936c32fd6efc719e WHIRLPOOL e68a8270b391fdb51c927eeb0890e1b1950462b9241d4020efdc6bc470d709e391382c1ce170de3b090227788f8a3e60eb7a0a18007f1a19dd15b788cc9065b2
|
||||
DIST zsh-completion-20130808.tar.bz2 15076 SHA256 9954f35bfbf5afa7aa312fb9f5850280e0ee57881157f5119a25de9536f23f40 SHA512 c36a488cb2c886b5835b8de149e0c3c4578b88d8637132a8bb12a6f72120a984b1bddb956cc92aaeb163cb793a0317d19b248d7541f23f7b34c1e4651fda072a WHIRLPOOL 7e05a42615bb68d0ddf77e1bb391fe64389b9c9a72639ad16816a1390dbf53357a94a70bb4d5049e1d674869c3293e578c12db8bd760c8fef61f237caa86b15c
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh-completion/zsh-completion-20130808.ebuild,v 1.1 2013/08/08 23:05:06 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Programmable Completion for zsh (includes emerge and ebuild commands)"
|
||||
HOMEPAGE="http://git.overlays.gentoo.org/gitweb/?p=proj/zsh-completion.git"
|
||||
SRC_URI="http://dev.gentoo.org/~radhermit/dist/${P}.tar.bz2"
|
||||
|
||||
LICENSE="ZSH"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc64-solaris"
|
||||
|
||||
RDEPEND=">=app-shells/zsh-4.3.5"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins _*
|
||||
|
||||
dodoc AUTHORS
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "If you happen to compile your functions, you may need to delete"
|
||||
elog "~/.zcompdump{,.zwc} and recompile to make zsh-completion available"
|
||||
elog "to your shell."
|
||||
elog
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST libcmis-0.2.3.tar.gz 432064 SHA256 a4ace7c0280e5ee8d4941b33449ee10edf1515437483d55ae387cc4de2c2bea0 SHA512 f69ff4cb6a76d3622e235b0e07c55a762c96634255cedb105565ac40daf5bb2f0fb679bae90708719824a08a921dd34b7cf4fc90d0fb8019e36b5dea3230abb0 WHIRLPOOL 86fe8e16da3148f5a73f5c8be4d5fe3bb71ef2f74e888f0727d6836df24f6013289d5c1b0433ca3d06686419b1c0fad5e0fd0bcda78d714f68d2d2f78c01e83f
|
||||
DIST libcmis-0.3.1.tar.gz 524392 SHA256 f12e0fe8f5c3aef6faadd736bcf1a2c81ad91640dd98ceabf600f17a8fe5ef1a SHA512 532c30ea17fdc2c60bd5af3b6f17f132e74691e334014250dd32265f8ab2236cc6d6950ce1417a7e6e0a14f6a038a5032a2edb793882bf262ca18890353962b8 WHIRLPOOL 7c70fc994fa4d7934356d60a6cebfdcd8b724afbe78962f15ac6e62a72c7e682e79f43f1ca71d779f80fd708b842751363c09b5cfed8a1fb354ce5b966d47b8e
|
||||
DIST libcmis-0.4.1.tar.gz 637615 SHA256 7d52dcf2b5832d3663b18fbf40f0bdefb1e1a40cfb3cf01903301b0bf629395f SHA512 9898b05c345dcc62ffc4f995616f7fe9da34e6f395a4ccadc5cc005586726401593ad1d7df451c6a2756eb216b47bb2d709ac8a4df48546260bb70c762c0bc18 WHIRLPOOL c861930566fc9ff5adecfed4efbae31eb08598abc835b6113afea766f4d356d6ee82b7d523d4080ef728046455c3faf17c45b1592f6b5460a4fc1e6d96dbf27a
|
||||
|
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libcmis/libcmis-0.4.1.ebuild,v 1.1 2013/08/09 08:51:25 scarabeus Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
EGIT_REPO_URI="git://gitorious.org/libcmis/libcmis.git"
|
||||
[[ ${PV} == 9999 ]] && SCM_ECLASS="git-2"
|
||||
inherit eutils alternatives autotools ${SCM_ECLASS}
|
||||
unset SCM_ECLASS
|
||||
|
||||
DESCRIPTION="C++ client library for the CMIS interface"
|
||||
HOMEPAGE="https://sourceforge.net/projects/libcmis/"
|
||||
[[ ${PV} == 9999 ]] || SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( GPL-2 LGPL-2 MPL-1.1 )"
|
||||
SLOT="0.4"
|
||||
|
||||
# Don't move KEYWORDS on the previous line or ekeyword won't work # 399061
|
||||
[[ ${PV} == 9999 ]] || \
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
IUSE="static-libs man test"
|
||||
|
||||
RDEPEND="
|
||||
!dev-cpp/libcmis:0
|
||||
dev-libs/boost:=
|
||||
dev-libs/libxml2
|
||||
net-misc/curl
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
man? (
|
||||
app-text/docbook2X
|
||||
dev-libs/libxslt
|
||||
)
|
||||
test? ( dev-util/cppunit )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
[[ ${PV} == 9999 ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
--program-suffix=-${SLOT} \
|
||||
--disable-werror \
|
||||
$(use_with man) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable test tests) \
|
||||
--disable-long-tests \
|
||||
--enable-client
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files --all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
alternatives_auto_makesym /usr/bin/cmis-client "/usr/bin/cmis-client-[0-9].[0-9]"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
alternatives_auto_makesym /usr/bin/cmis-client "/usr/bin/cmis-client-[0-9].[0-9]"
|
||||
}
|
@ -1,120 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/spidermonkey-1.8.5-r1.ebuild,v 1.24 2013/03/03 07:47:36 vapier Exp $
|
||||
|
||||
EAPI="3"
|
||||
WANT_AUTOCONF="2.1"
|
||||
inherit autotools eutils toolchain-funcs multilib python versionator pax-utils
|
||||
|
||||
MY_PN="js"
|
||||
TARBALL_PV="$(replace_all_version_separators '' $(get_version_component_range 1-3))"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
TARBALL_P="${MY_PN}${TARBALL_PV}-1.0.0"
|
||||
DESCRIPTION="Stand-alone JavaScript C library"
|
||||
HOMEPAGE="http://www.mozilla.org/js/spidermonkey/"
|
||||
SRC_URI="https://ftp.mozilla.org/pub/mozilla.org/js/${TARBALL_P}.tar.gz"
|
||||
|
||||
LICENSE="NPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~arm hppa -ia64 ~mips ppc ppc64 s390 sparc x86 ~x86-fbsd"
|
||||
IUSE="debug static-libs test"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
BUILDDIR="${S}/js/src"
|
||||
|
||||
RDEPEND=">=dev-libs/nspr-4.7.0"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/zip
|
||||
=dev-lang/python-2*[threads]
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup(){
|
||||
python_set_active_version 2
|
||||
|
||||
export LC_ALL="C"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=628723#c43
|
||||
epatch "${FILESDIR}/${P}-fix-install-symlinks.patch"
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=638056#c9
|
||||
epatch "${FILESDIR}/${P}-fix-ppc64.patch"
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=400727
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=420471
|
||||
epatch "${FILESDIR}/${P}-arm_respect_cflags-3.patch"
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=438746
|
||||
epatch "${FILESDIR}"/${PN}-1.8.7-freebsd-pthreads.patch
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=441928
|
||||
epatch "${FILESDIR}"/${PN}-1.8.5-perf_event-check.patch
|
||||
|
||||
epatch_user
|
||||
|
||||
if [[ ${CHOST} == *-freebsd* ]]; then
|
||||
# Don't try to be smart, this does not work in cross-compile anyway
|
||||
ln -sfn "${BUILDDIR}/config/Linux_All.mk" "${S}/config/$(uname -s)$(uname -r).mk"
|
||||
fi
|
||||
|
||||
cd "${S}"/js/src
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cd "${BUILDDIR}"
|
||||
|
||||
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" PYTHON="$(PYTHON)" \
|
||||
econf \
|
||||
${myopts} \
|
||||
--enable-jemalloc \
|
||||
--enable-readline \
|
||||
--enable-threadsafe \
|
||||
--with-system-nspr \
|
||||
$(use_enable debug) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable test tests)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${BUILDDIR}"
|
||||
if tc-is-cross-compiler; then
|
||||
make CFLAGS="" CXXFLAGS="" \
|
||||
CC=$(tc-getBUILD_CC) CXX=$(tc-getBUILD_CXX) \
|
||||
jscpucfg host_jsoplengen host_jskwgen || die
|
||||
make CFLAGS="" CXXFLAGS="" \
|
||||
CC=$(tc-getBUILD_CC) CXX=$(tc-getBUILD_CXX) \
|
||||
-C config nsinstall || die
|
||||
mv {,native-}jscpucfg
|
||||
mv {,native-}host_jskwgen
|
||||
mv {,native-}host_jsoplengen
|
||||
mv config/{,native-}nsinstall
|
||||
sed -e 's@./jscpucfg@./native-jscpucfg@' \
|
||||
-e 's@./host_jskwgen@./native-host_jskwgen@' \
|
||||
-e 's@./host_jsoplengen@./native-host_jsoplengen@' \
|
||||
-i Makefile
|
||||
sed -e 's@/nsinstall@/native-nsinstall@' -i config/config.mk
|
||||
rm config/host_nsinstall.o \
|
||||
config/host_pathsub.o \
|
||||
host_jskwgen.o \
|
||||
host_jsoplengen.o
|
||||
fi
|
||||
emake || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${BUILDDIR}/jsapi-tests"
|
||||
emake check || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${BUILDDIR}"
|
||||
emake DESTDIR="${D}" install || die
|
||||
dobin shell/js ||die
|
||||
pax-mark m "${ED}/usr/bin/js"
|
||||
dodoc ../../README || die
|
||||
dohtml README.html || die
|
||||
|
||||
if ! use static-libs; then
|
||||
# We can't actually disable building of static libraries
|
||||
# They're used by the tests and in a few other places
|
||||
find "${D}" -iname '*.a' -delete || die
|
||||
fi
|
||||
}
|
@ -1,127 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/spidermonkey-1.8.5-r2.ebuild,v 1.8 2013/03/03 07:47:36 vapier Exp $
|
||||
|
||||
EAPI="5"
|
||||
WANT_AUTOCONF="2.1"
|
||||
inherit autotools eutils toolchain-funcs multilib python versionator pax-utils
|
||||
|
||||
MY_PN="js"
|
||||
TARBALL_PV="$(replace_all_version_separators '' $(get_version_component_range 1-3))"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
TARBALL_P="${MY_PN}${TARBALL_PV}-1.0.0"
|
||||
DESCRIPTION="Stand-alone JavaScript C library"
|
||||
HOMEPAGE="http://www.mozilla.org/js/spidermonkey/"
|
||||
SRC_URI="https://ftp.mozilla.org/pub/mozilla.org/js/${TARBALL_P}.tar.gz"
|
||||
|
||||
LICENSE="NPL-1.1"
|
||||
SLOT="0/mozjs185"
|
||||
KEYWORDS="~alpha ~amd64 arm ~hppa -ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="debug minimal static-libs test"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
BUILDDIR="${S}/js/src"
|
||||
|
||||
RDEPEND=">=dev-libs/nspr-4.7.0"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/zip
|
||||
=dev-lang/python-2*[threads]
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup(){
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
export LC_ALL="C"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=628723#c43
|
||||
epatch "${FILESDIR}/${P}-fix-install-symlinks.patch"
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=638056#c9
|
||||
epatch "${FILESDIR}/${P}-fix-ppc64.patch"
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=400727
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=420471
|
||||
epatch "${FILESDIR}/${P}-arm_respect_cflags-3.patch"
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=438746
|
||||
epatch "${FILESDIR}"/${PN}-1.8.7-freebsd-pthreads.patch
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=441928
|
||||
epatch "${FILESDIR}"/${PN}-1.8.5-perf_event-check.patch
|
||||
|
||||
epatch_user
|
||||
|
||||
if [[ ${CHOST} == *-freebsd* ]]; then
|
||||
# Don't try to be smart, this does not work in cross-compile anyway
|
||||
ln -sfn "${BUILDDIR}/config/Linux_All.mk" "${S}/config/$(uname -s)$(uname -r).mk" || die
|
||||
fi
|
||||
|
||||
cd "${BUILDDIR}" || die
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cd "${BUILDDIR}" || die
|
||||
|
||||
CC="$(tc-getCC)" CXX="$(tc-getCXX)" \
|
||||
AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" \
|
||||
LD="$(tc-getLD)" PYTHON="$(PYTHON)" \
|
||||
econf \
|
||||
${myopts} \
|
||||
--enable-jemalloc \
|
||||
--enable-readline \
|
||||
--enable-threadsafe \
|
||||
--with-system-nspr \
|
||||
$(use_enable debug) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable test tests)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${BUILDDIR}" || die
|
||||
if tc-is-cross-compiler; then
|
||||
make CFLAGS="" CXXFLAGS="" \
|
||||
CC=$(tc-getBUILD_CC) CXX=$(tc-getBUILD_CXX) \
|
||||
AR=$(tc-getBUILD_AR) RANLIB=$(tc-getBUILD_RANLIB) \
|
||||
jscpucfg host_jsoplengen host_jskwgen || die
|
||||
make CFLAGS="" CXXFLAGS="" \
|
||||
CC=$(tc-getBUILD_CC) CXX=$(tc-getBUILD_CXX) \
|
||||
AR=$(tc-getBUILD_AR) RANLIB=$(tc-getBUILD_RANLIB) \
|
||||
-C config nsinstall || die
|
||||
mv {,native-}jscpucfg || die
|
||||
mv {,native-}host_jskwgen || die
|
||||
mv {,native-}host_jsoplengen || die
|
||||
mv config/{,native-}nsinstall || die
|
||||
sed -e 's@./jscpucfg@./native-jscpucfg@' \
|
||||
-e 's@./host_jskwgen@./native-host_jskwgen@' \
|
||||
-e 's@./host_jsoplengen@./native-host_jsoplengen@' \
|
||||
-i Makefile || die
|
||||
sed -e 's@/nsinstall@/native-nsinstall@' -i config/config.mk || die
|
||||
rm -f config/host_nsinstall.o \
|
||||
config/host_pathsub.o \
|
||||
host_jskwgen.o \
|
||||
host_jsoplengen.o || die
|
||||
fi
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${BUILDDIR}/jsapi-tests" || die
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${BUILDDIR}" || die
|
||||
emake DESTDIR="${D}" install
|
||||
# bug 437520 , exclude js shell for small systems
|
||||
if ! use minimal ; then
|
||||
dobin shell/js
|
||||
pax-mark m "${ED}/usr/bin/js"
|
||||
fi
|
||||
dodoc ../../README
|
||||
dohtml README.html
|
||||
|
||||
if ! use static-libs; then
|
||||
# We can't actually disable building of static libraries
|
||||
# They're used by the tests and in a few other places
|
||||
find "${D}" -iname '*.a' -delete || die
|
||||
fi
|
||||
}
|
@ -1,129 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/spidermonkey-1.8.5-r3.ebuild,v 1.3 2013/03/03 07:47:36 vapier Exp $
|
||||
|
||||
EAPI="5"
|
||||
WANT_AUTOCONF="2.1"
|
||||
inherit autotools eutils toolchain-funcs multilib python versionator pax-utils
|
||||
|
||||
MY_PN="js"
|
||||
TARBALL_PV="$(replace_all_version_separators '' $(get_version_component_range 1-3))"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
TARBALL_P="${MY_PN}${TARBALL_PV}-1.0.0"
|
||||
DESCRIPTION="Stand-alone JavaScript C library"
|
||||
HOMEPAGE="http://www.mozilla.org/js/spidermonkey/"
|
||||
SRC_URI="https://ftp.mozilla.org/pub/mozilla.org/js/${TARBALL_P}.tar.gz"
|
||||
|
||||
LICENSE="NPL-1.1"
|
||||
SLOT="0/mozjs185"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa -ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="debug minimal static-libs test"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
BUILDDIR="${S}/js/src"
|
||||
|
||||
RDEPEND=">=dev-libs/nspr-4.7.0"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/zip
|
||||
=dev-lang/python-2*[threads]
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup(){
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
export LC_ALL="C"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=628723#c43
|
||||
epatch "${FILESDIR}/${P}-fix-install-symlinks.patch"
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=638056#c9
|
||||
epatch "${FILESDIR}/${P}-fix-ppc64.patch"
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=400727
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=420471
|
||||
epatch "${FILESDIR}/${P}-arm_respect_cflags-3.patch"
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=438746
|
||||
epatch "${FILESDIR}"/${PN}-1.8.7-freebsd-pthreads.patch
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=441928
|
||||
epatch "${FILESDIR}"/${PN}-1.8.5-perf_event-check.patch
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=439260
|
||||
epatch "${FILESDIR}"/${P}-symbol-versions.patch
|
||||
|
||||
epatch_user
|
||||
|
||||
if [[ ${CHOST} == *-freebsd* ]]; then
|
||||
# Don't try to be smart, this does not work in cross-compile anyway
|
||||
ln -sfn "${BUILDDIR}/config/Linux_All.mk" "${S}/config/$(uname -s)$(uname -r).mk" || die
|
||||
fi
|
||||
|
||||
cd "${BUILDDIR}" || die
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cd "${BUILDDIR}" || die
|
||||
|
||||
CC="$(tc-getCC)" CXX="$(tc-getCXX)" \
|
||||
AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" \
|
||||
LD="$(tc-getLD)" PYTHON="$(PYTHON)" \
|
||||
econf \
|
||||
${myopts} \
|
||||
--enable-jemalloc \
|
||||
--enable-readline \
|
||||
--enable-threadsafe \
|
||||
--with-system-nspr \
|
||||
$(use_enable debug) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable test tests)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${BUILDDIR}" || die
|
||||
if tc-is-cross-compiler; then
|
||||
make CFLAGS="" CXXFLAGS="" \
|
||||
CC=$(tc-getBUILD_CC) CXX=$(tc-getBUILD_CXX) \
|
||||
AR=$(tc-getBUILD_AR) RANLIB=$(tc-getBUILD_RANLIB) \
|
||||
jscpucfg host_jsoplengen host_jskwgen || die
|
||||
make CFLAGS="" CXXFLAGS="" \
|
||||
CC=$(tc-getBUILD_CC) CXX=$(tc-getBUILD_CXX) \
|
||||
AR=$(tc-getBUILD_AR) RANLIB=$(tc-getBUILD_RANLIB) \
|
||||
-C config nsinstall || die
|
||||
mv {,native-}jscpucfg || die
|
||||
mv {,native-}host_jskwgen || die
|
||||
mv {,native-}host_jsoplengen || die
|
||||
mv config/{,native-}nsinstall || die
|
||||
sed -e 's@./jscpucfg@./native-jscpucfg@' \
|
||||
-e 's@./host_jskwgen@./native-host_jskwgen@' \
|
||||
-e 's@./host_jsoplengen@./native-host_jsoplengen@' \
|
||||
-i Makefile || die
|
||||
sed -e 's@/nsinstall@/native-nsinstall@' -i config/config.mk || die
|
||||
rm -f config/host_nsinstall.o \
|
||||
config/host_pathsub.o \
|
||||
host_jskwgen.o \
|
||||
host_jsoplengen.o || die
|
||||
fi
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${BUILDDIR}/jsapi-tests" || die
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${BUILDDIR}" || die
|
||||
emake DESTDIR="${D}" install
|
||||
# bug 437520 , exclude js shell for small systems
|
||||
if ! use minimal ; then
|
||||
dobin shell/js
|
||||
pax-mark m "${ED}/usr/bin/js"
|
||||
fi
|
||||
dodoc ../../README
|
||||
dohtml README.html
|
||||
|
||||
if ! use static-libs; then
|
||||
# We can't actually disable building of static libraries
|
||||
# They're used by the tests and in a few other places
|
||||
find "${D}" -iname '*.a' -delete || die
|
||||
fi
|
||||
}
|
@ -1,140 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/spidermonkey-1.8.7-r2.ebuild,v 1.4 2013/03/03 07:47:36 vapier Exp $
|
||||
|
||||
EAPI="5"
|
||||
WANT_AUTOCONF="2.1"
|
||||
inherit autotools eutils toolchain-funcs multilib python versionator pax-utils
|
||||
|
||||
MY_PN="js"
|
||||
TARBALL_PV="$(replace_all_version_separators '' $(get_version_component_range 1-3))"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
TARBALL_P="${MY_PN}${TARBALL_PV}-1.0.0"
|
||||
SPIDERPV="${PV}-patches-0.1"
|
||||
DESCRIPTION="Stand-alone JavaScript C library"
|
||||
HOMEPAGE="http://www.mozilla.org/js/spidermonkey/"
|
||||
SRC_URI="http://people.mozilla.com/~dmandelin/${TARBALL_P}.tar.gz
|
||||
http://dev.gentoo.org/~anarchy/mozilla/patchsets/spidermonkey-${SPIDERPV}.tar.xz"
|
||||
|
||||
LICENSE="NPL-1.1"
|
||||
SLOT="0/mozjs187"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa -ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="debug jit minimal static-libs test"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
BUILDDIR="${S}/js/src"
|
||||
|
||||
RDEPEND=">=dev-libs/nspr-4.7.0
|
||||
virtual/libffi"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/zip
|
||||
=dev-lang/python-2*[threads]
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup(){
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
export LC_ALL="C"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Apply patches that are required for misc archs
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}/spidermonkey"
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-1.8.5-fix-install-symlinks.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.8.7-filter_desc.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.8.7-freebsd-pthreads.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.8.7-x32.patch
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=439260
|
||||
epatch "${FILESDIR}"/${P}-symbol-versions.patch
|
||||
|
||||
epatch_user
|
||||
|
||||
if [[ ${CHOST} == *-freebsd* ]]; then
|
||||
# Don't try to be smart, this does not work in cross-compile anyway
|
||||
ln -sfn "${BUILDDIR}/config/Linux_All.mk" "${S}/config/$(uname -s)$(uname -r).mk" || die
|
||||
fi
|
||||
|
||||
cd "${BUILDDIR}" || die
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cd "${BUILDDIR}" || die
|
||||
|
||||
CC="$(tc-getCC)" CXX="$(tc-getCXX)" \
|
||||
AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" \
|
||||
LD="$(tc-getLD)" PYTHON="$(PYTHON)" \
|
||||
econf \
|
||||
${myopts} \
|
||||
--enable-jemalloc \
|
||||
--enable-readline \
|
||||
--enable-threadsafe \
|
||||
--with-system-nspr \
|
||||
--enable-system-ffi \
|
||||
--enable-jemalloc \
|
||||
$(use_enable debug) \
|
||||
$(use_enable jit tracejit) \
|
||||
$(use_enable jit methodjit) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable test tests)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${BUILDDIR}" || die
|
||||
if tc-is-cross-compiler; then
|
||||
make CFLAGS="" CXXFLAGS="" \
|
||||
CC=$(tc-getBUILD_CC) CXX=$(tc-getBUILD_CXX) \
|
||||
AR=$(tc-getBUILD_AR) RANLIB=$(tc-getBUILD_RANLIB) \
|
||||
jscpucfg host_jsoplengen host_jskwgen || die
|
||||
make CFLAGS="" CXXFLAGS="" \
|
||||
CC=$(tc-getBUILD_CC) CXX=$(tc-getBUILD_CXX) \
|
||||
AR=$(tc-getBUILD_AR) RANLIB=$(tc-getBUILD_RANLIB) \
|
||||
-C config nsinstall || die
|
||||
mv {,native-}jscpucfg || die
|
||||
mv {,native-}host_jskwgen || die
|
||||
mv {,native-}host_jsoplengen || die
|
||||
mv config/{,native-}nsinstall || die
|
||||
sed -e 's@./jscpucfg@./native-jscpucfg@' \
|
||||
-e 's@./host_jskwgen@./native-host_jskwgen@' \
|
||||
-e 's@./host_jsoplengen@./native-host_jsoplengen@' \
|
||||
-i Makefile || die
|
||||
sed -e 's@/nsinstall@/native-nsinstall@' -i config/config.mk || die
|
||||
rm -f config/host_nsinstall.o \
|
||||
config/host_pathsub.o \
|
||||
host_jskwgen.o \
|
||||
host_jsoplengen.o || die
|
||||
fi
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${BUILDDIR}/jsapi-tests" || die
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${BUILDDIR}" || die
|
||||
emake DESTDIR="${D}" install
|
||||
if ! use minimal; then
|
||||
dobin shell/js
|
||||
if use jit; then
|
||||
pax-mark m "${ED}/usr/bin/js"
|
||||
fi
|
||||
fi
|
||||
dodoc ../../README
|
||||
dohtml README.html
|
||||
# install header files needed but not part of build system
|
||||
insinto /usr/include/js
|
||||
doins ../public/*.h
|
||||
insinto /usr/include/js/mozilla
|
||||
doins "${S}"/mfbt/*.h
|
||||
|
||||
if ! use static-libs; then
|
||||
# We can't actually disable building of static libraries
|
||||
# They're used by the tests and in a few other places
|
||||
find "${D}" -iname '*.a' -delete || die
|
||||
fi
|
||||
}
|
@ -1,132 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/spidermonkey-1.8.7.ebuild,v 1.8 2013/03/03 07:47:36 vapier Exp $
|
||||
|
||||
EAPI="3"
|
||||
WANT_AUTOCONF="2.1"
|
||||
inherit autotools eutils toolchain-funcs multilib python versionator pax-utils
|
||||
|
||||
MY_PN="js"
|
||||
TARBALL_PV="$(replace_all_version_separators '' $(get_version_component_range 1-3))"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
TARBALL_P="${MY_PN}${TARBALL_PV}-1.0.0"
|
||||
SPIDERPV="${PV}-patches-0.1"
|
||||
DESCRIPTION="Stand-alone JavaScript C library"
|
||||
HOMEPAGE="http://www.mozilla.org/js/spidermonkey/"
|
||||
SRC_URI="http://people.mozilla.com/~dmandelin/${TARBALL_P}.tar.gz
|
||||
http://dev.gentoo.org/~anarchy/mozilla/patchsets/spidermonkey-${SPIDERPV}.tar.xz"
|
||||
|
||||
LICENSE="NPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa -ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="debug jit static-libs test"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
BUILDDIR="${S}/js/src"
|
||||
|
||||
RDEPEND=">=dev-libs/nspr-4.7.0
|
||||
virtual/libffi"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/zip
|
||||
=dev-lang/python-2*[threads]
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup(){
|
||||
python_set_active_version 2
|
||||
|
||||
export LC_ALL="C"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Apply patches that are required for misc archs
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}/spidermonkey"
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-1.8.5-fix-install-symlinks.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.8.7-filter_desc.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.8.7-freebsd-pthreads.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.8.7-x32.patch
|
||||
|
||||
epatch_user
|
||||
|
||||
if [[ ${CHOST} == *-freebsd* ]]; then
|
||||
# Don't try to be smart, this does not work in cross-compile anyway
|
||||
ln -sfn "${BUILDDIR}/config/Linux_All.mk" "${S}/config/$(uname -s)$(uname -r).mk"
|
||||
fi
|
||||
|
||||
cd "${S}"/js/src
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cd "${BUILDDIR}"
|
||||
|
||||
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" PYTHON="$(PYTHON)" \
|
||||
econf \
|
||||
${myopts} \
|
||||
--enable-jemalloc \
|
||||
--enable-readline \
|
||||
--enable-threadsafe \
|
||||
--with-system-nspr \
|
||||
--enable-system-ffi \
|
||||
--enable-jemalloc \
|
||||
$(use_enable debug) \
|
||||
$(use_enable jit tracejit) \
|
||||
$(use_enable jit methodjit) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable test tests)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${BUILDDIR}"
|
||||
if tc-is-cross-compiler; then
|
||||
make CFLAGS="" CXXFLAGS="" \
|
||||
CC=$(tc-getBUILD_CC) CXX=$(tc-getBUILD_CXX) \
|
||||
jscpucfg host_jsoplengen host_jskwgen || die
|
||||
make CFLAGS="" CXXFLAGS="" \
|
||||
CC=$(tc-getBUILD_CC) CXX=$(tc-getBUILD_CXX) \
|
||||
-C config nsinstall || die
|
||||
mv {,native-}jscpucfg
|
||||
mv {,native-}host_jskwgen
|
||||
mv {,native-}host_jsoplengen
|
||||
mv config/{,native-}nsinstall
|
||||
sed -e 's@./jscpucfg@./native-jscpucfg@' \
|
||||
-e 's@./host_jskwgen@./native-host_jskwgen@' \
|
||||
-e 's@./host_jsoplengen@./native-host_jsoplengen@' \
|
||||
-i Makefile
|
||||
sed -e 's@/nsinstall@/native-nsinstall@' -i config/config.mk
|
||||
rm config/host_nsinstall.o \
|
||||
config/host_pathsub.o \
|
||||
host_jskwgen.o \
|
||||
host_jsoplengen.o
|
||||
fi
|
||||
emake || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${BUILDDIR}/jsapi-tests"
|
||||
emake check || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${BUILDDIR}"
|
||||
emake DESTDIR="${D}" install || die
|
||||
dobin shell/js ||die
|
||||
if use jit ; then
|
||||
pax-mark m "${ED}/usr/bin/js"
|
||||
fi
|
||||
dodoc ../../README || die
|
||||
dohtml README.html || die
|
||||
# install header files needed but not part of build system
|
||||
insinto /usr/include/js || die
|
||||
doins ../public/*.h || die
|
||||
insinto /usr/include/js/mozilla || die
|
||||
doins "${S}"/mfbt/*.h || die
|
||||
|
||||
if ! use static-libs; then
|
||||
# We can't actually disable building of static libraries
|
||||
# They're used by the tests and in a few other places
|
||||
find "${D}" -iname '*.a' -delete || die
|
||||
fi
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST wspace-0.3.tgz 15471 SHA256 53e47bf05df991c1d0f88a75cf5208bfc42d42b87f8fe3e8ee6a05ac78544a73 SHA512 d162e804b0b6c4cba164552678ef3a094153e89a0df5f684e52b93229d88699cf9c7fd31641b88fd8c4653c158b1e77193ebd9cd1edfc47863a09798f67d3487 WHIRLPOOL 48f71bab55c281607d0d537d9b532b95439744f7e11a6fd96b60145ef2489413ebd85617a3292b2a016eadc9d4cf6146505b614d50fba0d1c9b156be1ba87db9
|
@ -0,0 +1,24 @@
|
||||
diff -u -N WSpace/Setup.lhs WSpace.patched/Setup.lhs
|
||||
--- WSpace/Setup.lhs 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ WSpace.patched/Setup.lhs 2013-08-09 01:14:00.415264165 +0200
|
||||
@@ -0,0 +1,3 @@
|
||||
+#!/usr/bin/env runhaskell
|
||||
+> import Distribution.Simple
|
||||
+> main = defaultMain
|
||||
diff -u -N WSpace/WSpace.cabal WSpace.patched/WSpace.cabal
|
||||
--- WSpace/WSpace.cabal 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ WSpace.patched/WSpace.cabal 2013-08-09 01:44:19.129339177 +0200
|
||||
@@ -0,0 +1,10 @@
|
||||
+name: WSpace
|
||||
+version: 0.3
|
||||
+synopsis: Whitespace implementation in Haskell.
|
||||
+category: Language
|
||||
+Build-Type: Simple
|
||||
+cabal-version: >= 1.2
|
||||
+
|
||||
+Executable wspace
|
||||
+ Main-Is: main.hs
|
||||
+ Build-Depends: haskell98
|
||||
Common subdirectories: WSpace/docs and WSpace.patched/docs
|
||||
Common subdirectories: WSpace/emacs and WSpace.patched/emacs
|
||||
Common subdirectories: WSpace/examples and WSpace.patched/examples
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>yac@gentoo.org</email>
|
||||
<name>Jan Matejka</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/whitespace/whitespace-0.3.ebuild,v 1.1 2013/08/08 23:54:07 yac Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
CABAL_FEATURES="bin"
|
||||
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Whitespace language interpreter in haskell"
|
||||
HOMEPAGE="http://compsoc.dur.ac.uk/whitespace/"
|
||||
SRC_URI="http://compsoc.dur.ac.uk/whitespace/downloads/wspace-${PV}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
DEPEND="dev-lang/ghc"
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/WSpace"
|
||||
|
||||
src_prepare() {
|
||||
epatch -p1 "${FILESDIR}/${PN}-cabal.patch"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cabal_src_install
|
||||
|
||||
dohtml docs/tutorial.html || die "dohtml failed"
|
||||
use examples && { dodoc -r examples || die "dodoc failed"; }
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/MicroJSON/MicroJSON-0.3.2.ebuild,v 1.1 2013/08/08 16:36:28 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Small and simple to use JSON generation and parsing library."
|
||||
HOMEPAGE="http://grigory.info/${PN}.About.html"
|
||||
SRC_URI="http://grigory.info/distfiles/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND=">=dev-libs/UTF8Strings-1.12.0"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
@ -1,5 +1,3 @@
|
||||
DIST folks-0.4.3.tar.bz2 635168 SHA256 e5a5bbe1524130ff5b6400726db3e12299b12ffefa108bc89169509f343d925e SHA512 dfd7cb055aba691e7b8e7daa3e887e20f021d230617641c0dcf91787b53b576601fabeeba654e98009b47ecff39969ea1b560822d4452ee497c7eeedc16c423b WHIRLPOOL 49cee01e55e9223b6566d76c21f8de68a15c6a2534ce4b4d6ed752e9cf8dadd256b5343a46c26e0236155901864e34b6677764aa70c43c8e18df692c40d8c85d
|
||||
DIST folks-0.8.0.tar.xz 1477836 SHA256 8c56c7594dd502ef5877e93181136e41f4ea03de4971372a7a04e7f1492eed9d SHA512 0e6c1adb84ff248a0a5e93ab631ba791b493fbcc60d9f34acc6f96132fa23c8a81a84a322ae8fc8168f3dd2769f8dc944979ba03b6ec529d2ed9d12c520e89ba WHIRLPOOL 379c1a4c202bcf3550c46c67eb3b6af3171e0e58ce9639dce13b5f52154d8f002e603a23a11a7cfe601f0ea82cbb7fa8702db467be2d159c3d3694c39261ed4c
|
||||
DIST folks-0.9.1.tar.xz 1570912 SHA256 102b1867355d16e73a837871a058dda13c74fa385908ddda1623893ab0baee4a SHA512 1c883090e268936c53049805ec9c95b38f323417d0840d7fcf1b20658d3002df7d88e9cc691b024b5c6b6bec1564143233e5a833f5d5309413bd7462b58f60fb WHIRLPOOL 9219eebdd4ec6426432187219fdc5da2d67b1f90a1eba4a35d9ab1e1af1178dc86041a5bc38d9df4ed739c48485950e6f6192d694e623be2afc17d548e731ed9
|
||||
DIST folks-0.9.2.tar.xz 1642932 SHA256 4b034ffe83928acd8a7d607edab60f36eb13801a9d3fcc34ccc7c34a16747818 SHA512 b36f54cac18d0c798df285559ca83d11de56b962e858af6d3de87738c5cd1e72cf23c81c86ce4d5b717c927ac680890719f7626305fdc6bf9eec8560f66bb073 WHIRLPOOL 08a2019138b6ee0f38e3f93217ea087c7d34005719c4aced098b0043bb0d0f52edc263c9b6a8c600d723d7b2a0216f127201e1b4a70ac36f867bf116f8c1d5c7
|
||||
DIST folks-0.9.3.tar.xz 1650964 SHA256 3a806f2009005c920cacd0c6415d86a52e3fbf3ad554d662cf6b4bd9209c17c5 SHA512 d338d6c026b97c3af365eca1ba85f7cc24faeb48309274d4a707813369c285eee0dd6105513f623edc98b3a762df0b1b3c092e04f27d8c04b172bcf78c3fd8cd WHIRLPOOL 7319728bd7bb25a2f2dfcaf2df48fe2c9d953342a086507dca485e651a5de7f62d696a441e03edcd648a4605a5d0e90d8a796cacd0bc0f7b90e8612f9a376598
|
||||
|
@ -1,58 +0,0 @@
|
||||
From d9ae3100a70f89ace7c6a853dfbc1ebd22d5802f Mon Sep 17 00:00:00 2001
|
||||
From: Maciej Piechotka <uzytkownik2@gmail.com>
|
||||
Date: Sat, 20 Apr 2013 11:32:19 +0000
|
||||
Subject: Remove autodependency on zeitgeist
|
||||
|
||||
---
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 69dc010..2798c25 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -128,6 +128,12 @@ AS_IF([test "x$enable_telepathy_backend" = "xyes"], [
|
||||
|
||||
AM_CONDITIONAL([ENABLE_TELEPATHY], [test "x$enable_telepathy_backend" = "xyes"])
|
||||
|
||||
+AC_ARG_ENABLE(zeitgeist,
|
||||
+ AC_HELP_STRING([--enable-zeitgeist],
|
||||
+ [ build Zeitgeist support in the Telepathy backend]),
|
||||
+ enable_zeitgeist=$enableval,
|
||||
+ enable_zeitgeist=auto)
|
||||
+
|
||||
# Automatically check the dependencies for the libsocialweb backend
|
||||
SW_CLIENT_REQUIRED=0.25.20
|
||||
AC_ARG_ENABLE(libsocialweb-backend,
|
||||
@@ -195,10 +201,29 @@ PKG_CHECK_MODULES([DBUS_GLIB], [dbus-glib-1 dbus-1])
|
||||
PKG_CHECK_MODULES([GEE], [gee-0.8 >= $GEE_REQUIRED])
|
||||
|
||||
TP_GLIB_REQUIRED=0.19.0
|
||||
+
|
||||
AS_IF([test x$enable_telepathy_backend = xyes], [
|
||||
- PKG_CHECK_MODULES([TP_GLIB], [telepathy-glib >= $TP_GLIB_REQUIRED])
|
||||
- PKG_CHECK_MODULES([ZEITGEIST], [zeitgeist-1.0 >= $ZEITGEIST_REQUIRED],
|
||||
- have_zeitgeist="yes",have_zeitgeist="no")])
|
||||
+ PKG_CHECK_MODULES([TP_GLIB], [telepathy-glib >= $TP_GLIB_REQUIRED])])
|
||||
+case "x$enable_zeitgeist" in
|
||||
+ xyes)
|
||||
+ AS_IF([test x$enable_telepathy_backend = xyes],
|
||||
+ [PKG_CHECK_MODULES([ZEITGEIST], [zeitgeist-1.0 >= $ZEITGEIST_REQUIRED])]
|
||||
+ [AC_MSG_ERROR([Zeitgeist backend requires telepathy])])
|
||||
+ have_zeitgeist=yes
|
||||
+ ;;
|
||||
+ xauto)
|
||||
+ AS_IF([test x$enable_telepathy_backend = xyes],
|
||||
+ [PKG_CHECK_MODULES([ZEITGEIST], [zeitgeist-1.0 >= $ZEITGEIST_REQUIRED],
|
||||
+ have_zeitgeist="yes",have_zeitgeist="no")],
|
||||
+ [have_zeitgeist=no])
|
||||
+ ;;
|
||||
+ xno)
|
||||
+ have_zeitgeist=no
|
||||
+ ;;
|
||||
+ x*)
|
||||
+ AC_MSG_ERROR([Unknown --enable-zeitgeist argument: $enable_zeitgeist])
|
||||
+esac
|
||||
+
|
||||
AS_IF([test "x$have_zeitgeist" == "xyes"], [
|
||||
ZEITGEIST_VALAFLAGS="-D HAVE_ZEITGEIST"
|
||||
AC_SUBST([ZEITGEIST_VALAFLAGS])
|
||||
--
|
||||
cgit v0.9.1
|
@ -1,21 +0,0 @@
|
||||
From 204c5394a7120b4ad6f4e90efb4d1b03daa08cf4 Mon Sep 17 00:00:00 2001
|
||||
From: Travis Reitter <travis.reitter@collabora.co.uk>
|
||||
Date: Wed, 24 Apr 2013 18:22:15 +0000
|
||||
Subject: Correct the terminology in Zeitgeist check failure
|
||||
|
||||
---
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 2798c25..117ff4a 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -208,7 +208,7 @@ case "x$enable_zeitgeist" in
|
||||
xyes)
|
||||
AS_IF([test x$enable_telepathy_backend = xyes],
|
||||
[PKG_CHECK_MODULES([ZEITGEIST], [zeitgeist-1.0 >= $ZEITGEIST_REQUIRED])]
|
||||
- [AC_MSG_ERROR([Zeitgeist backend requires telepathy])])
|
||||
+ [AC_MSG_ERROR([Zeitgeist support requires Zeitgeist development package])])
|
||||
have_zeitgeist=yes
|
||||
;;
|
||||
xauto)
|
||||
--
|
||||
cgit v0.9.1
|
@ -1,24 +0,0 @@
|
||||
From a24ec72eecd68cda328cd93f8896e3c1d9952452 Mon Sep 17 00:00:00 2001
|
||||
From: Travis Reitter <travis.reitter@collabora.co.uk>
|
||||
Date: Fri, 26 Apr 2013 00:45:42 +0000
|
||||
Subject: Correctly check for existence of Zeitgeist.
|
||||
|
||||
---
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 117ff4a..de10a95 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -207,8 +207,9 @@ AS_IF([test x$enable_telepathy_backend = xyes], [
|
||||
case "x$enable_zeitgeist" in
|
||||
xyes)
|
||||
AS_IF([test x$enable_telepathy_backend = xyes],
|
||||
- [PKG_CHECK_MODULES([ZEITGEIST], [zeitgeist-1.0 >= $ZEITGEIST_REQUIRED])]
|
||||
- [AC_MSG_ERROR([Zeitgeist support requires Zeitgeist development package])])
|
||||
+ [PKG_CHECK_MODULES([ZEITGEIST], [zeitgeist-1.0 >= $ZEITGEIST_REQUIRED],
|
||||
+ ,
|
||||
+ [AC_MSG_ERROR([Zeitgeist support requires Zeitgeist development package])])])
|
||||
have_zeitgeist=yes
|
||||
;;
|
||||
xauto)
|
||||
--
|
||||
cgit v0.9.1
|
@ -1,85 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/folks/folks-0.9.1.ebuild,v 1.2 2013/05/18 19:16:46 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="yes"
|
||||
VALA_MIN_API_VERSION="0.18"
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
|
||||
inherit autotools eutils gnome2 vala virtualx
|
||||
|
||||
DESCRIPTION="Library for aggregating people from multiple sources"
|
||||
HOMEPAGE="https://live.gnome.org/Folks"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0/25" # subslot = libfolks soname version
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-linux"
|
||||
# TODO: --enable-profiling
|
||||
IUSE="eds socialweb +telepathy test tracker utils vala zeitgeist"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/glib-2.32:2
|
||||
dev-libs/dbus-glib
|
||||
>=dev-libs/libgee-0.10:0.8[introspection]
|
||||
dev-libs/libxml2
|
||||
sys-libs/ncurses:=
|
||||
sys-libs/readline:=
|
||||
|
||||
eds? ( >=gnome-extra/evolution-data-server-3.7.90:= )
|
||||
socialweb? ( >=net-libs/libsocialweb-0.25.20 )
|
||||
telepathy? ( >=net-libs/telepathy-glib-0.19 )
|
||||
tracker? ( >=app-misc/tracker-0.16:= )
|
||||
zeitgeist? ( >=dev-libs/libzeitgeist-0.3.14:= )
|
||||
"
|
||||
# telepathy-mission-control needed at runtime; it is used by the telepathy
|
||||
# backend via telepathy-glib's AccountManager binding.
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
net-im/telepathy-mission-control
|
||||
"
|
||||
# folks socialweb backend requires that libsocialweb be built with USE=vala,
|
||||
# even when building folks with --disable-vala.
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-libs/gobject-introspection-1.30
|
||||
>=dev-util/intltool-0.50.0
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
|
||||
socialweb? ( >=net-libs/libsocialweb-0.25.15[vala] )
|
||||
test? ( sys-apps/dbus )
|
||||
vala? (
|
||||
$(vala_depend)
|
||||
>=net-libs/telepathy-glib-0.13.1[vala]
|
||||
eds? ( >=gnome-extra/evolution-data-server-3.5.4:=[vala] ) )
|
||||
"
|
||||
# the inspect tool requires --enable-vala
|
||||
REQUIRED_USE="utils? ( vala )"
|
||||
|
||||
src_prepare() {
|
||||
# Fix automagic dependency on zeitgeist, bug #466378
|
||||
epatch "${FILESDIR}"/${P}-automagic-fix{1,2,3}.patch
|
||||
|
||||
eautoreconf
|
||||
gnome2_src_prepare
|
||||
use vala && vala_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Rebuilding docs needs valadoc, which has no release
|
||||
gnome2_src_configure \
|
||||
$(use_enable eds eds-backend) \
|
||||
$(use_enable socialweb libsocialweb-backend) \
|
||||
$(use_enable telepathy telepathy-backend) \
|
||||
$(use_enable tracker tracker-backend) \
|
||||
$(use_enable utils inspect-tool) \
|
||||
$(use_enable vala) \
|
||||
$(use_enable test tests) \
|
||||
$(use_enable zeitgeist) \
|
||||
--enable-import-tool \
|
||||
--disable-docs \
|
||||
--disable-fatal-warnings
|
||||
}
|
||||
|
||||
src_test() {
|
||||
dbus-launch Xemake check
|
||||
}
|
@ -1,82 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/folks/folks-0.9.2.ebuild,v 1.3 2013/07/24 22:16:48 eva Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="yes"
|
||||
VALA_MIN_API_VERSION="0.18"
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
|
||||
inherit gnome2 vala virtualx
|
||||
|
||||
DESCRIPTION="Library for aggregating people from multiple sources"
|
||||
HOMEPAGE="https://live.gnome.org/Folks"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0/25" # subslot = libfolks soname version
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-linux"
|
||||
# TODO: --enable-profiling
|
||||
IUSE="eds socialweb +telepathy test tracker utils vala zeitgeist"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/glib-2.32:2
|
||||
dev-libs/dbus-glib
|
||||
>=dev-libs/libgee-0.10:0.8[introspection]
|
||||
dev-libs/libxml2
|
||||
sys-libs/ncurses:=
|
||||
sys-libs/readline:=
|
||||
|
||||
eds? ( >=gnome-extra/evolution-data-server-3.8.1:= )
|
||||
socialweb? ( >=net-libs/libsocialweb-0.25.20 )
|
||||
telepathy? ( >=net-libs/telepathy-glib-0.19 )
|
||||
tracker? ( >=app-misc/tracker-0.16:= )
|
||||
zeitgeist? ( >=dev-libs/libzeitgeist-0.3.14:= )
|
||||
"
|
||||
# telepathy-mission-control needed at runtime; it is used by the telepathy
|
||||
# backend via telepathy-glib's AccountManager binding.
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
net-im/telepathy-mission-control
|
||||
"
|
||||
# folks socialweb backend requires that libsocialweb be built with USE=vala,
|
||||
# even when building folks with --disable-vala.
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-libs/gobject-introspection-1.30
|
||||
>=dev-util/intltool-0.50.0
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
|
||||
socialweb? ( >=net-libs/libsocialweb-0.25.15[vala] )
|
||||
test? ( sys-apps/dbus )
|
||||
vala? (
|
||||
$(vala_depend)
|
||||
eds? ( >=gnome-extra/evolution-data-server-3.8.1:=[vala] )
|
||||
telepathy? ( >=net-libs/telepathy-glib-0.19[vala] ) )
|
||||
"
|
||||
# the inspect tool requires --enable-vala
|
||||
REQUIRED_USE="utils? ( vala )"
|
||||
|
||||
src_prepare() {
|
||||
use vala && vala_src_prepare
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Rebuilding docs needs valadoc, which has no release
|
||||
gnome2_src_configure \
|
||||
$(use_enable eds eds-backend) \
|
||||
$(use_enable eds ofono-backend) \
|
||||
$(use_enable socialweb libsocialweb-backend) \
|
||||
$(use_enable telepathy telepathy-backend) \
|
||||
$(use_enable tracker tracker-backend) \
|
||||
$(use_enable utils inspect-tool) \
|
||||
$(use_enable vala) \
|
||||
$(use_enable test tests) \
|
||||
$(use_enable zeitgeist) \
|
||||
--enable-import-tool \
|
||||
--disable-docs \
|
||||
--disable-fatal-warnings
|
||||
}
|
||||
|
||||
src_test() {
|
||||
dbus-launch Xemake check
|
||||
}
|
@ -0,0 +1,151 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgamin/libgamin-0.1.10-r4.ebuild,v 1.1 2013/08/08 12:53:29 aballier Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_DEPEND="python? 2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
GNOME_ORG_MODULE="gamin"
|
||||
GNOME_TARBALL_SUFFIX="bz2"
|
||||
|
||||
inherit autotools eutils flag-o-matic libtool python gnome.org multilib-minimal
|
||||
|
||||
DESCRIPTION="Library providing the FAM File Alteration Monitor API"
|
||||
HOMEPAGE="http://www.gnome.org/~veillard/gamin/"
|
||||
SRC_URI="${SRC_URI}
|
||||
mirror://gentoo/gamin-0.1.9-freebsd.patch.bz2
|
||||
http://dev.gentoo.org/~grobian/patches/libgamin-0.1.10-opensolaris.patch.bz2
|
||||
http://pkgconfig.freedesktop.org/releases/pkg-config-0.26.tar.gz" # pkg.m4 for eautoreconf
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="debug kernel_linux python static-libs"
|
||||
|
||||
RESTRICT="test" # needs gam-server
|
||||
|
||||
RDEPEND="!app-admin/fam
|
||||
!<app-admin/gamin-0.1.10"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
if use python; then
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
mv -vf "${WORKDIR}"/pkg-config-*/pkg.m4 "${WORKDIR}"/ || die
|
||||
|
||||
# Fix QA warnings, bug #257281, upstream #466791
|
||||
epatch "${FILESDIR}"/${PN}-0.1.10-compilewarnings.patch
|
||||
|
||||
if [[ ${CHOST} != *-solaris* ]] ; then
|
||||
# Fix compile warnings; bug #188923
|
||||
epatch "${DISTDIR}"/gamin-0.1.9-freebsd.patch.bz2
|
||||
else
|
||||
# (Open)Solaris necessary patches (changes configure.in), unfortunately
|
||||
# conflicts with freebsd patch and breaks some linux installs so it must
|
||||
# only be applied if on solaris.
|
||||
epatch "${DISTDIR}"/${P}-opensolaris.patch.bz2
|
||||
fi
|
||||
|
||||
# Fix collision problem due to intermediate library, upstream bug #530635
|
||||
epatch "${FILESDIR}"/${PN}-0.1.10-noinst-lib.patch
|
||||
|
||||
# Fix compilation with latest glib, bug #382783
|
||||
epatch "${FILESDIR}/${PN}-0.1.10-G_CONST_RETURN-removal.patch"
|
||||
|
||||
# Fix crosscompilation issues, bug #267604
|
||||
epatch "${FILESDIR}/${PN}-0.1.10-crosscompile-fix.patch"
|
||||
|
||||
# Enable linux specific features on armel, upstream bug #588338
|
||||
epatch "${FILESDIR}/${P}-armel-features.patch"
|
||||
|
||||
# Fix possible server deadlock in ih_sub_cancel, upstream bug #667230
|
||||
epatch "${FILESDIR}/${PN}-0.1.10-deadlock.patch"
|
||||
|
||||
# Drop DEPRECATED flags
|
||||
sed -i -e 's:-DG_DISABLE_DEPRECATED:$(NULL):g' server/Makefile.am || die
|
||||
|
||||
# Build only shared version of Python module.
|
||||
epatch "${FILESDIR}"/${PN}-0.1.10-disable_python_static_library.patch
|
||||
|
||||
# Python bindings are built/installed manually.
|
||||
sed -e "/SUBDIRS += python/d" -i Makefile.am
|
||||
|
||||
sed -i \
|
||||
-e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
|
||||
-e 's:AM_PROG_CC_STDC:AC_PROG_CC:' \
|
||||
configure.in || die #466962
|
||||
|
||||
# autoconf is required as the user-cflags patch modifies configure.in
|
||||
# however, elibtoolize is also required, so when the above patch is
|
||||
# removed, replace the following call with a call to elibtoolize
|
||||
AT_M4DIR="${WORKDIR}" eautoreconf
|
||||
|
||||
use python && python_clean_py-compile_files
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
$(use_enable static-libs static) \
|
||||
--disable-debug \
|
||||
--disable-server \
|
||||
$(use_enable kernel_linux inotify) \
|
||||
$(use_enable debug debug-api) \
|
||||
$(use_with python)
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
default
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
python_copy_sources python
|
||||
|
||||
building() {
|
||||
emake \
|
||||
PYTHON_INCLUDES="${EPREFIX}$(python_get_includedir)" \
|
||||
PYTHON_SITE_PACKAGES="${EPREFIX}$(python_get_sitedir)" \
|
||||
PYTHON_VERSION="$(python_get_version)"
|
||||
}
|
||||
S="${BUILD_DIR}" python_execute_function -s --source-dir python building
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
installation() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
PYTHON_SITE_PACKAGES="${EPREFIX}$(python_get_sitedir)" \
|
||||
PYTHON_VERSION="$(python_get_version)" \
|
||||
install
|
||||
}
|
||||
S="${BUILD_DIR}" python_execute_function -s --source-dir python installation
|
||||
|
||||
python_clean_installation_image
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_instal_all() {
|
||||
dodoc AUTHORS ChangeLog README TODO NEWS doc/*txt
|
||||
dohtml doc/*
|
||||
|
||||
find "${D}" -name '*.la' -exec rm -f {} +
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use python; then
|
||||
python_mod_optimize gamin.py
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use python; then
|
||||
python_mod_cleanup gamin.py
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST dreampie-1.0.2.tar.gz 103376 SHA256 f6dfce5d3f61f1448f133c4ed3b2c4baaaa9975e54194a1f57023eadae391b5b SHA512 1353100bd102206dcc7b43b8491291f5e25c203f88b535dad2ab51ca90f6118d446568dcd0ef757de173a2a70e2abf791fdd3dc7f14d98074c401c874686c3cc WHIRLPOOL b5ba9aebbd2749f4726873aecc541d1d4e79333c2a28ec75abbe2d3049b37e3cf1e9a1a997bf0fd08c11b5d3c4d81244f16daa35073f8baf17ef8c774c66f365
|
||||
DIST dreampie-1.0.3.tar.gz 103561 SHA256 d2e7722e0dcbf804a1736cea5f3de5a5946b5445043b8eeb6bd3fbba90d0aeab SHA512 0c152b2d8d7a4586e1e3fb34d581b87100102e1c2947ac02bbd914b588e96a3cba440a2548a43d05814b79a4bb4c501a6ace2511a882680df16d0043217dcaa3 WHIRLPOOL 4ed3738e515b7b7cbd4682463818043814d5eacb2fdd5d89874b3c69092114ae0337d7704e1b4cdf95d4c763fcf32976f421f5450899e8b489ccb78e50125e86
|
||||
DIST dreampie-1.1.1.tar.gz 112952 SHA256 48a9498c6f14b0d0b7efc973661f9610d3147f61c8b6b0c2ccf99de5a7fd39d1 SHA512 024a6f1e25bbbc2f4d02bb2c1f0b10893307209431116832f7b4b154929d83f81ddca8466d3777997e64a92a14ee0d741dd18e801f88df7d3680c196f7c68ed3 WHIRLPOOL a2c2dfee1766a5f5a4cfcb317903a3ee660038e62556bfe6c46f996444c49f24ae243c6e1ab65b3d4b59be67771d25a03a2c0b05a9fa8ea46a26ce615d1d7b00
|
||||
DIST dreampie-1.2.1.tar.gz 168980 SHA256 8e82093f2f02a5c552715259d43931ae3128873643aa39958ace232235eac6c2 SHA512 e29d4b767985515c36d72c70d75a80985b8caf1c81ecb3126960998bca5cfe99f34ff8c5b2ce6a273a08761889718ed64b566f93642016a60c4ae6ac839b3a07 WHIRLPOOL 13081f106de2633488e3dfc232d5435b0f4959482274487663a7c1a1674c63c4d41adf3294f4b8016ca13615f7b4e1e0054b9eef753af7decdee6e97df262b4b
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/dreampie/dreampie-1.2.1.ebuild,v 1.1 2013/08/09 05:45:39 bicatali Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="pygtk-based python shell"
|
||||
HOMEPAGE="http://dreampie.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-python/pygtk[${PYTHON_USEDEP}]
|
||||
dev-python/pygtksourceview[${PYTHON_USEDEP}]"
|
||||
DEPEND=""
|
@ -1,11 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<maintainer>
|
||||
<email>grozin@gentoo.org</email>
|
||||
<name>Andrey Grozin</name>
|
||||
</maintainer>
|
||||
<longdescription>pygtk-based python shell with autocompletion
|
||||
</longdescription>
|
||||
<herd>python</herd>
|
||||
<maintainer>
|
||||
<email>grozin@gentoo.org</email>
|
||||
<name>Andrey Grozin</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
pygtk-based python shell with autocompletion
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST html5lib-0.90.zip 99322 SHA256 765e04a2c8a08db9209a46887e5244200bed0068f74fdd87fdc219a0c3a1401f SHA512 eb882a55d116d26760956f03214e79c533efa887db5d098cae09a3a40fa870414a6cd2e5a14a6d1bacb9fbc1dc0668e1f9ca99e54ab4ce539f89a68b38883437 WHIRLPOOL e658ba01e67506f6252a365b1cfdabae034cb77c1eb6952c1256d4aedab0ab9ac590e5eee98f6c988af0cd9dbb9c9b5556832f6622fc181fab5baa94c8de83a1
|
||||
DIST html5lib-0.95.tar.gz 222614 SHA256 a6e707d9cb17c8bf1e553713ad14b31274a81d5c0ce0fce21b02936d0efd7dbb SHA512 95c8221fb265b0a931636658170fc0c8a95b16c48576d5aa85ea3c6b088e6039f3f8d66cec67e0e497a63394bbf178b0251c0b9897ea9d1c2d5ae90ca35da464 WHIRLPOOL 355aedaea043231b7c473b2b6fb0455c57a8bedb315a83aeadede9298a484ca4a34584901d5bef4ff2320bef894d562559965350fdec5c5fdad75b63e6abc8a6
|
||||
DIST html5lib-1.0b1.tar.gz 882197 SHA256 45b76286eda37652c83e246cd04ac64cd20137fced437a7ce5162f7f1393b922 SHA512 77143c9f8e926f526eda0fdccdc127101514512a48c28be9a8b28d2226f35ea01d390841a6e7bfea4a9930b3dbaccb04d11a455f9e79d746efe8affa760ff5c6 WHIRLPOOL 31bd58ffeedf9d5a3cc0c05d4339ae1c4ddf61c43e035f70f3809b585db1f52ef3f646da741ea252cc74918aab31c113b5a7ebadbce6b64ec2adc7dedb8bfd13
|
||||
DIST html5lib-1.0b3.tar.gz 884798 SHA256 969abbabfc118fc85ed6698aa8a1e8f24de8e7c0697f9ca085a4ffc97e37b1d0 SHA512 dab8d6778197b8f7ada55e9762c83698a652e028ac03b00998e58fc26e0a04434b612554125942f712a9aea9d0123768090b5b36dd17fda6a64426a3c87afef0 WHIRLPOOL ce7412ab085ae6e1c9cf68a914f276a3c3c5e9c4739fb17f02821d6f286890f7fb37c6463ccc011f1f563b85f159a04b7688f3b7084b48bfd4e93693127f564e
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/html5lib/html5lib-1.0_beta3.ebuild,v 1.1 2013/08/08 17:48:07 bicatali Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy{1_9,2_0} )
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=${PN}-${PV/_beta/b}
|
||||
DESCRIPTION="HTML parser based on the HTML5 specification"
|
||||
HOMEPAGE="https://github.com/html5lib/html5lib-python/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86 ~amd64-fbsd ~amd64-linux ~x86-fbsd ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
python_test() {
|
||||
nosetests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,8 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<upstream>
|
||||
<remote-id type="google-code">html5lib</remote-id>
|
||||
</upstream>
|
||||
<herd>python</herd>
|
||||
<longdescription>
|
||||
html5lib is a pure-python library for parsing HTML. It is designed
|
||||
to conform to the WHATWG HTML specification, as is implemented by
|
||||
all major web browsers.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="pypi">html5lib</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,187 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ipython-1.0.0.ebuild,v 1.2 2013/08/09 09:16:03 xarthisius Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} )
|
||||
PYTHON_REQ_USE='readline,sqlite'
|
||||
|
||||
inherit distutils-r1 elisp-common eutils virtualx
|
||||
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
DESCRIPTION="Advanced interactive shell for Python"
|
||||
HOMEPAGE="http://ipython.org/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/releases/download/rel-${PV}/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc emacs examples matplotlib mongodb notebook octave
|
||||
qt4 +smp test wxwidgets"
|
||||
|
||||
PY2_USEDEP=$(python_gen_usedep 'python2*')
|
||||
|
||||
CDEPEND="
|
||||
dev-python/decorator[${PYTHON_USEDEP}]
|
||||
dev-python/pexpect[${PY2_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/simplegeneric[${PYTHON_USEDEP}]
|
||||
virtual/pyparsing[${PYTHON_USEDEP}]
|
||||
virtual/python-argparse[${PYTHON_USEDEP}]
|
||||
emacs? ( app-emacs/python-mode virtual/emacs )
|
||||
matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] )
|
||||
mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
|
||||
octave? ( dev-python/oct2py[${PY2_USEDEP}] )
|
||||
smp? ( dev-python/pyzmq[${PYTHON_USEDEP}] )
|
||||
wxwidgets? ( dev-python/wxpython[${PY2_USEDEP}] )"
|
||||
RDEPEND="${CDEPEND}
|
||||
notebook? ( >=www-servers/tornado-2.1[${PY2_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
dev-python/pyzmq[${PYTHON_USEDEP}] )
|
||||
qt4? ( || ( dev-python/PyQt4[${PYTHON_USEDEP}] dev-python/pyside[${PYTHON_USEDEP}] )
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
dev-python/pyzmq[${PYTHON_USEDEP}] )"
|
||||
DEPEND="${CDEPEND}
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
PY2_REQUSE="|| ( $(python_gen_useflags python2* ) )"
|
||||
REQUIRED_USE="
|
||||
mongodb? ( ${PY2_REQUSE} )
|
||||
notebook? ( ${PY2_REQUSE} )
|
||||
octave? ( ${PY2_REQUSE} )
|
||||
wxwidgets? ( ${PY2_REQUSE} )"
|
||||
|
||||
python_prepare_all() {
|
||||
# fix for gentoo python scripts
|
||||
sed -i \
|
||||
-e "/ipython_cmd/s/ipython3/ipython/g" \
|
||||
IPython/terminal/console/tests/test_console.py \
|
||||
IPython/lib/irunner.py \
|
||||
IPython/testing/tools.py || die
|
||||
|
||||
sed -i \
|
||||
-e "s/find_scripts(True, suffix='3')/find_scripts(True)/" \
|
||||
setup.py || die
|
||||
|
||||
# fix gentoo installation directory for documentation
|
||||
sed -i \
|
||||
-e "/docdirbase = pjoin/s/ipython/${PF}/" \
|
||||
-e "/pjoin(docdirbase,'manual')/s/manual/html/" \
|
||||
setupbase.py || die "sed failed"
|
||||
|
||||
if ! use doc; then
|
||||
sed -i \
|
||||
-e "/(pjoin(docdirbase, 'extensions'), igridhelpfiles),/d" \
|
||||
-e 's/ + manual_files//' \
|
||||
setupbase.py || die
|
||||
fi
|
||||
|
||||
if ! use examples; then
|
||||
sed -i \
|
||||
-e 's/+ example_files//' \
|
||||
setupbase.py || die
|
||||
fi
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use emacs && elisp-compile docs/emacs/ipython.el
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# virtualx has trouble with parallel runs.
|
||||
local DISTUTILS_NO_PARALLEL_BUILD=1
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# https://github.com/ipython/ipython/issues/2083
|
||||
unset PYTHONWARNINGS
|
||||
|
||||
# ipython skips mongodb tests only if it's not running.
|
||||
# since we want the widest test range, and don't want it to fiddle
|
||||
# with user-running mongodb, we always run it if it's available.
|
||||
|
||||
local DB_IP=127.0.0.1
|
||||
local DB_PORT=-1 # disable
|
||||
|
||||
pushd "${BUILD_DIR}"/../IPython/scripts/ > /dev/null
|
||||
|
||||
if has_version dev-db/mongodb; then
|
||||
# please keep in sync with dev-python/pymongo
|
||||
|
||||
local dbpath=${TMPDIR}/mongo.db
|
||||
local logpath=${TMPDIR}/mongod.log
|
||||
|
||||
# prefer starting with non-default one
|
||||
DB_PORT=27018
|
||||
|
||||
mkdir -p "${dbpath}" || die
|
||||
while true; do
|
||||
ebegin "Trying to start mongod on port ${DB_PORT}"
|
||||
|
||||
LC_ALL=C \
|
||||
mongod --dbpath "${dbpath}" --smallfiles --nojournal \
|
||||
--bind_ip ${DB_IP} --port ${DB_PORT} \
|
||||
--unixSocketPrefix "${TMPDIR}" \
|
||||
--logpath "${logpath}" --fork \
|
||||
&& sleep 2
|
||||
|
||||
# Now we need to check if the server actually started...
|
||||
if [[ ${?} -eq 0 && -S "${TMPDIR}"/mongodb-${DB_PORT}.sock ]]; then
|
||||
# yay!
|
||||
eend 0
|
||||
break
|
||||
elif grep -q 'Address already in use' "${logpath}"; then
|
||||
# ay, someone took our port!
|
||||
eend 1
|
||||
: $(( DB_PORT += 1 ))
|
||||
continue
|
||||
else
|
||||
eend 1
|
||||
ewarn "Unable to start mongod for tests."
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# No support for DB_IP and DB_PORT.
|
||||
# https://github.com/ipython/ipython/pull/2910
|
||||
sed -i -e "s:Connection(:&host='${DB_IP}', port=${DB_PORT}:" \
|
||||
"${BUILD_DIR}"/lib/IPython/parallel/tests/test_mongodb.py \
|
||||
|| die "Unable to sed mongod port into tests"
|
||||
|
||||
|
||||
|
||||
local fail
|
||||
run_tests() {
|
||||
# Initialize ~/.ipython directory.
|
||||
"${EPYTHON}" ipython </dev/null >/dev/null || fail=1
|
||||
# Run tests (-v for more verbosity).
|
||||
PYTHONPATH=${PYTHONPATH}:. "${EPYTHON}" iptest -v || fail=1
|
||||
}
|
||||
|
||||
VIRTUALX_COMMAND=run_tests virtualmake
|
||||
|
||||
[[ ${DB_PORT} != -1 ]] && mongod --dbpath "${dbpath}" --shutdown
|
||||
[[ ${fail} ]] && die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
if use emacs; then
|
||||
cd docs/emacs || die
|
||||
elisp-install ${PN} ${PN}.el*
|
||||
elisp-site-file-install "${FILESDIR}"/62ipython-gentoo.el
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/joblib/joblib-0.7.1.ebuild,v 1.1 2013/08/08 16:58:30 bicatali Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Tools to provide lightweight pipelining in Python"
|
||||
HOMEPAGE="http://pythonhosted.org/joblib/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
python_test() {
|
||||
PYTHONPATH=.:${PN}/
|
||||
nosetests $(find "${BUILD_DIR}" -name tests) || die
|
||||
}
|
@ -1,8 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<upstream>
|
||||
<remote-id type="pypi">joblib</remote-id>
|
||||
</upstream>
|
||||
<herd>python</herd>
|
||||
<longdescription>
|
||||
Joblib is a set of tools to provide lightweight pipelining in
|
||||
Python. In particular, joblib offers:
|
||||
* transparent disk-caching of the output values and lazy
|
||||
re-evaluation (memoize pattern)
|
||||
* easy simple parallel computing
|
||||
* logging and tracing of the execution
|
||||
Joblib is optimized to be fast and robust in particular on large,
|
||||
long-running functions and has specific optimizations for numpy arrays.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="pypi">joblib</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1 @@
|
||||
DIST ndg_httpsclient-0.3.2.tar.gz 21514 SHA256 cc806d43f3e79be40f923d94f542f23a94c6ddbb9a63258b0bf875f325508973 SHA512 0060d1b0f749cc3017f4d5550bf0e7242e035f5f84a914a23219a85ba0dd9185e6edf88c38db16df8dfe05beb267262cc2fed00758c0b4d8b2ee222abe2d642e WHIRLPOOL a7d058939909b5b9ffc8c4f9432d97f4cbb76824b34cc5bf9fd0d32edcf2cee77daad34ad48ad8927c2a3c2a30c960cdc5568131706d15089749f3037b66607d
|
@ -1,7 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>xarthisius@gentoo.org</email>
|
||||
</maintainer>
|
||||
<herd>python</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/ndg-httpsclient/ndg-httpsclient-0.3.2.ebuild,v 1.1 2013/08/09 03:20:39 floppym Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} pypy2_0 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Provides enhanced HTTPS support for httplib and urllib2 using PyOpenSSL"
|
||||
HOMEPAGE="http://ndg-security.ceda.ac.uk/wiki/ndg_httpsclient
|
||||
https://pypi.python.org/pypi/ndg-httpsclient"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P/-/_}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/pyopenssl[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
S="${WORKDIR}/${P/-/_}"
|
@ -1,3 +1,2 @@
|
||||
DIST pandas-0.10.0.tar.gz 2842342 SHA256 670f89055a7683cffeae7f8f3ad57290798542fceb3c0ee435e4b42bb76a44b5 SHA512 8426545ee4f3df91f68ef379fc38e25a45853744033f84096710a4edeedcfadc1530aaff996a6246453a786a082e91e15fd1ee9f44dde413d97d72abae3e8e38 WHIRLPOOL 271e920cc8d89e1a357a94e4116a9d1faf4047fc1c2b6ebe19b8725fcb9aadd252fcb6b6dc2e27d595714543ed47e2b1d7328d6e07aac600f849d4d7546c86f8
|
||||
DIST pandas-0.10.1.tar.gz 2499500 SHA256 c7ca2a66013ec7f196f0e425a08aa0417de0da4147c551fbb8c3afce9ec97aaf SHA512 98396c0601a9c13186add6d91bdb12fc778ae57bf5333de005c0e19050002544d8b8782450404f150caeac84f8031b8e7ef83213b71eaa175c70a396a5a99ba6 WHIRLPOOL 5afea4942be218ff19666b5ddbccd1acd8a09970826e5276a6a5bec825b15affb99a023be8cbf1735d7ff7d8dafc0bd82ce4e763a96f272465da054facc7672f
|
||||
DIST pandas-0.11.0.tar.gz 2783590 SHA256 4d74d4d408494ccc690f6e61d11cb266bb55b142d22bf9b8a7063206073a90d7 SHA512 3dd0ac4fb9e301197eeb9b1e4dfdad9e09d54b8c25f93dc163d3f9b7f7bba076d510f759eace4037776f3821ef820f8f18f38b18617a7e250ac479bb83e68009 WHIRLPOOL 68ee54b57cdfed2f4198a38ba16bed8d3bea17a2e75c6811e46fa00b7f9fbf19de1ace73e3abf0f88e2e58feb6300b6cd6458eceae7e5a9f9df52d3903b45421
|
||||
DIST pandas-0.12.0.tar.gz 3155059 SHA256 be9b4c3611801b366873531bc87a87dd16b19e7d78fa84c21898cd007931c86d SHA512 da5dbd6109f7c96b762fcdf695ed50da8059ca78f645b0dec9a741ed89638ba43f8b336d339d3d4c250585ddfddff240b40bb25e99ab642eed825c649f2fd59e WHIRLPOOL 19cb14eff3b397d80d2c33d55c980b1db1793c087048be9cc13718e50f6034aa3f15fe27866cc13f778fa71cf3c91147449865b9597087622fa9cf24e71d527d
|
||||
|
@ -1,16 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>sci</herd>
|
||||
<longdescription lang="en">
|
||||
<herd>sci</herd>
|
||||
<longdescription lang="en">
|
||||
Pandas is a Python package providing fast, flexible, and expressive
|
||||
data structures designed to make working with "relational" or
|
||||
"labeled" data both easy and intuitive. It aims to be the
|
||||
fundamental high-level building block for doing practical, real
|
||||
world data analysis in Python.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="excel">Pull a few Python packages for Microsoft Excel i/o</flag>
|
||||
<flag name="R">Enable support for R via <pkg>dev-python/rpy</pkg></flag>
|
||||
</use>
|
||||
<use>
|
||||
<flag name="excel">Pull a few Python packages for Microsoft Excel i/o</flag>
|
||||
<flag name="html">Enable HTML i/o via <pkg>dev-python/beautifulsoup</pkg></flag>
|
||||
<flag name="R">Enable support for R via <pkg>dev-python/rpy</pkg></flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue