parent
11a6da6ba6
commit
32bb81ec58
@ -1,11 +0,0 @@
|
||||
--- a/python-updater 2011-08-29 07:20:35.000000000 +0000
|
||||
+++ b/python-updater 2011-08-29 07:21:08.000000000 +0000
|
||||
@@ -61,6 +61,8 @@
|
||||
EBUILD="1"
|
||||
source /etc/init.d/functions.sh
|
||||
|
||||
+PATH=/usr/lib/portage/bin/ebuild-helpers:$PATH
|
||||
+
|
||||
# portage variables
|
||||
PKG_DBDIR=/var/db/pkg
|
||||
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/python-updater/python-updater-0.10-r1.ebuild,v 1.1 2012/03/02 16:00:16 naota Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
inherit subversion
|
||||
fi
|
||||
|
||||
DESCRIPTION="Script used to reinstall Python packages after changing of active Python versions"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/Python/"
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
SRC_URI=""
|
||||
ESVN_REPO_URI="https://gentoo-progress.googlecode.com/svn/projects/python-updater/trunk"
|
||||
else
|
||||
SRC_URI="http://people.apache.org/~Arfrever/gentoo/${P}.tar.bz2"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="$([[ "${PV}" == "9999" ]] && echo "sys-apps/help2man")"
|
||||
RDEPEND="dev-lang/python
|
||||
|| ( >=sys-apps/portage-2.1.6 >=sys-apps/paludis-0.56.0 )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-expand-aliases.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
emake ${PN}.1 || die "Generation of man page failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin ${PN} || die "dosbin failed"
|
||||
doman ${PN}.1 || die "doman failed"
|
||||
dodoc AUTHORS || die "dodoc failed"
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/python-updater/python-updater-0.9-r1.ebuild,v 1.1 2011/08/29 10:28:31 naota Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Script used to reinstall Python packages after changing of active Python versions"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/Python"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-lang/python
|
||||
|| ( >=sys-apps/portage-2.1.6 >=sys-apps/paludis-0.56.0 )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-sed.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin ${PN} || die "dosbin failed"
|
||||
doman ${PN}.1 || die "doman failed"
|
||||
dodoc AUTHORS || die "dodoc failed"
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/python-updater/python-updater-0.9.ebuild,v 1.10 2011/08/06 16:59:42 hwoarang Exp $
|
||||
|
||||
DESCRIPTION="Script used to reinstall Python packages after changing of active Python versions"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/Python"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-lang/python
|
||||
|| ( >=sys-apps/portage-2.1.6 >=sys-apps/paludis-0.56.0 )"
|
||||
|
||||
src_install() {
|
||||
dosbin ${PN} || die "dosbin failed"
|
||||
doman ${PN}.1 || die "doman failed"
|
||||
dodoc AUTHORS || die "dodoc failed"
|
||||
}
|
@ -0,0 +1,156 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/spideroak-bin/spideroak-bin-4.5.9941.ebuild,v 1.1 2012/05/29 01:35:36 blueness Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils versionator
|
||||
|
||||
REV=$(get_version_component_range 3)
|
||||
SRC_URI_BASE="https://spideroak.com/directdownload?platform=ubuntulucid"
|
||||
|
||||
DESCRIPTION="An easy, secure and consolidated free online backup, storage, access and sharing system."
|
||||
HOMEPAGE="https://spideroak.com"
|
||||
SRC_URI="x86? ( ${SRC_URI_BASE}&arch=i386&revision=${REV} -> ${P}_x86.deb )
|
||||
amd64? ( ${SRC_URI_BASE}&arch=x86_64&revision=${REV} -> ${P}_amd64.deb )"
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
LICENSE="spideroak"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="dbus headless system-libs"
|
||||
|
||||
SSL_SLOT="0.9.8"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
dbus? ( sys-apps/dbus )
|
||||
!headless? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
dev-libs/glib:2
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXt
|
||||
)
|
||||
system-libs? (
|
||||
dev-libs/openssl:$SSL_SLOT
|
||||
net-misc/curl
|
||||
>=sys-devel/gcc-4
|
||||
dev-libs/glib:2
|
||||
dev-libs/libpcre
|
||||
media-libs/libpng:1.2
|
||||
x11-libs/qt-core
|
||||
x11-libs/qt-gui
|
||||
dev-db/sqlite:3
|
||||
net-libs/libssh2
|
||||
sys-libs/zlib
|
||||
dev-lang/python:2.7
|
||||
dev-python/pycurl
|
||||
)
|
||||
"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
unpack ./data.tar.gz
|
||||
rm -f control.tar.gz data.tar.gz debian-binary
|
||||
rm -f usr/share/doc/spideroak/copyright
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/opt-path.patch
|
||||
use headless && epatch "${FILESDIR}"/headless.patch
|
||||
|
||||
# Remove bundled libraries/plugins/python interpreter. Please keep this
|
||||
# mapping in sync with the RDEPEND system-libs? ( atoms ) above, and the
|
||||
# list of deleted files below
|
||||
#
|
||||
# libcrypto.so.0.$SSL_SLOT => dev-libs/openssl:$SSL_SLOT
|
||||
# libssl.so.$SSL_SLOT => dev-libs/openssl:$SSL_SLOT
|
||||
# libcurl.so* => net-misc/curl
|
||||
# libexpat.so* => dev-libs/expat
|
||||
# libgcc_s.so => >=sys-devel/gcc-4
|
||||
# libstdc++.so* => >=sys-devel/gcc-4
|
||||
# libpcre.so* => dev-libs/libpcre
|
||||
# libpng12* => media-libs/libpng:1.2
|
||||
# libQt*.so* => x11-libs/qt-core x11-libs/qt-gui
|
||||
# libsqlite3.so* => dev-db/sqlite:3
|
||||
# libssh2.so* => net-libs/libssh2
|
||||
# libz.so* => sys-libs/zlib
|
||||
#
|
||||
# pycurl.so => dev-python/pycurl
|
||||
#
|
||||
# usr/lib/SpiderOak/py pyexpat.so => dev-lang/python:2.7
|
||||
#
|
||||
if use system-libs; then
|
||||
for lib in \
|
||||
libcrypto.so.$SSL_SLOT \
|
||||
libssl.so.$SSL_SLOT \
|
||||
libcurl.so* \
|
||||
libexpat.so* \
|
||||
libgcc_s.so* \
|
||||
libpcre.so* \
|
||||
libpng12* \
|
||||
libQt*.so* \
|
||||
libsqlite3.so* \
|
||||
libssh2.so* \
|
||||
libstdc++.so* \
|
||||
libz.so* \
|
||||
pycurl.so \
|
||||
pyexpat.so
|
||||
do
|
||||
rm usr/lib/SpiderOak/$lib || die "rm $lib failed"
|
||||
done
|
||||
|
||||
# Remove bundled python interpreter => dev-lang/python:2.7
|
||||
rm usr/lib/SpiderOak/py || die "rm py failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
#install the executable script
|
||||
exeinto /usr/bin
|
||||
doexe usr/bin/SpiderOak
|
||||
|
||||
#install the prebundled libraries
|
||||
dodir /opt
|
||||
cp -pPR usr/lib/SpiderOak "${ED}"/opt/
|
||||
|
||||
#install the config files
|
||||
rm -rf etc/apt
|
||||
use dbus || rm -rf etc/dbus-1
|
||||
insinto /
|
||||
doins -r etc
|
||||
|
||||
#install the changelog
|
||||
insinto /usr/share/doc/${P}
|
||||
doins usr/share/doc/spideroak/changelog.gz
|
||||
|
||||
if ! use headless ; then
|
||||
domenu usr/share/applications/spideroak.desktop
|
||||
doicon usr/share/pixmaps/spideroak.png
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use headless; then
|
||||
einfo "For instructions on running SpiderOak without a GUI, please read the FAQ:"
|
||||
einfo " https://spideroak.com/faq/questions/62/how_do_i_install_spideroak_on_a_headless_linux_server/"
|
||||
einfo " https://spideroak.com/faq/questions/67/how_can_i_use_spideroak_from_the_commandline/"
|
||||
fi
|
||||
if use system-libs; then
|
||||
einfo "You have chosen to use your system libraries rather than the precompiled libraries that"
|
||||
einfo "SpiderOak bundles with their software. While upstream discourages this (see bug #398313),"
|
||||
einfo "there are advantages to using the system libraries, like reducing the size of the package"
|
||||
einfo "on your hard drive. For more reasons why bundled librars are not a good idea, see"
|
||||
einfo " https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries"
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST gentoo-syntax-20101212.tar.bz2 18927 RMD160 f17bc03506037dd1c5236ec97a3292b4a4e65f5a SHA1 a1d29bb9cc93b1307ef4c665127d4fceacfa363d SHA256 70bb59acb00a726941e43d8f99d63ee9feb9335de9eb6d36e66917f2a2d3416f
|
||||
DIST gentoo-syntax-20120109.tar.bz2 19526 RMD160 17630802e8bc1c59be9e2d37b11e7584a9c99d1d SHA1 b2d478ce3646ea8126ea9c25e5223b4d2e810744 SHA256 dabab1a569ec84286d15feb93652f044888d92c0e0c8c1f298f8dec80fcab4c5
|
||||
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/gentoo-syntax/gentoo-syntax-20101212.ebuild,v 1.3 2011/05/03 09:34:13 grobian Exp $
|
||||
|
||||
inherit eutils vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: Gentoo Ebuild, Eclass, GLEP, ChangeLog and Portage Files syntax highlighting, filetype and indent settings"
|
||||
HOMEPAGE="http://www.gentoo.org/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
|
||||
LICENSE="vim"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="ignore-glep31"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="gentoo-syntax"
|
||||
VIM_PLUGIN_MESSAGES="filetype"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
if use ignore-glep31 ; then
|
||||
for f in ftplugin/*.vim ; do
|
||||
ebegin "Removing UTF-8 rules from ${f} ..."
|
||||
sed -i -e 's~\(setlocal fileencoding=utf-8\)~" \1~' ${f} \
|
||||
|| die "waah! bad sed voodoo. need more goats."
|
||||
eend $?
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
vim-plugin_pkg_postinst
|
||||
if use ignore-glep31 1>/dev/null ; then
|
||||
ewarn "You have chosen to disable the rules which ensure GLEP 31"
|
||||
ewarn "compliance. When editing ebuilds, please make sure you get"
|
||||
ewarn "the character set correct."
|
||||
else
|
||||
elog "Note for developers and anyone else who edits ebuilds:"
|
||||
elog " This release of gentoo-syntax now contains filetype rules to set"
|
||||
elog " fileencoding for ebuilds and ChangeLogs to utf-8 as per GLEP 31."
|
||||
elog " If you find this feature breaks things, please submit a bug and"
|
||||
elog " assign it to vim@gentoo.org. You can use the 'ignore-glep31' USE"
|
||||
elog " flag to remove these rules."
|
||||
fi
|
||||
echo
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST jnr-netdb-1.0.1.tar.gz 670834 RMD160 260fef6628e1ba0625fa2c0c2d32fddbb69ab1d5 SHA1 28ce799420e72468a686c028f5fc0a3c9266ef6b SHA256 654360f56c4a0131df293b6dcaa96618dfa9ded549180284dbaa20e6305d8906
|
||||
DIST jnr-netdb-1.0.6.tar.gz 648348 RMD160 e21101e0c9720d7d218e9fa460c208dfe6fa3c85 SHA1 0d63eeea1b66bd3d153575e182eb32c0000b35ba SHA256 097d621cc5ac8550e1b1bcafc034bfadd9a7a307f7133b7b7fe5ffdf38782c4f
|
||||
|
@ -0,0 +1,231 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
|
||||
<!-- ====================================================================== -->
|
||||
<!-- -->
|
||||
<!-- Any modifications will be overwritten. -->
|
||||
<!-- -->
|
||||
<!-- Generated by Maven Ant Plugin on 5/28/12 5:31 PM -->
|
||||
<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
|
||||
<!-- -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<project name="jnr-netdb-from-maven" default="package" basedir=".">
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Build environment properties -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<property file="maven-build.properties"/>
|
||||
|
||||
<property name="maven.build.finalName" value="jnr-netdb"/>
|
||||
<property name="maven.build.dir" value="target"/>
|
||||
<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
|
||||
<property name="maven.build.srcDir.0" value="src/main/java"/>
|
||||
<property name="maven.build.resourceDir.0" value="src/main/resources"/>
|
||||
<property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
|
||||
<property name="maven.build.testDir.0" value="src/test/java"/>
|
||||
<property name="maven.build.testResourceDir.0" value="src/test/resources"/>
|
||||
<property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
|
||||
<property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
|
||||
|
||||
<property name="maven.settings.offline" value="false"/>
|
||||
<property name="maven.settings.interactiveMode" value="true"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Defining classpaths -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<path id="build.classpath">
|
||||
</path>
|
||||
<path id="build.test.classpath">
|
||||
</path>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Cleaning up target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="clean" description="Clean the output directory">
|
||||
<delete dir="${maven.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile" depends="get-deps" description="Compile the code">
|
||||
<mkdir dir="${maven.build.outputDir}"/>
|
||||
<javac destdir="${maven.build.outputDir}"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.1"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.3">
|
||||
<src>
|
||||
<pathelement location="${maven.build.srcDir.0}"/>
|
||||
</src>
|
||||
<classpath refid="build.classpath"/>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Test-compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile-tests"
|
||||
depends="compile"
|
||||
description="Compile the test code"
|
||||
unless="maven.test.skip">
|
||||
<mkdir dir="${maven.build.testOutputDir}"/>
|
||||
<javac destdir="${maven.build.testOutputDir}"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.1"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.3">
|
||||
<src>
|
||||
<pathelement location="${maven.build.testDir.0}"/>
|
||||
</src>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
</classpath>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Run all tests -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test"
|
||||
depends="compile-tests, junit-missing"
|
||||
unless="junit.skipped"
|
||||
description="Run the test cases">
|
||||
<mkdir dir="${maven.test.reports}"/>
|
||||
<junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
|
||||
<sysproperty key="basedir" value="."/>
|
||||
<formatter type="xml"/>
|
||||
<formatter type="plain" usefile="false"/>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
<pathelement location="${maven.build.testOutputDir}"/>
|
||||
</classpath>
|
||||
<batchtest todir="${maven.test.reports}" unless="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/Test*.java"/>
|
||||
<include name="**/*Test.java"/>
|
||||
<include name="**/*TestCase.java"/>
|
||||
<exclude name="**/*Abstract*Test.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
<batchtest todir="${maven.test.reports}" if="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/${test}.java"/>
|
||||
<exclude name="**/*Abstract*Test.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
</junit>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-present">
|
||||
<available classname="junit.framework.Test" property="junit.present"/>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-status"
|
||||
depends="test-junit-present">
|
||||
<condition property="junit.missing">
|
||||
<and>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<isfalse value="${maven.test.skip}"/>
|
||||
</and>
|
||||
</condition>
|
||||
<condition property="junit.skipped">
|
||||
<or>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<istrue value="${maven.test.skip}"/>
|
||||
</or>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="junit-missing"
|
||||
depends="test-junit-status"
|
||||
if="junit.missing">
|
||||
<echo>=================================== WARNING ===================================</echo>
|
||||
<echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
|
||||
<echo>===============================================================================</echo>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Javadoc target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="javadoc" description="Generates the Javadoc of the application">
|
||||
<javadoc sourcepath="${maven.build.srcDir.0}"
|
||||
packagenames="*"
|
||||
destdir="${maven.reporting.outputDirectory}/apidocs"
|
||||
access="protected"
|
||||
old="false"
|
||||
verbose="false"
|
||||
version="true"
|
||||
use="true"
|
||||
author="true"
|
||||
splitindex="false"
|
||||
nodeprecated="false"
|
||||
nodeprecatedlist="false"
|
||||
notree="false"
|
||||
noindex="false"
|
||||
nohelp="false"
|
||||
nonavbar="false"
|
||||
serialwarn="false"
|
||||
charset="ISO-8859-1"
|
||||
linksource="false"
|
||||
breakiterator="false"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Package target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="package" depends="compile,test" description="Package the application">
|
||||
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
|
||||
compress="true"
|
||||
index="false"
|
||||
basedir="${maven.build.outputDir}"
|
||||
excludes="**/package.html"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- A dummy target for the package named after the type it creates -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="jar" depends="package" description="Builds the jar for the application"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Download dependencies target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test-offline">
|
||||
<condition property="maven.mode.offline">
|
||||
<equals arg1="${maven.settings.offline}" arg2="true"/>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="get-deps"
|
||||
depends="test-offline"
|
||||
description="Download all dependencies"
|
||||
unless="maven.mode.offline">
|
||||
</target>
|
||||
|
||||
</project>
|
@ -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/jnr-netdb/jnr-netdb-1.0.6.ebuild,v 1.1 2012/05/28 17:55:54 sera Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 vcs-snapshot
|
||||
|
||||
DESCRIPTION="Network services database access for java."
|
||||
HOMEPAGE="https://github.com/jnr/jnr-netdb"
|
||||
SRC_URI="https://github.com/jnr/${PN}/tarball/${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="1.0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/jnr-ffi:0.7"
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.5"
|
||||
DEPEND="${COMMON_DEP}
|
||||
>=virtual/jdk-1.5
|
||||
test? (
|
||||
dev-java/ant-junit
|
||||
dev-java/junit:4
|
||||
)"
|
||||
|
||||
java_prepare() {
|
||||
find -name '*.jar' -exec rm -v {} + || die
|
||||
|
||||
cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
JAVA_ANT_CLASSPATH_TAGS="${JAVA_ANT_CLASSPATH_TAGS} javadoc"
|
||||
JAVA_ANT_ENCODING="UTF-8"
|
||||
|
||||
EANT_GENTOO_CLASSPATH="jnr-ffi-0.7"
|
||||
|
||||
EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4"
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar target/${PN}.jar
|
||||
dodoc README
|
||||
|
||||
use doc && java-pkg_dojavadoc target/site/apidocs
|
||||
use source && java-pkg_dosrc src/main/java/*
|
||||
}
|
@ -0,0 +1,106 @@
|
||||
# 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-3.4.0.ebuild,v 1.1 2012/05/28 23:21:36 robbat2 Exp $
|
||||
|
||||
EAPI="3"
|
||||
JAVA_PKG_IUSE="doc source test contrib"
|
||||
JAVA_PKG_BSFIX_ALL="no"
|
||||
JAVA_PKG_BSFIX_NAME="build.xml common-build.xml contrib-build.xml"
|
||||
#JAVA_PKG_DEBUG=1
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="High-performance, full-featured text search engine library
|
||||
written entirely in Java"
|
||||
HOMEPAGE="http://lucene.apache.org"
|
||||
SRC_URI="mirror://apache/lucene/java/${PV}/${P}-src.tgz"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.4"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
dev-java/ant-nodeps:0
|
||||
dev-java/junit:4
|
||||
dev-java/ant-junit:0
|
||||
contrib? (
|
||||
dev-java/jakarta-regexp:1.4
|
||||
dev-java/commons-compress:0
|
||||
dev-java/commons-collections:0
|
||||
dev-java/commons-digester:0
|
||||
dev-java/commons-logging:0
|
||||
dev-java/commons-beanutils:1.7
|
||||
)"
|
||||
RDEPEND=">=virtual/jdk-1.5"
|
||||
|
||||
#dev-java/javacc:0 - no longer needed, files are prebuilt
|
||||
|
||||
java_prepare() {
|
||||
#find -name "*.jar" -type f | xargs rm -v
|
||||
sed -i \
|
||||
-e '/-Xmax/ d' \
|
||||
common-build.xml
|
||||
# FIXME: contrib builds do not work if junit not included
|
||||
#java-pkg_jar-from --build-only --into lib \
|
||||
# junit-4 junit.jar junit-4.7.jar
|
||||
java-pkg_jar-from --build-only --into lib \
|
||||
ant-core ant.jar ant-1.7.1.jar
|
||||
java-pkg_jar-from --build-only --into lib \
|
||||
ant-junit ant-junit.jar ant-junit-1.7.1.jar
|
||||
|
||||
if use contrib ; then
|
||||
cd contrib/
|
||||
java-pkg_jar-from --build-only --into queries/lib \
|
||||
jakarta-regexp:1.4 jakarta-regexp.jar jakarta-regexpt-1.4.jar
|
||||
java-pkg_jar-from --build-only --into benchmark/lib \
|
||||
commons-compress commons-compress.jar commons-compress-1.1.jar
|
||||
java-pkg_jar-from --build-only --into benchmark/lib \
|
||||
commons-collections commons-collections.jar commons-collections-3.1.jar
|
||||
java-pkg_jar-from --build-only --into benchmark/lib \
|
||||
commons-digester commons-digester.jar commons-digester-1.7.jar
|
||||
java-pkg_jar-from --build-only --into benchmark/lib \
|
||||
commons-logging commons-logging.jar commons-logging-1.0.4.jar
|
||||
java-pkg_jar-from --build-only --into benchmark/lib \
|
||||
commons-beanutils:1.7 commons-beanutils.jar commons-beanutils-1.7.0.jar
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# FIXME: docs do not build if behind a proxy, -autoproxy does not work
|
||||
ANT_TASKS="none" eant -Dversion=${PV} \
|
||||
-Dfailonjavadocwarning=false \
|
||||
jar-core $(use_doc javadocs-core )
|
||||
if use contrib ; then
|
||||
ANT_TASKS="none" eant -Dversion=${PV} \
|
||||
-Dfailonjavadocwarning=false \
|
||||
build-contrib $(use_doc javadocs-all )
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# FIXME: test does not get run, even when selected
|
||||
java-ant_rewrite-classpath common-build.xml
|
||||
EANT_GENTOO_CLASSPATH="junit ant-core ant-junit" ANT_TASKS="ant-junit" eant test-core
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc CHANGES.txt README.txt NOTICE.txt CHANGES.txt \
|
||||
JRE_VERSION_MIGRATION.txt|| die
|
||||
java-pkg_newjar build/${PN}-core-${PV}.jar ${PN}-core.jar
|
||||
if use contrib; then
|
||||
for i in `find build/contrib -name \*-${PV}.jar`
|
||||
do
|
||||
j=${i##*/}
|
||||
java-pkg_newjar $i ${j%%-${PV}.jar}.jar
|
||||
done
|
||||
fi
|
||||
if use doc; then
|
||||
dohtml -r docs/* || die
|
||||
java-pkg_dohtml -r build/docs/api
|
||||
fi
|
||||
if use source; then
|
||||
java-pkg_dosrc src/java/org || die
|
||||
if use contrib; then
|
||||
java-pkg_dosrc contrib || die
|
||||
fi
|
||||
fi
|
||||
}
|
@ -0,0 +1,106 @@
|
||||
# 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-3.5.0.ebuild,v 1.1 2012/05/28 23:21:36 robbat2 Exp $
|
||||
|
||||
EAPI="3"
|
||||
JAVA_PKG_IUSE="doc source test contrib"
|
||||
JAVA_PKG_BSFIX_ALL="no"
|
||||
JAVA_PKG_BSFIX_NAME="build.xml common-build.xml contrib-build.xml"
|
||||
#JAVA_PKG_DEBUG=1
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="High-performance, full-featured text search engine library
|
||||
written entirely in Java"
|
||||
HOMEPAGE="http://lucene.apache.org"
|
||||
SRC_URI="mirror://apache/lucene/java/${PV}/${P}-src.tgz"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.5"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
dev-java/ant-nodeps:0
|
||||
dev-java/junit:4
|
||||
dev-java/ant-junit:0
|
||||
contrib? (
|
||||
dev-java/jakarta-regexp:1.4
|
||||
dev-java/commons-compress:0
|
||||
dev-java/commons-collections:0
|
||||
dev-java/commons-digester:0
|
||||
dev-java/commons-logging:0
|
||||
dev-java/commons-beanutils:1.7
|
||||
)"
|
||||
RDEPEND=">=virtual/jdk-1.5"
|
||||
|
||||
#dev-java/javacc:0 - no longer needed, files are prebuilt
|
||||
|
||||
java_prepare() {
|
||||
#find -name "*.jar" -type f | xargs rm -v
|
||||
sed -i \
|
||||
-e '/-Xmax/ d' \
|
||||
common-build.xml
|
||||
# FIXME: contrib builds do not work if junit not included
|
||||
#java-pkg_jar-from --build-only --into lib \
|
||||
# junit-4 junit.jar junit-4.7.jar
|
||||
java-pkg_jar-from --build-only --into lib \
|
||||
ant-core ant.jar ant-1.7.1.jar
|
||||
java-pkg_jar-from --build-only --into lib \
|
||||
ant-junit ant-junit.jar ant-junit-1.7.1.jar
|
||||
|
||||
if use contrib ; then
|
||||
cd contrib/
|
||||
java-pkg_jar-from --build-only --into queries/lib \
|
||||
jakarta-regexp:1.4 jakarta-regexp.jar jakarta-regexpt-1.4.jar
|
||||
java-pkg_jar-from --build-only --into benchmark/lib \
|
||||
commons-compress commons-compress.jar commons-compress-1.1.jar
|
||||
java-pkg_jar-from --build-only --into benchmark/lib \
|
||||
commons-collections commons-collections.jar commons-collections-3.1.jar
|
||||
java-pkg_jar-from --build-only --into benchmark/lib \
|
||||
commons-digester commons-digester.jar commons-digester-1.7.jar
|
||||
java-pkg_jar-from --build-only --into benchmark/lib \
|
||||
commons-logging commons-logging.jar commons-logging-1.0.4.jar
|
||||
java-pkg_jar-from --build-only --into benchmark/lib \
|
||||
commons-beanutils:1.7 commons-beanutils.jar commons-beanutils-1.7.0.jar
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# FIXME: docs do not build if behind a proxy, -autoproxy does not work
|
||||
ANT_TASKS="none" eant -Dversion=${PV} \
|
||||
-Dfailonjavadocwarning=false \
|
||||
jar-core $(use_doc javadocs-core )
|
||||
if use contrib ; then
|
||||
ANT_TASKS="none" eant -Dversion=${PV} \
|
||||
-Dfailonjavadocwarning=false \
|
||||
build-contrib $(use_doc javadocs-all )
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# FIXME: test does not get run, even when selected
|
||||
java-ant_rewrite-classpath common-build.xml
|
||||
EANT_GENTOO_CLASSPATH="junit ant-core ant-junit" ANT_TASKS="ant-junit" eant test-core
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc CHANGES.txt README.txt NOTICE.txt CHANGES.txt \
|
||||
JRE_VERSION_MIGRATION.txt|| die
|
||||
java-pkg_newjar build/${PN}-core-${PV}.jar ${PN}-core.jar
|
||||
if use contrib; then
|
||||
for i in `find build/contrib -name \*-${PV}.jar`
|
||||
do
|
||||
j=${i##*/}
|
||||
java-pkg_newjar $i ${j%%-${PV}.jar}.jar
|
||||
done
|
||||
fi
|
||||
if use doc; then
|
||||
dohtml -r docs/* || die
|
||||
java-pkg_dohtml -r build/docs/api
|
||||
fi
|
||||
if use source; then
|
||||
java-pkg_dosrc src/java/org || die
|
||||
if use contrib; then
|
||||
java-pkg_dosrc contrib || die
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST expat-2.0.1.tar.gz 446456 RMD160 d31bcb152adaff9e358968be1ea901e1b4ed3b2f SHA1 663548c37b996082db1f2f2c32af060d7aa15c2d SHA256 847660b4df86e707c9150e33cd8c25bc5cd828f708c7418e765e3e983a2e5e93
|
||||
DIST expat-2.1.0-beta3.tar.gz 562612 RMD160 2a03f16494c61fe7eb0e5e3081a4f68f78f3610d SHA1 956e05916d4840c46ca9f5377a01b13cafc4b510 SHA256 69d2ec90d46b1308ffd2f4e8f2f269124951f9c12314d422df8f47fe315f2aa6
|
||||
DIST expat-2.1.0.tar.gz 562616 RMD160 bffca083d29fe7688f106a902ef9b909c3321c5d SHA1 b08197d146930a5543a7b99e871cba3da614f6f0 SHA256 823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86
|
||||
|
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/expat/expat-2.0.1-r6.ebuild,v 1.8 2012/03/15 02:29:18 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils libtool toolchain-funcs
|
||||
|
||||
DESCRIPTION="XML parsing libraries"
|
||||
HOMEPAGE="http://expat.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/expat/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="elibc_FreeBSD examples static-libs unicode"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-check_stopped_parser.patch \
|
||||
"${FILESDIR}"/${P}-fix_bug_1990430.patch \
|
||||
"${FILESDIR}"/${P}-CVE-2009-3560-revised.patch
|
||||
|
||||
elibtoolize
|
||||
epunt_cxx
|
||||
|
||||
mkdir "${S}"-build{,u,w} || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="$(use_enable static-libs static)"
|
||||
|
||||
pushd "${S}"-build >/dev/null
|
||||
ECONF_SOURCE="${S}" econf ${myconf}
|
||||
popd >/dev/null
|
||||
|
||||
if use unicode; then
|
||||
pushd "${S}"-buildu >/dev/null
|
||||
CPPFLAGS="${CPPFLAGS} -DXML_UNICODE" ECONF_SOURCE="${S}" econf ${myconf}
|
||||
popd >/dev/null
|
||||
|
||||
pushd "${S}"-buildw >/dev/null
|
||||
CFLAGS="${CFLAGS} -fshort-wchar" CPPFLAGS="${CPPFLAGS} -DXML_UNICODE_WCHAR_T" ECONF_SOURCE="${S}" econf ${myconf}
|
||||
popd >/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
pushd "${S}"-build >/dev/null
|
||||
emake
|
||||
popd >/dev/null
|
||||
|
||||
if use unicode; then
|
||||
pushd "${S}"-buildu >/dev/null
|
||||
emake buildlib LIBRARY=libexpatu.la
|
||||
popd >/dev/null
|
||||
|
||||
pushd "${S}"-buildw >/dev/null
|
||||
emake buildlib LIBRARY=libexpatw.la
|
||||
popd >/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc Changes README
|
||||
dohtml doc/*
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins examples/*.c
|
||||
fi
|
||||
|
||||
pushd "${S}"-build >/dev/null
|
||||
emake install DESTDIR="${D}"
|
||||
popd >/dev/null
|
||||
|
||||
if use unicode; then
|
||||
pushd "${S}"-buildu >/dev/null
|
||||
emake installlib DESTDIR="${D}" LIBRARY=libexpatu.la
|
||||
popd >/dev/null
|
||||
|
||||
pushd "${S}"-buildw >/dev/null
|
||||
emake installlib DESTDIR="${D}" LIBRARY=libexpatw.la
|
||||
popd >/dev/null
|
||||
fi
|
||||
|
||||
use static-libs || rm -f "${ED}"usr/lib*/libexpat{,u,w}.la
|
||||
|
||||
# libgeom in /lib and ifconfig in /sbin require it on FreeBSD since we
|
||||
# stripped the libbsdxml copy starting from freebsd-lib-8.2-r1
|
||||
use elibc_FreeBSD && gen_usr_ldscript -a expat{,u,w}
|
||||
}
|
@ -1,93 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/expat/expat-2.1.0-r1.ebuild,v 1.2 2012/04/26 12:16:04 aballier Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils libtool multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="XML parsing libraries"
|
||||
HOMEPAGE="http://expat.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/expat/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="elibc_FreeBSD examples static-libs unicode"
|
||||
|
||||
src_prepare() {
|
||||
elibtoolize
|
||||
epunt_cxx
|
||||
|
||||
mkdir "${S}"-build{,u,w} || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="$(use_enable static-libs static)"
|
||||
|
||||
pushd "${S}"-build >/dev/null
|
||||
ECONF_SOURCE="${S}" econf ${myconf}
|
||||
popd >/dev/null
|
||||
|
||||
if use unicode; then
|
||||
pushd "${S}"-buildu >/dev/null
|
||||
CPPFLAGS="${CPPFLAGS} -DXML_UNICODE" ECONF_SOURCE="${S}" econf ${myconf}
|
||||
popd >/dev/null
|
||||
|
||||
pushd "${S}"-buildw >/dev/null
|
||||
CFLAGS="${CFLAGS} -fshort-wchar" CPPFLAGS="${CPPFLAGS} -DXML_UNICODE_WCHAR_T" ECONF_SOURCE="${S}" econf ${myconf}
|
||||
popd >/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
pushd "${S}"-build >/dev/null
|
||||
emake
|
||||
popd >/dev/null
|
||||
|
||||
if use unicode; then
|
||||
pushd "${S}"-buildu >/dev/null
|
||||
emake buildlib LIBRARY=libexpatu.la
|
||||
popd >/dev/null
|
||||
|
||||
pushd "${S}"-buildw >/dev/null
|
||||
emake buildlib LIBRARY=libexpatw.la
|
||||
popd >/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc Changes README
|
||||
dohtml doc/*
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins examples/*.c
|
||||
fi
|
||||
|
||||
pushd "${S}"-build >/dev/null
|
||||
emake install DESTDIR="${D}"
|
||||
popd >/dev/null
|
||||
|
||||
if use unicode; then
|
||||
pushd "${S}"-buildu >/dev/null
|
||||
emake installlib DESTDIR="${D}" LIBRARY=libexpatu.la
|
||||
popd >/dev/null
|
||||
|
||||
pushd "${S}"-buildw >/dev/null
|
||||
emake installlib DESTDIR="${D}" LIBRARY=libexpatw.la
|
||||
popd >/dev/null
|
||||
|
||||
pushd "${ED}"/usr/$(get_libdir)/pkgconfig >/dev/null
|
||||
cp expat.pc expatu.pc
|
||||
sed -i -e '/^Libs/s:-lexpat:&u:' expatu.pc || die
|
||||
cp expat.pc expatw.pc
|
||||
sed -i -e '/^Libs/s:-lexpat:&w:' expatw.pc || die
|
||||
popd >/dev/null
|
||||
fi
|
||||
|
||||
rm -f "${ED}"usr/lib*/libexpat{,u,w}.la
|
||||
|
||||
# libgeom in /lib and ifconfig in /sbin require libexpat on FreeBSD since
|
||||
# we stripped the libbsdxml copy starting from freebsd-lib-8.2-r1
|
||||
use elibc_FreeBSD && gen_usr_ldscript -a expat
|
||||
}
|
@ -1,95 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/expat/expat-2.1.0_beta3.ebuild,v 1.9 2012/04/08 14:55:11 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils libtool toolchain-funcs
|
||||
|
||||
DESCRIPTION="XML parsing libraries"
|
||||
HOMEPAGE="http://expat.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/expat/${P/_/-}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="elibc_FreeBSD examples static-libs unicode"
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == *beta* ]]; then
|
||||
unpack ${A}
|
||||
mv ${PN}-* "${S}"
|
||||
else
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
elibtoolize
|
||||
epunt_cxx
|
||||
|
||||
mkdir "${S}"-build{,u,w} || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="$(use_enable static-libs static)"
|
||||
|
||||
pushd "${S}"-build >/dev/null
|
||||
ECONF_SOURCE="${S}" econf ${myconf}
|
||||
popd >/dev/null
|
||||
|
||||
if use unicode; then
|
||||
pushd "${S}"-buildu >/dev/null
|
||||
CPPFLAGS="${CPPFLAGS} -DXML_UNICODE" ECONF_SOURCE="${S}" econf ${myconf}
|
||||
popd >/dev/null
|
||||
|
||||
pushd "${S}"-buildw >/dev/null
|
||||
CFLAGS="${CFLAGS} -fshort-wchar" CPPFLAGS="${CPPFLAGS} -DXML_UNICODE_WCHAR_T" ECONF_SOURCE="${S}" econf ${myconf}
|
||||
popd >/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
pushd "${S}"-build >/dev/null
|
||||
emake
|
||||
popd >/dev/null
|
||||
|
||||
if use unicode; then
|
||||
pushd "${S}"-buildu >/dev/null
|
||||
emake buildlib LIBRARY=libexpatu.la
|
||||
popd >/dev/null
|
||||
|
||||
pushd "${S}"-buildw >/dev/null
|
||||
emake buildlib LIBRARY=libexpatw.la
|
||||
popd >/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc Changes README
|
||||
dohtml doc/*
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins examples/*.c
|
||||
fi
|
||||
|
||||
pushd "${S}"-build >/dev/null
|
||||
emake install DESTDIR="${D}"
|
||||
popd >/dev/null
|
||||
|
||||
if use unicode; then
|
||||
pushd "${S}"-buildu >/dev/null
|
||||
emake installlib DESTDIR="${D}" LIBRARY=libexpatu.la
|
||||
popd >/dev/null
|
||||
|
||||
pushd "${S}"-buildw >/dev/null
|
||||
emake installlib DESTDIR="${D}" LIBRARY=libexpatw.la
|
||||
popd >/dev/null
|
||||
fi
|
||||
|
||||
rm -f "${ED}"usr/lib*/libexpat{,u,w}.la
|
||||
|
||||
# libgeom in /lib and ifconfig in /sbin require it on FreeBSD since we
|
||||
# stripped the libbsdxml copy starting from freebsd-lib-8.2-r1
|
||||
use elibc_FreeBSD && gen_usr_ldscript -a expat{,u,w}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
http://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-3560
|
||||
http://bugs.gentoo.org/show_bug.cgi?id=303727
|
||||
http://cvs.fedoraproject.org/viewvc/rpms/expat/devel/
|
||||
|
||||
--- lib/xmlparse.c
|
||||
+++ lib/xmlparse.c
|
||||
@@ -3703,6 +3703,9 @@ doProlog(XML_Parser parser,
|
||||
return XML_ERROR_UNCLOSED_TOKEN;
|
||||
case XML_TOK_PARTIAL_CHAR:
|
||||
return XML_ERROR_PARTIAL_CHAR;
|
||||
+ case -XML_TOK_PROLOG_S:
|
||||
+ tok = -tok;
|
||||
+ break;
|
||||
case XML_TOK_NONE:
|
||||
#ifdef XML_DTD
|
||||
/* for internal PE NOT referenced between declarations */
|
@ -1,14 +0,0 @@
|
||||
Fix segmentation fault in python tests
|
||||
http://bugs.gentoo.org/197043
|
||||
|
||||
--- lib/xmlparse.c
|
||||
+++ lib/xmlparse.c
|
||||
@@ -2563,6 +2563,8 @@
|
||||
(int)(dataPtr - (ICHAR *)dataBuf));
|
||||
if (s == next)
|
||||
break;
|
||||
+ if (ps_parsing == XML_FINISHED || ps_parsing == XML_SUSPENDED)
|
||||
+ break;
|
||||
*eventPP = s;
|
||||
}
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
http://expat.cvs.sourceforge.net/viewvc/expat/expat/lib/xmltok_impl.c?view=log (1.13 -> 1.15)
|
||||
http://svn.python.org/view?view=rev&revision=74429
|
||||
|
||||
--- lib/xmltok_impl.c
|
||||
+++ lib/xmltok_impl.c
|
||||
@@ -1744,7 +1744,7 @@
|
||||
const char *end,
|
||||
POSITION *pos)
|
||||
{
|
||||
- while (ptr != end) {
|
||||
+ while (ptr < end) {
|
||||
switch (BYTE_TYPE(enc, ptr)) {
|
||||
#define LEAD_CASE(n) \
|
||||
case BT_LEAD ## n: \
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# This ebuild generated by g-cpan 0.16.0
|
||||
|
||||
EAPI="2"
|
||||
|
||||
MODULE_AUTHOR="HARDAKER"
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Auto-GUI extending Getopt::Long"
|
||||
|
||||
LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/perl-File-Temp
|
||||
virtual/perl-Getopt-Long"
|
@ -0,0 +1 @@
|
||||
DIST Getopt-GUI-Long-0.92.tar.gz 13872 RMD160 edbf350565dd77e4a3f758f1f3aa213bfdc33309 SHA1 be1a085f289ba0a6a11c927a52eed93851262e8c SHA256 100c67f3e716a20988c4fa852e2db422c6d8ddb6190faa68b030f3cb5636e640
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>perl</herd>
|
||||
<maintainer>
|
||||
<email>xmw@gentoo.org</email>
|
||||
<name>Michael Weber</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="cpan">Getopt-GUI-Long</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1 +1,2 @@
|
||||
DIST rope-0.9.3.tar.gz 218495 RMD160 c74e5af8221a8618ee8605c3a1ba0e26529d8c6d SHA1 47bc357e5765c387e1522d4bbe77493ce2964ebe SHA256 270ad551658e0bd05c17204aff268523e7c3aba6d1aa3665a8f928eb34cd2281
|
||||
DIST rope-0.9.4.tar.gz 221516 RMD160 f73891b3d512f975172419e327adfb99ad10eaea SHA1 61f4c4f93ebe080e6a2c56da6087673197a316dd SHA256 2dc0342604851d8fbdafa198172eab5da7ed422759016669056181e21c54a6ba
|
||||
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/rope/rope-0.9.4.ebuild,v 1.2 2012/05/28 21:23:50 floppym Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
PYTHON_TESTS_FAILURES_TOLERANT_ABIS="2.7-pypy-*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Python refactoring library"
|
||||
HOMEPAGE="http://rope.sourceforge.net/ http://pypi.python.org/pypi/rope"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools"
|
||||
RDEPEND=""
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
PYTHONPATH="build-${PYTHON_ABI}/lib:." "$(PYTHON)" ropetest/__init__.py
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
docinto docs
|
||||
dodoc docs/*.txt
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST south-0.7.2.tar.gz 110527 RMD160 d449770b6027d03c415686881081bd87e5ada519 SHA1 de68b4f3f2953eab2848e672f537b63eb4bce631 SHA256 003fdcc1af01fda473d0f92f7f5afc25a75756a2a04acfb76c9a1d41a5db4211
|
||||
DIST south-0.7.3.tar.gz 112673 RMD160 4c0a56139905624480f6b18b3ee3d81a7a13cb29 SHA1 f5a1e811f4c028874c7e617e7eba60d0a9e9dd71 SHA256 ab1c72cd013fab2ddbef3100f2bf7a7f3d9fbc7169cd3e6c181060c17fdeea97
|
||||
DIST south-0.7.4.tar.gz 131682 RMD160 117b391d56bd363ab7aeadc4a17fcd08c213318b SHA1 645efa0d8bfa9f12bd58086313fb8b78e9adbeb4 SHA256 431aea5aee19944f3c18ffc44e873aa3444c40c6492900dfed9f0b47c7938c50
|
||||
DIST south-0.7.5.tar.gz 134536 RMD160 8d612d027ad80960e90f97fa5e60de7b2859da7a SHA1 f378bd8d368613ed3b35aab4c01014ee6daf568e SHA256 e1f8bb50750b4e3eedf85106ea5d581488b6533885afdba91de81e07ac57ad12
|
||||
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/south/south-0.7.5.ebuild,v 1.1 2012/05/28 19:30:56 dev-zero Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.5 3.*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Intelligent schema migrations for Django apps."
|
||||
HOMEPAGE="http://south.aeracode.org/"
|
||||
SRC_URI="https://bitbucket.org/andrewgodwin/south/get/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="dev-python/django"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools
|
||||
doc? ( dev-python/sphinx dev-python/jinja )"
|
||||
|
||||
# we are setting up the tests, but they fail
|
||||
RESTRICT="test"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
mv "${WORKDIR}"/*-south-* "${S}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
use doc && dohtml -r docs/_build/html/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
elog "In order to use the south schema migrations for your Django project,"
|
||||
elog "just add 'south' to your INSTALLED_APPS in the settings.py file."
|
||||
elog "manage.py will now automagically offer the new functions."
|
||||
}
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
mkdir -p "${T}/test-${PYTHON_ABI}"
|
||||
cd "${T}/test-${PYTHON_ABI}"
|
||||
|
||||
django-admin.py-${PYTHON_ABI} startproject southtest || die "setting up test env failed"
|
||||
cd southtest
|
||||
sed -i \
|
||||
-e "/^INSTALLED_APPS/a\ 'south'," \
|
||||
-e 's/\(django.db.backends.\)/\1sqlite3/' \
|
||||
-e "s/\(NAME': '\)/\1test.db/" \
|
||||
southtest/settings.py || die "sed failed"
|
||||
echo "SKIP_SOUTH_TESTS=False" >> southtest/settings.py
|
||||
PYTHONPATH="${S}/build-${PYTHON_ABI}/lib" "$(PYTHON)" manage.py test south || die "tests failed"
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST XSV-2.7.tar.gz 140390 RMD160 94f218b99abf036846bf5bafd738a8508a6cf569 SHA1 8a91711e846b945c84b1ae4c47743d455dfe0b63 SHA256 bde597f4c46e85fc7fbec974a9e82787ec8c58ce5a5038dd73890b8a9e860c91
|
@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<longdescription>
|
||||
XSV (XML Schema Validator) is an open source (GPLed) work-in-progress
|
||||
attempt at a conformant schema-aware processor, as defined by XML Schema
|
||||
Part 1: Structures, May 2, 2001 (REC) version. It has been developed at
|
||||
the Language Technology Group of the Human Communication Research Centre
|
||||
in the Division of Informatics at the University of Edinburgh, with support
|
||||
for one of us (Thompson) from the World Wide Web Consortium.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/xsv/xsv-2.7.ebuild,v 1.10 2011/04/22 20:28:01 arfrever Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
|
||||
inherit distutils
|
||||
|
||||
MY_PN="XSV"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Python XML Schema Validator"
|
||||
HOMEPAGE="http://www.ltg.ed.ac.uk/~ht/xsv-status.html"
|
||||
SRC_URI="ftp://ftp.cogsci.ed.ac.uk/pub/XSV/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~ppc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-python/pyltxml-1.3"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PYTHON_MODNAME="XSV"
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
dodoc xsv-status.xml pc-shrinkwrap || die "dodoc failed"
|
||||
dohtml xsv-status.html || die "dohtml failed"
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins triv.xml triv.xsd tiny.xml tiny.xsd || die "doins failed"
|
||||
|
||||
delete_docs_and_examples() {
|
||||
rm -fr "${ED}$(python_get_sitedir)/XSV/"{doc,example}
|
||||
}
|
||||
python_execute_function -q delete_docs_and_examples
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/indent/indent-2.2.11.ebuild,v 1.8 2010/05/30 18:22:20 armin76 Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Indent program source files"
|
||||
HOMEPAGE="http://indent.isidore-it.eu/beautify.html"
|
||||
SRC_URI="http://${PN}.isidore-it.eu/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
|
||||
IUSE="nls"
|
||||
|
||||
DEPEND="
|
||||
nls? ( sys-devel/gettext )
|
||||
app-text/texi2html
|
||||
"
|
||||
RDEPEND="nls? ( virtual/libintl )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PV}-segfault.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# LINGUAS is used in aclocal.m4 (bug #94837)
|
||||
unset LINGUAS
|
||||
econf $(use_enable nls) || die "configure failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -C regression/ || die "regression tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
htmldir="/usr/share/doc/${PF}/html" \
|
||||
install || die "make install failed"
|
||||
dodoc AUTHORS NEWS README* ChangeLog*
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST intltool-0.50.0.tar.gz 142837 RMD160 5f5f881ac5945853df4a0d447d20ec5cd5bcc252 SHA1 b842d3b5f4de74371049cc366dee19083061c51a SHA256 dccfb0b7dd35a170130e8934bfd30c29da6ae73bcd3ca4ba71317c977b2893d6
|
||||
DIST intltool-0.50.2.tar.gz 189483 RMD160 52b1c6aae5f5f0069d09cef8d709ab267c460319 SHA1 7fddbd8e1bf94adbf1bc947cbf3b8ddc2453f8ad SHA256 67f25c5c6fb71d095793a7f895b245e65e829e8bde68c6c8b4c912144ff34406
|
||||
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/intltool/intltool-0.50.0.ebuild,v 1.7 2012/02/12 14:42:20 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Internationalization Tool Collection"
|
||||
HOMEPAGE="http://edge.launchpad.net/intltool/"
|
||||
SRC_URI="http://edge.launchpad.net/intltool/trunk/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-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=""
|
||||
|
||||
DEPEND=">=dev-lang/perl-5.8.1
|
||||
dev-perl/XML-Parser"
|
||||
RDEPEND="${DEPEND}
|
||||
sys-devel/gettext"
|
||||
|
||||
DOCS=( AUTHORS README TODO doc/I18N-HOWTO )
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue