parent
0b2eec321d
commit
ac461e5e18
@ -1 +1,2 @@
|
||||
DIST entropy-136.tar.bz2 1612759 SHA256 4384b251f259c868f8ee3480701beecb466ca8c5727915e6b437291d03f4c63b SHA512 3b2725de557efa76ee65f368f486ab952f49a63474b5226e7b9ce137bee1c9c1ef73074c4d255e3d8695666556923d827c9cb1e232b307c4893d76e6cc6fb948 WHIRLPOOL 222d2c292c4a7c0d465be31898c4b2bf1469b7c769b4099106ded24334f4d16dde1f95ea532cbb2a167e2b7fcc30e6f59974839c3a8019c02c962fc634556e1b
|
||||
DIST entropy-144.tar.bz2 1616075 SHA256 173825d13f4b5c5aecf4d82b4e593921baf2209496be56190babbb142ad9b75d SHA512 30ca32fdf0747530c656ec9c96aed5dad00e8fb4181bd4c2e4a4aed3c5b06427e5b07baa41db13ff03d6730f13607e86f557aad84cb6e85af5d9c49029a911c7 WHIRLPOOL a14b76a2c247e2d4db12e2c78735c64ca183a474758f8b8ab9748cd93378300cd737377888beb03cc64e0ddeff0cb201fd790489ddfee48b8cf82032429509ac
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/equo/equo-144.ebuild,v 1.1 2012/09/27 10:59:44 lxnay Exp $
|
||||
|
||||
EAPI=3
|
||||
PYTHON_DEPEND="2"
|
||||
inherit eutils python bash-completion-r1
|
||||
|
||||
DESCRIPTION="Entropy Package Manager text-based client"
|
||||
HOMEPAGE="http://www.sabayon.org"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
|
||||
|
||||
S="${WORKDIR}/entropy-${PV}"
|
||||
|
||||
DEPEND="~sys-apps/entropy-${PV}"
|
||||
RDEPEND="${DEPEND} sys-apps/file[python]"
|
||||
|
||||
src_compile() {
|
||||
emake || die "make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="usr/lib" equo-install || die "make install failed"
|
||||
newbashcomp "${S}/misc/equo-completion.bash" equo
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize "/usr/lib/entropy/client"
|
||||
echo
|
||||
elog "If you would like to allow users in the 'entropy' group"
|
||||
elog "to update available package repositories, please consider"
|
||||
elog "to install sys-apps/rigo-daemon"
|
||||
echo
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup "/usr/lib/entropy/client"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST entropy-136.tar.bz2 1612759 SHA256 4384b251f259c868f8ee3480701beecb466ca8c5727915e6b437291d03f4c63b SHA512 3b2725de557efa76ee65f368f486ab952f49a63474b5226e7b9ce137bee1c9c1ef73074c4d255e3d8695666556923d827c9cb1e232b307c4893d76e6cc6fb948 WHIRLPOOL 222d2c292c4a7c0d465be31898c4b2bf1469b7c769b4099106ded24334f4d16dde1f95ea532cbb2a167e2b7fcc30e6f59974839c3a8019c02c962fc634556e1b
|
||||
DIST entropy-144.tar.bz2 1616075 SHA256 173825d13f4b5c5aecf4d82b4e593921baf2209496be56190babbb142ad9b75d SHA512 30ca32fdf0747530c656ec9c96aed5dad00e8fb4181bd4c2e4a4aed3c5b06427e5b07baa41db13ff03d6730f13607e86f557aad84cb6e85af5d9c49029a911c7 WHIRLPOOL a14b76a2c247e2d4db12e2c78735c64ca183a474758f8b8ab9748cd93378300cd737377888beb03cc64e0ddeff0cb201fd790489ddfee48b8cf82032429509ac
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/rigo/rigo-144.ebuild,v 1.1 2012/09/27 11:02:15 lxnay Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
inherit eutils gnome2-utils fdo-mime python
|
||||
|
||||
DESCRIPTION="Rigo, the Sabayon Application Browser"
|
||||
HOMEPAGE="http://www.sabayon.org"
|
||||
LICENSE="GPL-3"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
|
||||
S="${WORKDIR}/entropy-${PV}/rigo"
|
||||
|
||||
RDEPEND="
|
||||
|| ( dev-python/pygobject-cairo:3 dev-python/pygobject:3[cairo] )
|
||||
~sys-apps/entropy-${PV}
|
||||
~sys-apps/rigo-daemon-${PV}
|
||||
sys-devel/gettext
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/vte:2.90
|
||||
>=x11-misc/xdg-utils-1.1.0_rc1_p20120319"
|
||||
DEPEND=""
|
||||
|
||||
src_compile() {
|
||||
emake || die "make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_mime_database_update
|
||||
fdo-mime_desktop_database_update
|
||||
python_mod_optimize "/usr/lib/rigo/${PN}"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_mime_database_update
|
||||
fdo-mime_desktop_database_update
|
||||
python_mod_cleanup "/usr/lib/rigo/${PN}"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST entropy-136.tar.bz2 1612759 SHA256 4384b251f259c868f8ee3480701beecb466ca8c5727915e6b437291d03f4c63b SHA512 3b2725de557efa76ee65f368f486ab952f49a63474b5226e7b9ce137bee1c9c1ef73074c4d255e3d8695666556923d827c9cb1e232b307c4893d76e6cc6fb948 WHIRLPOOL 222d2c292c4a7c0d465be31898c4b2bf1469b7c769b4099106ded24334f4d16dde1f95ea532cbb2a167e2b7fcc30e6f59974839c3a8019c02c962fc634556e1b
|
||||
DIST entropy-144.tar.bz2 1616075 SHA256 173825d13f4b5c5aecf4d82b4e593921baf2209496be56190babbb142ad9b75d SHA512 30ca32fdf0747530c656ec9c96aed5dad00e8fb4181bd4c2e4a4aed3c5b06427e5b07baa41db13ff03d6730f13607e86f557aad84cb6e85af5d9c49029a911c7 WHIRLPOOL a14b76a2c247e2d4db12e2c78735c64ca183a474758f8b8ab9748cd93378300cd737377888beb03cc64e0ddeff0cb201fd790489ddfee48b8cf82032429509ac
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/magneto-loader/magneto-loader-144.ebuild,v 1.1 2012/09/27 11:03:48 lxnay Exp $
|
||||
|
||||
EAPI="2"
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Official Sabayon Linux Entropy Notification Applet Loader"
|
||||
HOMEPAGE="http://www.sabayon.org"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
|
||||
S="${WORKDIR}/entropy-${PV}/magneto"
|
||||
|
||||
DEPEND="~sys-apps/magneto-core-${PV}
|
||||
~app-admin/rigo-${PV}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
einfo "nothing to compile"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="usr/lib" magneto-loader-install || die "make install failed"
|
||||
}
|
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/freemarker/freemarker-2.3.13-r1.ebuild,v 1.1 2012/09/27 13:38:27 sera Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
WANT_ANT_TASKS="ant-nodeps"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 eutils
|
||||
|
||||
DESCRIPTION=" FreeMarker is a template engine; a generic tool to generate text output based on templates."
|
||||
HOMEPAGE="http://freemarker.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="freemarker"
|
||||
SLOT="2.3"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="
|
||||
>=dev-java/jython-2.2:0
|
||||
java-virtuals/servlet-api:2.3
|
||||
java-virtuals/servlet-api:2.4
|
||||
java-virtuals/servlet-api:2.5
|
||||
dev-java/jaxen:1.1
|
||||
dev-java/juel:0"
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.5"
|
||||
DEPEND="${COMMON_DEP}
|
||||
>=virtual/jdk-1.5
|
||||
dev-java/javacc:0"
|
||||
|
||||
java_prepare() {
|
||||
find -name '*.jar' -exec rm -v {} + || die
|
||||
|
||||
epatch "${FILESDIR}/${P}-gentoo.patch"
|
||||
|
||||
# for ecj-3.5
|
||||
java-ant_rewrite-bootclasspath auto
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# BIG FAT WARNING:
|
||||
# clean target removes lib/ directory!!
|
||||
eant clean
|
||||
|
||||
mkdir -p lib/jsp-{1.2,2.0,2.1} || die
|
||||
pushd lib >/dev/null || die
|
||||
java-pkg_jar-from --virtual --into jsp-1.2 servlet-api-2.3
|
||||
java-pkg_jar-from --virtual --into jsp-2.0 servlet-api-2.4
|
||||
java-pkg_jar-from --virtual --into jsp-2.1 servlet-api-2.5
|
||||
java-pkg_jar-from jaxen-1.1
|
||||
java-pkg_jar-from jython
|
||||
java-pkg_jar-from --build-only javacc
|
||||
java-pkg_jar-from juel
|
||||
popd >/dev/null
|
||||
|
||||
eant jar $(use_doc) -Djavacc.home=/usr/share/javacc/lib
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar lib/${PN}.jar
|
||||
dodoc README.txt
|
||||
|
||||
use doc && java-pkg_dojavadoc build/api
|
||||
use source && java-pkg_dosrc src/*
|
||||
}
|
@ -0,0 +1,92 @@
|
||||
--- build.xml.orig 2012-09-27 16:13:40.750930136 +0200
|
||||
+++ build.xml 2012-09-27 16:16:31.725093475 +0200
|
||||
@@ -373,21 +373,13 @@
|
||||
|
||||
<!-- create checkout directory if necessary -->
|
||||
<target name="prepare-checkout" if="do.checkout">
|
||||
- <mkdir dir="${svn.checkout.dir}" />
|
||||
+ <echo message="Removed by patch." />
|
||||
</target>
|
||||
|
||||
|
||||
<!-- checkout if so defined -->
|
||||
<target name="checkout" depends="prepare" if="do.checkout">
|
||||
- <svn javahl="${javahl.dir}" >
|
||||
- <checkout url="https://jython.svn.sourceforge.net/svnroot/jython/${svn.main.dir}/jython" revision="${svn.revision}" destPath="${svn.checkout.dir}/jython" />
|
||||
- <checkout url="https://jython.svn.sourceforge.net/svnroot/jython/${svn.main.dir}/installer" revision="${svn.revision}" destPath="${svn.checkout.dir}/installer" />
|
||||
- </svn>
|
||||
-
|
||||
- <!-- checkout cpython license from the correct python maintenance branch -->
|
||||
- <svn javahl="${javahl.dir}" >
|
||||
- <checkout url="http://svn.python.org/projects/python/branches/release22-maint/" destPath="${svn.checkout.dir}/python" recurse="false" />
|
||||
- </svn>
|
||||
+ <echo message="removed by patch" />
|
||||
</target>
|
||||
|
||||
|
||||
@@ -488,6 +480,7 @@
|
||||
/>
|
||||
|
||||
<!-- java files used by tests -->
|
||||
+<!--
|
||||
<javac srcdir="${jython.base.dir}/Lib/test/"
|
||||
includes="javatests/**"
|
||||
destdir="${output.dir}/"
|
||||
@@ -498,6 +491,7 @@
|
||||
deprecation="${deprecation}"
|
||||
nowarn="${nowarn}"
|
||||
/>
|
||||
+-->
|
||||
|
||||
<copy file="${source.dir}/org/python/modules/ucnhash.dat"
|
||||
todir="${output.dir}/org/python/modules"
|
||||
@@ -551,28 +545,13 @@
|
||||
|
||||
|
||||
<!-- build the .html files using the ht2html tool -->
|
||||
- <target name="doc" depends="compile" if="full-build">
|
||||
- <fail unless="ht2html.dir" message="ht2html.dir is not set" />
|
||||
- <copy todir="${dist.dir}/Doc" preservelastmodified="true">
|
||||
- <fileset dir="Doc" includes="*.ht, **/*.gif" />
|
||||
- </copy>
|
||||
- <!-- Create .html files in Doc -->
|
||||
- <apply executable="${python.exe}" dir="Doc">
|
||||
- <env key="PYTHONPATH" path="${jython.base.dir}/Misc/htgen" />
|
||||
- <arg line="${ht2html.dir}/ht2html.py" />
|
||||
- <arg line="-s JyLocalGenerator" />
|
||||
- <fileset dir="${dist.dir}/Doc">
|
||||
- <include name="*.ht" />
|
||||
- </fileset>
|
||||
- </apply>
|
||||
- <delete>
|
||||
- <fileset dir="${dist.dir}/Doc" includes="*.ht" />
|
||||
- </delete>
|
||||
+ <target name="doc" depends="compile">
|
||||
+ <echo message="Functionality removed by gentoo patch" />
|
||||
</target>
|
||||
|
||||
|
||||
<!-- javadoc -->
|
||||
- <target name="javadoc" depends="compile" if="full-build">
|
||||
+ <target name="javadoc" depends="compile">
|
||||
<javadoc sourcepath="${source.dir}"
|
||||
destdir="${apidoc.dir}"
|
||||
source="${jdk.source.version}"
|
||||
@@ -588,7 +567,7 @@
|
||||
|
||||
|
||||
<!-- copy for full distribution -->
|
||||
- <target name="copy-full" if="full-build">
|
||||
+ <target name="copy-full">
|
||||
<!-- Misc files -->
|
||||
<echo>copy misc files from ${jython.base.dir}</echo>
|
||||
<copy todir="${dist.dir}" preservelastmodified="true">
|
||||
@@ -599,7 +578,7 @@
|
||||
|
||||
<!-- copy the CPython license -->
|
||||
<echo>copy CPython LICENSE from ${svn.checkout.dir}/python</echo>
|
||||
- <copy file="${svn.checkout.dir}/python/LICENSE" tofile="${dist.dir}/LICENSE_CPython.txt" preservelastmodified="true" />
|
||||
+ <copy file="${python.lib}/../LICENSE" tofile="${dist.dir}/LICENSE_CPython.txt" preservelastmodified="true" />
|
||||
|
||||
<!-- sources: todir has to correspond with installer/**/JarInstaller.java -->
|
||||
<echo>copy sources from ${jython.base.dir}</echo>
|
@ -0,0 +1,135 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jython/jython-2.2.1-r2.ebuild,v 1.1 2012/09/27 14:47:27 sera Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
JAVA_PKG_IUSE="readline source doc servletapi mysql postgres examples oracle"
|
||||
#jdnc
|
||||
|
||||
inherit base java-pkg-2 java-ant-2
|
||||
|
||||
MY_PV="installer-2.2.1"
|
||||
PYVER="2.2.3"
|
||||
|
||||
DESCRIPTION="An implementation of Python written in Java"
|
||||
HOMEPAGE="http://www.jython.org"
|
||||
SRC_URI="http://www.python.org/ftp/python/${PYVER%_*}/Python-${PYVER}.tgz
|
||||
mirror://sourceforge/${PN}/${PN}_${MY_PV}.jar"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="
|
||||
dev-java/jakarta-oro:2.0
|
||||
readline? ( >=dev-java/libreadline-java-0.8.0:0 )
|
||||
mysql? ( >=dev-java/jdbc-mysql-3.1:0 )
|
||||
postgres? ( dev-java/jdbc-postgresql:0 )
|
||||
oracle? ( dev-java/jdbc-oracle-bin:10.2 )
|
||||
servletapi? ( java-virtuals/servlet-api:2.5 )
|
||||
!<=dev-java/freemarker-2.3.10"
|
||||
RDEPEND="${CDEPEND}
|
||||
>=virtual/jre-1.5"
|
||||
DEPEND="${CDEPEND}
|
||||
>=virtual/jdk-1.5
|
||||
dev-java/javacc"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
#Tests currently very broken. Need to investigate whether that
|
||||
#is jython's or gentoo's doing.
|
||||
RESTRICT="test"
|
||||
|
||||
java_prepare() {
|
||||
epatch "${FILESDIR}/${P}-build.xml.patch"
|
||||
|
||||
rm -Rfv org || die "Unable to remove class files."
|
||||
find . -iname '*.jar' | xargs rm -fv || die "Unable to remove bundled jars"
|
||||
|
||||
echo javacc.jar="$(java-pkg_getjars --build-only javacc)" > ant.properties
|
||||
|
||||
if use readline; then
|
||||
echo "readline.jar=$(java-pkg_getjars libreadline-java)" >> \
|
||||
ant.properties
|
||||
fi
|
||||
if use servletapi; then
|
||||
echo "servlet.jar=$(java-pkg_getjar --virtual servlet-api-2.5 servlet-api.jar)" \
|
||||
>> ant.properties
|
||||
fi
|
||||
if use mysql; then
|
||||
echo "mysql.jar=$(java-pkg_getjar jdbc-mysql jdbc-mysql.jar)" \
|
||||
>> ant.properties
|
||||
fi
|
||||
|
||||
if use postgres; then
|
||||
echo \
|
||||
"postgresql.jar=$(java-pkg_getjar jdbc-postgresql jdbc-postgresql.jar)"\
|
||||
>> ant.properties
|
||||
fi
|
||||
|
||||
if use oracle; then
|
||||
echo \
|
||||
"oracle.jar=$(java-pkg-getjar jdbc-oracle-bin-10.2 ojdbc14.jar)" \
|
||||
>> ant.properties
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local antflags="-Dbase.path=src/java -Dsource.dir=src/java/src"
|
||||
local pylib="Python-${PYVER}/Lib"
|
||||
antflags="${antflags} -Dpython.lib=${pylib} -Dsvn.checkout.dir=."
|
||||
LC_ALL=C eant ${antflags} developer-build $(use_doc javadoc)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local antflags="-Dbase.path=src/java -Dsource.dir=src/java/src"
|
||||
antflags="${antflags} -Dpython.home=dist"
|
||||
local pylib="Python-${PYVER}/Lib"
|
||||
antflags="${antflags} -Dpython.lib=${pylib}"
|
||||
eant ${antflags} bugtest
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "dist/${PN}.jar"
|
||||
|
||||
dodoc README.txt NEWS ACKNOWLEDGMENTS
|
||||
use doc && dohtml -A .css .jpg .gif -r Doc/*
|
||||
|
||||
local java_args="-Dpython.home=/usr/share/jython"
|
||||
java_args="${java_args} -Dpython.cachedir=\${HOME}/.jythoncachedir"
|
||||
|
||||
java-pkg_dolauncher jythonc \
|
||||
--main "org.python.util.jython" \
|
||||
--java_args "${java_args}" \
|
||||
--pkg_args "${java_args} /usr/share/jython/tools/jythonc/jythonc.py"
|
||||
|
||||
java-pkg_dolauncher jython \
|
||||
--main "org.python.util.jython" \
|
||||
--pkg_args "${java_args}"
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins -r dist/Lib registry
|
||||
|
||||
insinto /usr/share/${PN}/tools
|
||||
doins -r dist/Tools/*
|
||||
|
||||
use doc && java-pkg_dojavadoc dist/Doc/javadoc
|
||||
use source && java-pkg_dosrc src
|
||||
use examples && java-pkg_doexamples dist/Demo/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use readline; then
|
||||
elog "To use readline you need to add the following to your registry"
|
||||
elog
|
||||
elog "python.console=org.python.util.ReadlineConsole"
|
||||
elog "python.console.readlinelib=GnuReadline"
|
||||
elog
|
||||
elog "The global registry can be found in /usr/share/${PN}/registry"
|
||||
elog "User registry in \$HOME/.jython"
|
||||
elog "See http://www.jython.org/docs/registry.html for more information"
|
||||
elog ""
|
||||
fi
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/lucene-2.3.2-r2.ebuild,v 1.1 2012/09/27 16:01:26 sera Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
JAVA_PKG_BSFIX_ALL="no"
|
||||
JAVA_PKG_BSFIX_NAME="build.xml common-build.xml"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="High-performance, full-featured text search engine written entirely in Java"
|
||||
HOMEPAGE="http://lucene.apache.org"
|
||||
# when doing version bump, SRC_URI of the previous version should most probably
|
||||
# be changed to java/archive/ !
|
||||
SRC_URI="mirror://apache/lucene/java/${P}-src.tar.gz"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="2.3"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
dev-java/ant-nodeps
|
||||
dev-java/javacc
|
||||
test? ( dev-java/ant-junit =dev-java/junit-3* )"
|
||||
RDEPEND=">=virtual/jdk-1.5"
|
||||
|
||||
src_compile() {
|
||||
# regenerate javacc files just because we can
|
||||
# put javacc.jar on ant's classpath here even when <javacc> task
|
||||
# doesn't use it - it's to fool the <available> test, first time
|
||||
# it's useful not to have ignoresystemclasses=true...
|
||||
ANT_TASKS="ant-nodeps javacc" eant \
|
||||
-Djavacc.home="${EPREFIX}"/usr/share/javacc/lib javacc
|
||||
ANT_TASKS="none" eant -Dversion=${PV} jar-core jar-demo $(use_doc javadocs-core javadocs-demo)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-ant_rewrite-classpath common-build.xml
|
||||
EANT_GENTOO_CLASSPATH="junit ant-core" ANT_TASKS="ant-junit" eant test-core
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc CHANGES.txt README.txt || die
|
||||
java-pkg_newjar build/${PN}-core-${PV}.jar ${PN}-core.jar
|
||||
java-pkg_newjar build/${PN}-demos-${PV}.jar ${PN}-demos.jar
|
||||
|
||||
if use doc; then
|
||||
dohtml -r docs/* || die
|
||||
# for the core and demo subdirs
|
||||
java-pkg_dohtml -r build/docs/api
|
||||
fi
|
||||
use source && java-pkg_dosrc src/java/org
|
||||
}
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/lucene-2.4.1-r1.ebuild,v 1.1 2012/09/27 16:01:26 sera Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
JAVA_PKG_BSFIX_ALL="no"
|
||||
JAVA_PKG_BSFIX_NAME="build.xml common-build.xml"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="High-performance, full-featured text search engine written entirely in Java"
|
||||
HOMEPAGE="http://lucene.apache.org"
|
||||
# when doing version bump, SRC_URI of the previous version should most probably
|
||||
# be changed to java/archive/ !
|
||||
SRC_URI="mirror://apache/lucene/java/${P}-src.tar.gz"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="2.4"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
dev-java/ant-nodeps
|
||||
dev-java/javacc
|
||||
test? ( dev-java/ant-junit =dev-java/junit-3* )"
|
||||
RDEPEND=">=virtual/jdk-1.5"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/-Xmax/ d' common-build.xml
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# regenerate javacc files just because we can
|
||||
# put javacc.jar on ant's classpath here even when <javacc> task
|
||||
# doesn't use it - it's to fool the <available> test, first time
|
||||
# it's useful not to have ignoresystemclasses=true...
|
||||
ANT_TASKS="ant-nodeps javacc" eant \
|
||||
-Djavacc.home="${EPREFIX}"/usr/share/javacc/lib javacc
|
||||
ANT_TASKS="none" eant -Dversion=${PV} jar-core jar-demo $(use_doc javadocs-core javadocs-demo)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-ant_rewrite-classpath common-build.xml
|
||||
EANT_GENTOO_CLASSPATH="junit ant-core" ANT_TASKS="ant-junit" eant test-core
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc CHANGES.txt README.txt || die
|
||||
java-pkg_newjar build/${PN}-core-${PV}.jar ${PN}-core.jar
|
||||
java-pkg_newjar build/${PN}-demos-${PV}.jar ${PN}-demos.jar
|
||||
|
||||
if use doc; then
|
||||
dohtml -r docs/* || die
|
||||
# for the core and demo subdirs
|
||||
java-pkg_dohtml -r build/docs/api
|
||||
fi
|
||||
use source && java-pkg_dosrc src/java/org
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/mg4j/mg4j-0.9.1-r2.ebuild,v 1.1 2012/09/27 17:15:57 sera Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="A free Java implementation of inverted-index compression technique."
|
||||
SRC_URI="http://mg4j.dsi.unimi.it/${P}-src.tar.gz"
|
||||
HOMEPAGE="http://mg4j.dsi.unimi.it"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0.9"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/colt:0
|
||||
dev-java/fastutil:4.3
|
||||
dev-java/jal:0
|
||||
dev-java/java-getopt:1
|
||||
dev-java/libreadline-java:0"
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.5"
|
||||
DEPEND="${COMMON_DEP}
|
||||
>=virtual/jdk-1.5
|
||||
dev-java/javacc:0"
|
||||
|
||||
java_prepare() {
|
||||
epatch "${FILESDIR}/mg4j-build.patch"
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
|
||||
EANT_GENTOO_CLASSPATH="colt,fastutil-4.3,jal,java-getopt-1,libreadline-java"
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar ${P}.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc docs
|
||||
use source && java-pkg_dosrc java/it
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/ognl/ognl-2.6.9-r2.ebuild,v 1.1 2012/09/27 18:57:27 sera Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Object-Graph Navigation Language"
|
||||
HOMEPAGE="http://www.ognl.org/"
|
||||
SRC_URI="http://www.ognl.org/${PV}/${P}-dist.zip
|
||||
https://ognl.dev.java.net/source/browse/*checkout*/ognl/osbuild.xml"
|
||||
|
||||
LICENSE="OpenSymphony-1.1"
|
||||
SLOT="2.6"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.4"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
cp "${DISTDIR}/osbuild.xml" "${S}/" || die
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
find -name '*.jar' -exec rm -v {} + || die
|
||||
}
|
||||
|
||||
EANT_DOC_TARGET="javadocs"
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar build/${P}.jar ${PN}.jar
|
||||
use doc && java-pkg_dohtml -r dist/docs/api
|
||||
use source && java-pkg_dosrc src/java/*
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/xjavadoc/xjavadoc-1.1-r2.ebuild,v 1.1 2012/09/27 19:16:46 sera Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
JAVA_PKG_IUSE="source"
|
||||
WANT_ANT_TASKS="ant-nodeps"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="A standalone implementation of JavaDoc engine suited for XDoclet"
|
||||
HOMEPAGE="http://xdoclet.sourceforge.net/xjavadoc/"
|
||||
SRC_URI="mirror://sourceforge/xdoclet/${P}-src.tar.gz
|
||||
mirror://gentoo/${P}-supplement.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-java/commons-collections:0
|
||||
dev-java/junit:0"
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEPEND}"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
dev-java/javacc
|
||||
${COMMON_DEPEND}"
|
||||
|
||||
java_prepare() {
|
||||
# remove the junit tests, would need xdoclet, causing circular dep
|
||||
epatch "${FILESDIR}"/${P}-nojunit.patch
|
||||
|
||||
cd "${S}"/lib || die
|
||||
rm -v *.jar || die
|
||||
java-pkg_jar-from commons-collections,junit
|
||||
java-pkg_jar-from --build-only javacc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar target/${PN}.jar
|
||||
use source && java-pkg_dosrc src/*
|
||||
}
|
@ -1 +1 @@
|
||||
DIST libusbx-1.0.13.tar.bz2 431599 SHA256 23ac39e5f46527d666c5be16cdddcd97aa3214e876f2a6f9c0a386eec3b00d57 SHA512 d26dec352c05d44e8f8f34bb8e64be661cfedb61c855b8531276d74b7ce630920020c57c9eb57da6552123c096e0a0b4740e8a66d33dae3cf86a15ee88c97beb WHIRLPOOL c14933da3e29ae5ef06d446bbca852af37cacbc45d6265634c70f6cc97875d71e291a46ca00115e94e79a725598f905c86eeea832079d11e146cc22e4ce38512
|
||||
DIST libusbx-1.0.14.tar.bz2 432611 SHA256 5f17994d119d9efd5f68434994fd5a8e6d9072cee27085b00776fc9ae73fa25a SHA512 a03eafe1a102a6dd532bbe758878bd92548ed367c39909c6e8fde205c145b9581405011379fa5e031df53e208feb54d9f4886039fab6e261c8ca27ceec69b45d WHIRLPOOL e2fa2b2b3ccc7464b40df7b188949893ca640767fd3fc2748d9fa8cb672383834b0e9d5c3c41037728603073fcb382ee0079760cb0f664079de85bb03824187d
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusbx/libusbx-1.0.13.ebuild,v 1.1 2012/09/21 02:26:08 radhermit Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusbx/libusbx-1.0.14.ebuild,v 1.1 2012/09/27 11:32:42 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-conch/twisted-conch-12.2.0.ebuild,v 1.1 2012/09/27 18:15:49 marienz Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
|
||||
MY_PACKAGE="Conch"
|
||||
|
||||
inherit twisted versionator
|
||||
|
||||
DESCRIPTION="Twisted SSHv2 implementation"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="=dev-python/twisted-$(get_version_component_range 1-2)*
|
||||
dev-python/pyasn1
|
||||
dev-python/pycrypto"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PYTHON_MODNAME="twisted/conch twisted/plugins"
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
|
||||
if [[ "${EUID}" -eq 0 ]]; then
|
||||
# Disable tests failing with root permissions.
|
||||
sed -e "s/test_checkKeyAsRoot/_&/" -i twisted/conch/test/test_checkers.py
|
||||
sed -e "s/test_getPrivateKeysAsRoot/_&/" -i twisted/conch/test/test_openssh_compat.py
|
||||
fi
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-lore/twisted-lore-12.2.0.ebuild,v 1.1 2012/09/27 18:16:07 marienz Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
MY_PACKAGE="Lore"
|
||||
|
||||
inherit twisted versionator
|
||||
|
||||
DESCRIPTION="Twisted documentation system"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="=dev-python/twisted-$(get_version_component_range 1-2)*
|
||||
=dev-python/twisted-web-$(get_version_component_range 1-2)*"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PYTHON_MODNAME="twisted/lore twisted/plugins"
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-mail/twisted-mail-12.2.0.ebuild,v 1.1 2012/09/27 18:16:26 marienz Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
MY_PACKAGE="Mail"
|
||||
|
||||
inherit twisted versionator
|
||||
|
||||
DESCRIPTION="A Twisted Mail library, server and client"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="=dev-python/twisted-$(get_version_component_range 1-2)*
|
||||
=dev-python/twisted-names-$(get_version_component_range 1-2)*"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PYTHON_MODNAME="twisted/mail twisted/plugins"
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-names/twisted-names-12.2.0.ebuild,v 1.1 2012/09/27 18:16:45 marienz Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
MY_PACKAGE="Names"
|
||||
|
||||
inherit twisted versionator
|
||||
|
||||
DESCRIPTION="A Twisted DNS implementation"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="=dev-python/twisted-$(get_version_component_range 1-2)*"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PYTHON_MODNAME="twisted/names twisted/plugins"
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-news/twisted-news-12.2.0.ebuild,v 1.1 2012/09/27 18:17:04 marienz Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
MY_PACKAGE="News"
|
||||
|
||||
inherit twisted versionator
|
||||
|
||||
DESCRIPTION="Twisted News is an NNTP server and programming library."
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="=dev-python/twisted-$(get_version_component_range 1-2)*
|
||||
=dev-python/twisted-mail-$(get_version_component_range 1-2)*"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PYTHON_MODNAME="twisted/news twisted/plugins"
|
@ -1,2 +1,3 @@
|
||||
DIST TwistedPair-11.1.0.tar.bz2 9141 SHA256 a220a0f44ae2a5d9bf29181c931026948cca3a1088a3b0edf4adf1b5aa2b28cf SHA512 a35c9c804409be684643f4ea8ac6f8d58f5734a04e12fd258a2f416d979017d3785d99b5e85f9bf080a3ba504eed5f5d60dd266d8790eeb3b32390c891aee56f WHIRLPOOL f0cc679e244ca84a9b3ce6649db431cce8155a0260858340d54b80ebd6c1d7fcec2cc2c7c36e73f53bf29b68f77497ccd2b898728571035cc672e4c80f1b0baa
|
||||
DIST TwistedPair-12.0.0.tar.bz2 9154 SHA256 3d3b7e8b764618b0ede57adb72a5affe7de27d858dfb00d81cdd0f49f73106aa SHA512 e94d9eb9b267c140faefef86bb5088e0386a48467c91e60d1f3564092862dc54debf5c8ccfd08021cd74f52f73993c115ade9452d653880e639d5f7dacf1a086 WHIRLPOOL d19466a0b6582256011389ad7d20ed420226799fea2bc4a2f431360429e66e058108bed607bb289ca1638daf2623714fe00f3c7bc206263b4a12292585d8ffba
|
||||
DIST TwistedPair-12.2.0.tar.bz2 9184 SHA256 a795a5dbb0660559aaae441f12736818106ec27283bff3159e42191ee2e00aed SHA512 17594efd6a55554153de28da39ac0d6d8bd78bfe348e7222312f91a8c7d85b42bf54c2aa0ba6022df3f5e6168dd86f38473637d79faa7c2d7ac4873bb4a3b0a2 WHIRLPOOL f18c33c8abe159adc96f6c617f0b671ddee85e7c6c3d4260f88d8babccabb11a01764b02bf9c079d714d44a28f5adf74f0dd68feaee4fed320c44eb619572662
|
||||
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-pair/twisted-pair-12.2.0.ebuild,v 1.1 2012/09/27 18:17:58 marienz Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
MY_PACKAGE="Pair"
|
||||
|
||||
inherit twisted versionator
|
||||
|
||||
DESCRIPTION="Twisted low-level networking"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="=dev-python/twisted-$(get_version_component_range 1-2)*
|
||||
dev-python/eunuchs"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PYTHON_MODNAME="twisted/pair"
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-runner/twisted-runner-12.2.0.ebuild,v 1.1 2012/09/27 18:18:16 marienz Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
MY_PACKAGE="Runner"
|
||||
|
||||
inherit twisted versionator
|
||||
|
||||
DESCRIPTION="Twisted Runner is a process management library and inetd replacement."
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="=dev-python/twisted-$(get_version_component_range 1-2)*"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PYTHON_MODNAME="twisted/runner"
|
||||
|
||||
src_install() {
|
||||
twisted_src_install
|
||||
python_clean_installation_image
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-web/twisted-web-12.2.0.ebuild,v 1.1 2012/09/27 18:18:35 marienz Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
MY_PACKAGE="Web"
|
||||
|
||||
inherit twisted versionator
|
||||
|
||||
DESCRIPTION="Twisted web server, programmable in Python"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="soap"
|
||||
|
||||
DEPEND="=dev-python/twisted-$(get_version_component_range 1-2)*
|
||||
soap? ( dev-python/soappy )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PYTHON_MODNAME="twisted/plugins twisted/web"
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
|
||||
if [[ "${EUID}" -eq 0 ]]; then
|
||||
# Disable tests failing with root permissions.
|
||||
sed -e "s/test_forbiddenResource/_&/" -i twisted/web/test/test_static.py
|
||||
sed -e "s/testDownloadPageError3/_&/" -i twisted/web/test/test_webclient.py
|
||||
fi
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-words/twisted-words-12.2.0.ebuild,v 1.1 2012/09/27 18:18:54 marienz Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
MY_PACKAGE="Words"
|
||||
|
||||
inherit twisted versionator
|
||||
|
||||
DESCRIPTION="Twisted Words contains Instant Messaging implementations."
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="=dev-python/twisted-$(get_version_component_range 1-2)*
|
||||
=dev-python/twisted-web-$(get_version_component_range 1-2)*"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PYTHON_MODNAME="twisted/plugins twisted/words"
|
@ -0,0 +1,15 @@
|
||||
Index: twisted/test/test_strcred.py
|
||||
===================================================================
|
||||
--- twisted/test/test_strcred.py (revision 34525)
|
||||
+++ twisted/test/test_strcred.py (working copy)
|
||||
@@ -352,6 +352,10 @@
|
||||
except ImportError:
|
||||
skip = "PyCrypto is not available"
|
||||
|
||||
+ try:
|
||||
+ from twisted import conch
|
||||
+ except ImportError:
|
||||
+ skip = "Twisted Conch is not available"
|
||||
|
||||
def test_isChecker(self):
|
||||
"""
|
@ -0,0 +1,116 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-12.2.0.ebuild,v 1.1 2012/09/27 18:14:32 marienz Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
# A couple of failures (refcounting, version-checking), but sufficiently
|
||||
# functional to be useful, so restrict just the tests.
|
||||
PYTHON_TESTS_RESTRICTED_ABIS="*-pypy-*"
|
||||
MY_PACKAGE="Core"
|
||||
|
||||
inherit eutils twisted versionator
|
||||
|
||||
DESCRIPTION="An asynchronous networking framework written in Python"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="crypt gtk serial"
|
||||
|
||||
DEPEND="net-zope/zope-interface
|
||||
crypt? ( >=dev-python/pyopenssl-0.10 )
|
||||
gtk? ( dev-python/pygtk:2 )
|
||||
serial? ( dev-python/pyserial )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# Needed to make the sendmsg extension work
|
||||
# (see http://twistedmatrix.com/trac/ticket/5701 )
|
||||
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
|
||||
|
||||
DOCS="CREDITS NEWS README"
|
||||
|
||||
src_prepare(){
|
||||
distutils_src_prepare
|
||||
|
||||
# Give a load-sensitive test a better chance of succeeding.
|
||||
epatch "${FILESDIR}/${PN}-2.1.0-echo-less.patch"
|
||||
|
||||
# Skip a test if twisted conch is not available
|
||||
# (see Twisted ticket #5703)
|
||||
epatch "${FILESDIR}/twisted-12.1.0-remove-tests-conch-dependency.patch"
|
||||
|
||||
# Respect TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE variable.
|
||||
epatch "${FILESDIR}/${PN}-9.0.0-respect_TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE.patch"
|
||||
|
||||
if [[ "${EUID}" -eq 0 ]]; then
|
||||
# Disable tests failing with root permissions.
|
||||
sed \
|
||||
-e "s/test_newPluginsOnReadOnlyPath/_&/" \
|
||||
-e "s/test_deployedMode/_&/" \
|
||||
-i twisted/test/test_plugin.py
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
local exit_status="0"
|
||||
"$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --root="${T}/tests-${PYTHON_ABI}" --no-compile || die "Installation of tests failed with $(python_get_implementation_and_version)"
|
||||
|
||||
pushd "${T}/tests-${PYTHON_ABI}${EPREFIX}$(python_get_sitedir)" > /dev/null || die
|
||||
|
||||
# Skip broken tests.
|
||||
sed -e "s/test_buildAllTarballs/_&/" -i twisted/python/test/test_release.py || die "sed failed"
|
||||
|
||||
# http://twistedmatrix.com/trac/ticket/5375
|
||||
sed -e "/class ZshIntegrationTestCase/,/^$/d" -i twisted/scripts/test/test_scripts.py || die "sed failed"
|
||||
|
||||
# tap2rpm is already skipped if rpm is not installed, but fails for me on a Gentoo box with it present.
|
||||
# I currently lack the cycles to track this failure down.
|
||||
rm twisted/scripts/test/test_tap2rpm.py
|
||||
|
||||
# Prevent it from pulling in plugins from already installed twisted packages.
|
||||
rm -f twisted/plugins/__init__.py
|
||||
|
||||
# An empty file doesn't work because the tests check for doc strings in all packages.
|
||||
echo "'''plugins stub'''" > twisted/plugins/__init__.py || die
|
||||
|
||||
if ! PYTHONPATH="." "${T}/tests-${PYTHON_ABI}${EPREFIX}/usr/bin/trial" twisted; then
|
||||
if [[ -n "${TWISTED_DEBUG_TESTS}" ]]; then
|
||||
die "Tests failed with $(python_get_implementation_and_version)"
|
||||
else
|
||||
exit_status="1"
|
||||
fi
|
||||
fi
|
||||
|
||||
popd > /dev/null || die
|
||||
return "${exit_status}"
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
python_clean_installation_image
|
||||
|
||||
python_generate_wrapper_scripts -E -f -q "${ED}usr/bin/trial"
|
||||
|
||||
postinstallational_preparation() {
|
||||
touch "${ED}$(python_get_sitedir)/Twisted-${PV}-py$(python_get_version).egg-info"
|
||||
|
||||
# Delete dropin.cache to avoid collisions.
|
||||
# dropin.cache is regenerated in pkg_postinst().
|
||||
rm -f "${ED}$(python_get_sitedir)/twisted/plugins/dropin.cache"
|
||||
}
|
||||
python_execute_function -q postinstallational_preparation
|
||||
|
||||
# Don't install index.xhtml page.
|
||||
doman doc/man/*.?
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r $(find doc -mindepth 1 -maxdepth 1 -not -name man)
|
||||
|
||||
newconfd "${FILESDIR}/twistd.conf" twistd
|
||||
newinitd "${FILESDIR}/twistd.init" twistd
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue