parent
5f1d096d09
commit
581564be8a
@ -1,3 +1,3 @@
|
||||
DIST eselect-1.4.5.tar.xz 175992 SHA256 15beabb4c2afab4f833ceb2a66859849a5c20b8f8d61366ffe4b556a200d5f12 SHA512 d561b66386ac90335041e8fb88dd85cbe98ea32a98eab309a5fb07de1b9fe10c50dcdd03f93632d4bc938c1729ddb0954fa37482eb7856a87c24f41a7bc29a35 WHIRLPOOL e18839e9ff0ea1af03c6246533e72d39f9f7eb61f28d6cec3ff1a571374f23f7d55751c1f20bfb99c40fb44a81b5754b6c92d62c98f6b1b45dc8bf388b54db40
|
||||
DIST eselect-1.4.6.tar.xz 176400 SHA256 17a8dae5c84cd29a120ddac3bb7df82ed68f560743f0289d7f64e8a0ba6903b6 SHA512 7ec648346e3810cd753ef736a4a9996ae88037f1dea68b7485bb48964eeb2ae43a7feff5a3957fb3bef7f2b21e0d4bd70b128fbe63d7be17ec4cf9a480371e94 WHIRLPOOL 8a71017359c49c72dd3c7c87cc438a1c6347c4a414e28c437c06a9078ac26ee905c60d35cbe555dad27137e6b3f0ee30fc904070a59b566b683acf8751081afe
|
||||
DIST eselect-1.4.7.tar.xz 176412 SHA256 90bdf6e8f1c5f39e3f2d6626d1da25023f881fec997645b0347e2a26568c7e03 SHA512 4e3812e0906c51ea9b7922cc37b2de172a33af59081b5c4e32ed6c2244231a2757ed4508fb43421cf50fc6f04147530a7c199ded8f3037493bcd17a7f0a2734e WHIRLPOOL d4d79bbb0f4104c9a4e692f2f927bcfe3619227d7b9d67fbd29433639eadb6e1d2d02f8458f6a360ad4c3944f173e11a6a337766c66faa476052d82431c7e8b0
|
||||
DIST eselect-1.4.8.tar.xz 176692 SHA256 68f0de3e47895859dcbfcaab71175714f366891c8d2da4561121f48f2fff71eb SHA512 13faa3b21d352975498eb2ea62dfb8d371f30afd6e283c30ff4e89cef035598a8cfe8fafbc6763f39081c547f6743c7f4731d21170625781b89d64eb46c22194 WHIRLPOOL 3c026bb5e743263ea67a41e4f151775c6e5007617f902ebe734ba5c7c837ac9fd6f74c67ffce5e3f192861190da986d38016df4ad9e8e6ce4fe7e66235d95806
|
||||
|
@ -0,0 +1,15 @@
|
||||
diff -ubBr old/flexbackup new/flexbackup
|
||||
--- old/flexbackup 2016-12-01 10:52:59.088767278 -0500
|
||||
+++ new/flexbackup 2016-12-01 10:54:18.006882216 -0500
|
||||
@@ -1408,10 +1408,10 @@
|
||||
|
||||
$cmd .= "$::path{tar} --create ";
|
||||
$cmd .= "--null ";
|
||||
+ $cmd .= "--no-recursion ";
|
||||
$cmd .= "--files-from=- ";
|
||||
$cmd .= "--ignore-failed-read ";
|
||||
$cmd .= "--same-permissions ";
|
||||
- $cmd .= "--no-recursion ";
|
||||
$cmd .= "--totals ";
|
||||
if ($cfg::label ne 'false') {
|
||||
if (length($title) > $::tar_max_label) {
|
@ -0,0 +1,91 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit versionator
|
||||
|
||||
DESCRIPTION="Flexible backup script using perl"
|
||||
HOMEPAGE="http://flexbackup.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-arch/mt-st"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS="CHANGES CREDITS README TODO"
|
||||
HTML_DOCS="faq.html"
|
||||
|
||||
src_prepare() {
|
||||
# Patch from upstream adds optional lzma compression mode.
|
||||
eapply -p0 "${FILESDIR}"/${P}-lzma.patch
|
||||
|
||||
# Fix bug #116510: cannot back up remote machines after patch CAN-2005-2965
|
||||
eapply "${FILESDIR}"/${P}-secure-tempfile.patch
|
||||
|
||||
# Fix bug #96334: incorrectly determines bash 3.x to be bash 1.x
|
||||
eapply -p0 "${FILESDIR}"/${P}-bash.patch
|
||||
|
||||
# Fix bug #171205: specifies wrong command line option for mbuffer / other small enhancements
|
||||
eapply "${FILESDIR}"/${P}-mbuffer-switch.patch
|
||||
|
||||
# Fix bug #173672: remote host buffer test is broken
|
||||
eapply "${FILESDIR}"/${P}-remote-bufftest.patch
|
||||
|
||||
# Fix bug #178126: subtle subtree pruning issue / other small issues
|
||||
eapply "${FILESDIR}"/${P}-prune.patch
|
||||
|
||||
# Fix bug #184560: fails to back up targets with spaces in their names in some modes
|
||||
eapply -p0 "${FILESDIR}"/${P}-spaces-in-filenames.patch
|
||||
|
||||
# Fix bug #190357: fails on very large files with afio back end
|
||||
eapply -p0 "${FILESDIR}"/${P}-afio-large-files.patch
|
||||
|
||||
# Fix bug #235416: prevent normal status message during conf file read from going to stderr
|
||||
eapply -p0 "${FILESDIR}"/${P}-quieten.patch
|
||||
|
||||
# Fix bug #331673: perl 5.12 deprecation warnings.
|
||||
eapply -p0 "${FILESDIR}"/${P}-perl-5.12-deprecation-warning.patch
|
||||
|
||||
# Fix bug #495232: perl 5.16 deprecation warnings.
|
||||
eapply -p0 "${FILESDIR}"/${P}-perl-5.16-deprecation-warning.patch
|
||||
|
||||
# Fix bug #601368: app-backup/flexbackup breaks with >=app-arch/tar-1.29 when making tar-based backups
|
||||
eapply "${FILESDIR}"/${P}-tar-1.29.patch
|
||||
|
||||
eapply_user
|
||||
|
||||
sed -i \
|
||||
-e '/^\$type = /s:afio:tar:' \
|
||||
-e "/^\$buffer = /s:'buffer':'false':" \
|
||||
flexbackup.conf \
|
||||
|| die "Failed to set modified configuration defaults."
|
||||
|
||||
MY_PV=$(replace_all_version_separators '_')
|
||||
sed -i \
|
||||
-e "/^[[:blank:]]*my \$ver = /s:${MY_PV}:&-${PR}:" \
|
||||
flexbackup \
|
||||
|| die "Failed to apply ebuild revision to internal version string."
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /etc /usr/bin /usr/share/man/man{1,5}
|
||||
emake install \
|
||||
PREFIX="${D}"/usr \
|
||||
CONFFILE="${D}"/etc/flexbackup.conf \
|
||||
|| die "emake install failed"
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Please edit your /etc/flexbackup.conf file to suit your"
|
||||
elog "needs. If you are using devfs, the tape device should"
|
||||
elog "be set to /dev/tapes/tape0/mtn. If you need to use any"
|
||||
elog "archiver other than tar, please emerge it separately."
|
||||
}
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit versionator eutils webapp readme.gentoo
|
||||
|
||||
MY_PV="$(replace_version_separator 2 '-')"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="Web-based administration for VirtualBox in PHP"
|
||||
HOMEPAGE="https://sourceforge.net/projects/phpvirtualbox/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php[session,unicode,soap,gd]
|
||||
virtual/httpd-php:*
|
||||
"
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DISABLE_AUTOFORMATTING="yes"
|
||||
DOC_CONTENTS="
|
||||
Local or remote virtualbox hosts must be compiled with
|
||||
'vboxwebsrv' useflag and the respective init script
|
||||
must be running to use this interface:
|
||||
/etc/init.d/vboxwebsrv start
|
||||
|
||||
To enable the automatic startup mode feature uncomment the
|
||||
following line in the config.php file:
|
||||
var \$startStopConfig = true;
|
||||
|
||||
You should also add the /etc/init.d/vboxinit script to the
|
||||
default runlevel on the virtualbox host:
|
||||
\`rc-update add vboxinit default\`
|
||||
If the server is on a remote host, than the script must be
|
||||
copied manually from
|
||||
'${FILESDIR}'/vboxinit-initd to
|
||||
/etc/init.d/vboxinit on the remote host."
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
dodoc CHANGELOG.txt LICENSE.txt README.md
|
||||
rm -f CHANGELOG.txt LICENSE.txt README.md
|
||||
|
||||
insinto "${MY_HTDOCSDIR}"
|
||||
doins -r .
|
||||
|
||||
webapp_configfile "${MY_HTDOCSDIR}"/config.php-example
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/config.php-example
|
||||
|
||||
webapp_src_install
|
||||
if has_version app-emulation/virtualbox[vboxwebsrv] || \
|
||||
has_version app-emulation/virtualbox-bin[vboxwebsrv]
|
||||
then
|
||||
newinitd "${FILESDIR}"/vboxinit-initd vboxinit
|
||||
fi
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
webapp_pkg_postinst
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST jaffl-0.5.11.tar.gz 559465 SHA256 77a7e7bf0b98521ed749238fec8eb184426b074010874a9ee9f076e27b74ac6a SHA512 efa5479901ac6d21310af7d482298281189b7d91b806a273cf99faacb4ee0ec6862427077e2553153c3741a640371199cf78750cd4de9f9fdd92e3f1962d7728 WHIRLPOOL 6970de5819e6335c454584a5071290ed10ace121197a5f4396063dbc9eae388bffa573ab921c6896c018f4f3c1441a0dda54952de8a7527cb5aebefe0a7127f3
|
@ -1,11 +0,0 @@
|
||||
--- libtest/GNUmakefile.orig 2015-06-08 12:11:24.235000000 +0000
|
||||
+++ libtest/GNUmakefile 2015-06-08 11:47:52.963000000 +0000
|
||||
@@ -38,7 +38,7 @@
|
||||
# http://weblogs.java.net/blog/kellyohair/archive/2006/01/compilation_of_1.html
|
||||
JFLAGS = -fno-omit-frame-pointer -fno-strict-aliasing
|
||||
OFLAGS = -O2 $(JFLAGS)
|
||||
-WFLAGS = -W -Werror -Wall -Wno-unused -Wno-parentheses
|
||||
+WFLAGS = -W -Wall -Wno-unused -Wno-parentheses
|
||||
PICFLAGS = -fPIC
|
||||
SOFLAGS = -shared -Wl,-O1
|
||||
LDFLAGS += $(SOFLAGS)
|
@ -1,10 +0,0 @@
|
||||
--- src/com/kenai/jaffl/provider/Library.java.orig 2011-09-07 12:13:06.942731817 +0200
|
||||
+++ src/com/kenai/jaffl/provider/Library.java 2011-09-07 12:13:08.983731771 +0200
|
||||
@@ -23,6 +23,7 @@
|
||||
userLibraryPath.addAll(getPropertyPaths("jaffl.library.path"));
|
||||
// Add JNA paths for compatibility
|
||||
userLibraryPath.addAll(getPropertyPaths("jna.library.path"));
|
||||
+ userLibraryPath.addAll(getPropertyPaths("java.library.path"));
|
||||
}
|
||||
};
|
||||
|
@ -1,94 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
WANT_ANT_TASKS="ant-nodeps"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 versionator
|
||||
|
||||
DESCRIPTION="An abstracted interface to invoking native functions from java"
|
||||
HOMEPAGE="http://kenai.com/projects/jaffl"
|
||||
SRC_URI="https://github.com/jnr/jnr-ffi/tarball/${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc64 x86"
|
||||
|
||||
CDEPEND="
|
||||
dev-java/asm:3
|
||||
dev-java/jffi:1.2
|
||||
dev-java/jnr-x86asm:1.0"
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jre-1.6"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
app-arch/unzip
|
||||
>=virtual/jdk-1.6
|
||||
test? (
|
||||
dev-java/junit:4
|
||||
dev-java/ant-junit:0
|
||||
dev-java/hamcrest-core:0
|
||||
)"
|
||||
|
||||
JAR_VERSION=$(get_version_component_range 1-2)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-library-path.patch
|
||||
"${FILESDIR}"/${P}-GNUmakefile.patch
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
mv * "${P}" || die
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
# Don't choke on errors from generating the Javadoc
|
||||
cd "${S}" || die
|
||||
|
||||
epatch "${PATCHES[@]}"
|
||||
|
||||
rm -vf lib/{.,junit*}/*.jar || die
|
||||
|
||||
java-ant_xml-rewrite -f ./nbproject/build-impl.xml \
|
||||
-c -e javadoc \
|
||||
-a failonerror \
|
||||
-v no
|
||||
|
||||
java-pkg_jar-from --into lib jffi-1.2
|
||||
java-pkg_jar-from --into lib jnr-x86asm-1.0
|
||||
java-pkg_jar-from --into lib asm-3 asm.jar asm-3.2.jar
|
||||
java-pkg_jar-from --into lib asm-3 asm-analysis.jar asm-analysis-3.2.jar
|
||||
java-pkg_jar-from --into lib asm-3 asm-commons.jar asm-commons-3.2.jar
|
||||
java-pkg_jar-from --into lib asm-3 asm-tree.jar asm-tree-3.2.jar
|
||||
java-pkg_jar-from --into lib asm-3 asm-util.jar asm-utils-3.2.jar
|
||||
java-pkg_jar-from --into lib asm-3 asm-xml.jar asm-xml-3.2.jar
|
||||
}
|
||||
|
||||
EANT_EXTRA_ARGS="-Dreference.jffi.jar=lib/jffi.jar \
|
||||
-Dreference.jnr-x86asm.jar=lib/jnr-x86asm.jar \
|
||||
-Dproject.jffi=\"${S}\" \
|
||||
-Dproject.jnr-x86asm=\"${S}\"
|
||||
-D\"already.built.${S}\"=true"
|
||||
|
||||
src_test() {
|
||||
local paths="$(java-config -di jnr-x86asm-1.0,jffi-1.2):${S}/build"
|
||||
|
||||
ANT_TASKS="ant-junit ant-nodeps" eant test \
|
||||
-Drun.jvmargs="-Djava.library.path=${paths}" \
|
||||
-Dlibs.junit_4.classpath="$(java-pkg_getjars junit-4,hamcrest-core)" ${EANT_EXTRA_ARGS}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar "dist/${PN}-${JAR_VERSION}.jar"
|
||||
|
||||
use doc && java-pkg_dojavadoc dist/javadoc
|
||||
use source && java-pkg_dosrc src/*
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
A native function invocation interface that can have multiple different
|
||||
low level implementations (e.g. JNA, JFFI or Maxine)
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">wmeissner/jaffl</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit eutils
|
||||
|
||||
FPCVER="3.0.0"
|
||||
|
||||
DESCRIPTION="Lazarus IDE is a feature rich visual programming environment emulating Delphi"
|
||||
HOMEPAGE="http://www.lazarus.freepascal.org/"
|
||||
SRC_URI="https://sourceforge.net/projects/${PN}/files/Lazarus%20Zip%20_%20GZip/Lazarus%201.6.2/${P}-0.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
|
||||
SLOT="0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND.
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="minimal"
|
||||
|
||||
DEPEND=">=dev-lang/fpc-${FPCVER}[source]
|
||||
net-misc/rsync
|
||||
x11-libs/gtk+:2
|
||||
>=sys-devel/binutils-2.19.1-r1:="
|
||||
RDEPEND="${DEPEND}
|
||||
!=gnome-base/librsvg-2.16.1"
|
||||
|
||||
RESTRICT="strip" #269221
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.9.26-fpcsrc.patch )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Use default configuration (minus stripping) unless specifically requested otherwise
|
||||
if ! test ${PPC_CONFIG_PATH+set} ; then
|
||||
local FPCVER=$(fpc -iV)
|
||||
export PPC_CONFIG_PATH="${WORKDIR}"
|
||||
sed -e 's/^FPBIN=/#&/' /usr/lib/fpc/${FPCVER}/samplecfg |
|
||||
sh -s /usr/lib/fpc/${FPCVER} "${PPC_CONFIG_PATH}" || die
|
||||
#sed -i -e '/^-Xs/d' "${PPC_CONFIG_PATH}"/fpc.cfg || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
LCL_PLATFORM=gtk2 emake \
|
||||
$(usex minimal "" "bigide") \
|
||||
-j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
diropts -m0755
|
||||
dodir /usr/share
|
||||
# Using rsync to avoid unnecessary copies and cleaning...
|
||||
# Note: *.o and *.ppu are needed
|
||||
rsync -a \
|
||||
--exclude="CVS" --exclude=".cvsignore" \
|
||||
--exclude="*.ppw" --exclude="*.ppl" \
|
||||
--exclude="*.ow" --exclude="*.a"\
|
||||
--exclude="*.rst" --exclude=".#*" \
|
||||
--exclude="*.~*" --exclude="*.bak" \
|
||||
--exclude="*.orig" --exclude="*.rej" \
|
||||
--exclude=".xvpics" --exclude="*.compiled" \
|
||||
--exclude="killme*" --exclude=".gdb_hist*" \
|
||||
--exclude="debian" --exclude="COPYING*" \
|
||||
--exclude="*.app" \
|
||||
"${S}" "${ED%/}"/usr/share \
|
||||
|| die "Unable to copy files!"
|
||||
|
||||
dosym ../share/lazarus/startlazarus /usr/bin/startlazarus
|
||||
dosym ../share/lazarus/startlazarus /usr/bin/lazarus
|
||||
dosym ../share/lazarus/lazbuild /usr/bin/lazbuild
|
||||
use minimal || dosym ../share/lazarus/components/chmhelp/lhelp/lhelp /usr/bin/lhelp
|
||||
dosym ../lazarus/images/ide_icon48x48.png /usr/share/pixmaps/lazarus.png
|
||||
|
||||
make_desktop_entry startlazarus "Lazarus IDE" "lazarus" || die "Failed making desktop entry!"
|
||||
}
|
@ -0,0 +1,346 @@
|
||||
diff -r -U2 sbcl-1.3.12.orig/contrib/sb-bsd-sockets/tests.lisp sbcl-1.3.12/contrib/sb-bsd-sockets/tests.lisp
|
||||
--- sbcl-1.3.12.orig/contrib/sb-bsd-sockets/tests.lisp 2016-11-30 04:07:35.000000000 +0700
|
||||
+++ sbcl-1.3.12/contrib/sb-bsd-sockets/tests.lisp 2016-12-10 15:56:14.727887603 +0700
|
||||
@@ -38,11 +38,11 @@
|
||||
#-(and freebsd sb-thread)
|
||||
#-(and dragonfly sb-thread)
|
||||
-(deftest get-protocol-by-name/error
|
||||
- (handler-case (get-protocol-by-name "nonexistent-protocol")
|
||||
- (unknown-protocol ()
|
||||
- t)
|
||||
- (:no-error ()
|
||||
- nil))
|
||||
- t)
|
||||
+;(deftest get-protocol-by-name/error
|
||||
+; (handler-case (get-protocol-by-name "nonexistent-protocol")
|
||||
+; (unknown-protocol ()
|
||||
+; t)
|
||||
+; (:no-error ()
|
||||
+; nil))
|
||||
+; t)
|
||||
|
||||
(deftest make-inet-socket.smoke
|
||||
@@ -92,19 +92,19 @@
|
||||
t)
|
||||
|
||||
-#-win32
|
||||
-(deftest make-inet6-socket.smoke
|
||||
- (handler-case
|
||||
- (let ((s (make-instance 'inet6-socket :type :stream :protocol (get-protocol-by-name "tcp"))))
|
||||
- (> (socket-file-descriptor s) 1))
|
||||
- ((or address-family-not-supported protocol-not-supported-error) () t))
|
||||
- t)
|
||||
-
|
||||
-#-win32
|
||||
-(deftest make-inet6-socket.keyword
|
||||
- (handler-case
|
||||
- (let ((s (make-instance 'inet6-socket :type :stream :protocol :tcp)))
|
||||
- (> (socket-file-descriptor s) 1))
|
||||
- ((or address-family-not-supported protocol-not-supported-error) () t))
|
||||
- t)
|
||||
+;#-win32
|
||||
+;(deftest make-inet6-socket.smoke
|
||||
+; (handler-case
|
||||
+; (let ((s (make-instance 'inet6-socket :type :stream :protocol (get-protocol-by-name "tcp"))))
|
||||
+; (> (socket-file-descriptor s) 1))
|
||||
+; ((or address-family-not-supported protocol-not-supported-error) () t))
|
||||
+; t)
|
||||
+
|
||||
+;#-win32
|
||||
+;(deftest make-inet6-socket.keyword
|
||||
+; (handler-case
|
||||
+; (let ((s (make-instance 'inet6-socket :type :stream :protocol :tcp)))
|
||||
+; (> (socket-file-descriptor s) 1))
|
||||
+; ((or address-family-not-supported protocol-not-supported-error) () t))
|
||||
+; t)
|
||||
|
||||
(deftest* (non-block-socket)
|
||||
@@ -114,52 +114,52 @@
|
||||
t)
|
||||
|
||||
-(deftest inet-socket-bind
|
||||
- (let* ((tcp (get-protocol-by-name "tcp"))
|
||||
- (address (make-inet-address "127.0.0.1"))
|
||||
- (s1 (make-instance 'inet-socket :type :stream :protocol tcp))
|
||||
- (s2 (make-instance 'inet-socket :type :stream :protocol tcp)))
|
||||
- (unwind-protect
|
||||
- ;; Given the functions we've got so far, if you can think of a
|
||||
- ;; better way to make sure the bind succeeded than trying it
|
||||
- ;; twice, let me know
|
||||
- (progn
|
||||
- (socket-bind s1 address 0)
|
||||
- (handler-case
|
||||
- (let ((port (nth-value 1 (socket-name s1))))
|
||||
- (socket-bind s2 address port)
|
||||
- nil)
|
||||
- (address-in-use-error () t)))
|
||||
- (socket-close s1)
|
||||
- (socket-close s2)))
|
||||
- t)
|
||||
-
|
||||
-#-win32
|
||||
-(deftest inet6-socket-bind
|
||||
- (handler-case
|
||||
- (let* ((tcp (get-protocol-by-name "tcp"))
|
||||
- (address (make-inet6-address "::1"))
|
||||
- (s1 (make-instance 'inet6-socket :type :stream :protocol tcp))
|
||||
- (s2 (make-instance 'inet6-socket :type :stream :protocol tcp)))
|
||||
- (unwind-protect
|
||||
- ;; Given the functions we've got so far, if you can think of a
|
||||
- ;; better way to make sure the bind succeeded than trying it
|
||||
- ;; twice, let me know
|
||||
- (handler-case
|
||||
- (socket-bind s1 address 0)
|
||||
- (socket-error ()
|
||||
- ;; This may mean no IPv6 support, can't fail a test
|
||||
- ;; because of that (address-family-not-supported doesn't catch that)
|
||||
- t)
|
||||
- (:no-error (x)
|
||||
- (declare (ignore x))
|
||||
- (handler-case
|
||||
- (let ((port (nth-value 1 (socket-name s1))))
|
||||
- (socket-bind s2 address port)
|
||||
- nil)
|
||||
- (address-in-use-error () t))))
|
||||
- (socket-close s1)
|
||||
- (socket-close s2)))
|
||||
- ((or address-family-not-supported protocol-not-supported-error) () t))
|
||||
- t)
|
||||
+;(deftest inet-socket-bind
|
||||
+; (let* ((tcp (get-protocol-by-name "tcp"))
|
||||
+; (address (make-inet-address "127.0.0.1"))
|
||||
+; (s1 (make-instance 'inet-socket :type :stream :protocol tcp))
|
||||
+; (s2 (make-instance 'inet-socket :type :stream :protocol tcp)))
|
||||
+; (unwind-protect
|
||||
+; ;; Given the functions we've got so far, if you can think of a
|
||||
+; ;; better way to make sure the bind succeeded than trying it
|
||||
+; ;; twice, let me know
|
||||
+; (progn
|
||||
+; (socket-bind s1 address 0)
|
||||
+; (handler-case
|
||||
+; (let ((port (nth-value 1 (socket-name s1))))
|
||||
+; (socket-bind s2 address port)
|
||||
+; nil)
|
||||
+; (address-in-use-error () t)))
|
||||
+; (socket-close s1)
|
||||
+; (socket-close s2)))
|
||||
+; t)
|
||||
+
|
||||
+;#-win32
|
||||
+;(deftest inet6-socket-bind
|
||||
+; (handler-case
|
||||
+; (let* ((tcp (get-protocol-by-name "tcp"))
|
||||
+; (address (make-inet6-address "::1"))
|
||||
+; (s1 (make-instance 'inet6-socket :type :stream :protocol tcp))
|
||||
+; (s2 (make-instance 'inet6-socket :type :stream :protocol tcp)))
|
||||
+; (unwind-protect;
|
||||
+; ;; Given the functions we've got so far, if you can think of a
|
||||
+; ;; better way to make sure the bind succeeded than trying it
|
||||
+; ;; twice, let me know
|
||||
+; (handler-case
|
||||
+; (socket-bind s1 address 0)
|
||||
+; (socket-error ()
|
||||
+; ;; This may mean no IPv6 support, can't fail a test
|
||||
+; ;; because of that (address-family-not-supported doesn't catch that)
|
||||
+; t)
|
||||
+; (:no-error (x)
|
||||
+; (declare (ignore x))
|
||||
+; (handler-case
|
||||
+; (let ((port (nth-value 1 (socket-name s1))))
|
||||
+; (socket-bind s2 address port)
|
||||
+; nil)
|
||||
+; (address-in-use-error () t))))
|
||||
+; (socket-close s1)
|
||||
+; (socket-close s2)))
|
||||
+; ((or address-family-not-supported protocol-not-supported-error) () t))
|
||||
+; t)
|
||||
|
||||
(deftest* (simple-sockopt-test)
|
||||
@@ -228,35 +228,35 @@
|
||||
;;; the message ended up
|
||||
|
||||
-#-win32
|
||||
-(deftest simple-local-client
|
||||
- (progn
|
||||
- ;; SunOS (Solaris) and Darwin systems don't have a socket at
|
||||
- ;; /dev/log. We might also be building in a chroot or
|
||||
- ;; something, so don't fail this test just because the file is
|
||||
- ;; unavailable, or if it's a symlink to some weird character
|
||||
- ;; device.
|
||||
- (when (block nil
|
||||
- (handler-bind ((sb-posix:syscall-error
|
||||
- (lambda (e)
|
||||
- (declare (ignore e))
|
||||
- (return nil))))
|
||||
- (sb-posix:s-issock
|
||||
- (sb-posix::stat-mode (sb-posix:stat "/dev/log")))))
|
||||
- (let ((s (make-instance 'local-socket :type :datagram)))
|
||||
- (format t "Connecting ~A... " s)
|
||||
- (finish-output)
|
||||
- (handler-case
|
||||
- (socket-connect s "/dev/log")
|
||||
- (sb-bsd-sockets::socket-error ()
|
||||
- (setq s (make-instance 'local-socket :type :stream))
|
||||
- (format t "failed~%Retrying with ~A... " s)
|
||||
- (finish-output)
|
||||
- (socket-connect s "/dev/log")))
|
||||
- (format t "ok.~%")
|
||||
- (let ((stream (socket-make-stream s :input t :output t :buffering :none)))
|
||||
- (format stream
|
||||
- "<7>bsd-sockets: Don't panic. We're testing local-domain client code; this message can safely be ignored"))))
|
||||
- t)
|
||||
- t)
|
||||
+;#-win32
|
||||
+;(deftest simple-local-client
|
||||
+; (progn
|
||||
+; ;; SunOS (Solaris) and Darwin systems don't have a socket at
|
||||
+; ;; /dev/log. We might also be building in a chroot or
|
||||
+; ;; something, so don't fail this test just because the file is
|
||||
+; ;; unavailable, or if it's a symlink to some weird character
|
||||
+; ;; device.
|
||||
+; (when (block nil
|
||||
+; (handler-bind ((sb-posix:syscall-error
|
||||
+; (lambda (e)
|
||||
+; (declare (ignore e))
|
||||
+; (return nil))))
|
||||
+; (sb-posix:s-issock
|
||||
+; (sb-posix::stat-mode (sb-posix:stat "/dev/log")))))
|
||||
+; (let ((s (make-instance 'local-socket :type :datagram)))
|
||||
+; (format t "Connecting ~A... " s)
|
||||
+; (finish-output)
|
||||
+; (handler-case
|
||||
+; (socket-connect s "/dev/log")
|
||||
+; (sb-bsd-sockets::socket-error ()
|
||||
+; (setq s (make-instance 'local-socket :type :stream))
|
||||
+; (format t "failed~%Retrying with ~A... " s)
|
||||
+; (finish-output)
|
||||
+; (socket-connect s "/dev/log")))
|
||||
+; (format t "ok.~%")
|
||||
+; (let ((stream (socket-make-stream s :input t :output t :buffering :none)))
|
||||
+; (format stream
|
||||
+; "<7>bsd-sockets: Don't panic. We're testing local-domain client code; this message can safely be ignored"))))
|
||||
+; t)
|
||||
+; t)
|
||||
|
||||
|
||||
@@ -373,58 +373,58 @@
|
||||
len address port (subseq buf 0 (min 10 len)))))))
|
||||
|
||||
-#+sb-thread
|
||||
-(deftest interrupt-io
|
||||
- (let (result)
|
||||
- (labels
|
||||
- ((client (port)
|
||||
- (setf result
|
||||
- (let ((s (make-instance 'inet-socket
|
||||
- :type :stream
|
||||
- :protocol :tcp)))
|
||||
- (socket-connect s #(127 0 0 1) port)
|
||||
- (let ((stream (socket-make-stream s
|
||||
- :input t
|
||||
- :output t
|
||||
- :buffering :none)))
|
||||
- (handler-case
|
||||
- (prog1
|
||||
- (catch 'stop
|
||||
- (progn
|
||||
- (read-char stream)
|
||||
- (sleep 0.1)
|
||||
- (sleep 0.1)
|
||||
- (sleep 0.1)))
|
||||
- (close stream))
|
||||
- (error (c)
|
||||
- c))))))
|
||||
- (server ()
|
||||
- (let ((s (make-instance 'inet-socket
|
||||
- :type :stream
|
||||
- :protocol :tcp)))
|
||||
- (setf (sockopt-reuse-address s) t)
|
||||
- (socket-bind s (make-inet-address "127.0.0.1") 0)
|
||||
- (socket-listen s 5)
|
||||
- (multiple-value-bind (* port)
|
||||
- (socket-name s)
|
||||
- (let* ((client (sb-thread:make-thread
|
||||
- (lambda () (client port))))
|
||||
- (r (socket-accept s))
|
||||
- (stream (socket-make-stream r
|
||||
- :input t
|
||||
- :output t
|
||||
- :buffering :none))
|
||||
- (ok :ok))
|
||||
- (socket-close s)
|
||||
- (sleep 5)
|
||||
- (sb-thread:interrupt-thread client
|
||||
- (lambda () (throw 'stop ok)))
|
||||
- (sleep 5)
|
||||
- (setf ok :not-ok)
|
||||
- (write-char #\x stream)
|
||||
- (close stream)
|
||||
- (socket-close r))))))
|
||||
- (server))
|
||||
- result)
|
||||
- :ok)
|
||||
+;#+sb-thread
|
||||
+;(deftest interrupt-io
|
||||
+; (let (result)
|
||||
+; (labels
|
||||
+; ((client (port)
|
||||
+; (setf result
|
||||
+; (let ((s (make-instance 'inet-socket
|
||||
+; :type :stream
|
||||
+; :protocol :tcp)))
|
||||
+; (socket-connect s #(127 0 0 1) port)
|
||||
+; (let ((stream (socket-make-stream s
|
||||
+; :input t
|
||||
+; :output t
|
||||
+; :buffering :none)))
|
||||
+; (handler-case
|
||||
+; (prog1
|
||||
+; (catch 'stop
|
||||
+; (progn
|
||||
+; (read-char stream)
|
||||
+; (sleep 0.1)
|
||||
+; (sleep 0.1)
|
||||
+; (sleep 0.1)))
|
||||
+; (close stream))
|
||||
+; (error (c)
|
||||
+; c))))))
|
||||
+; (server ()
|
||||
+; (let ((s (make-instance 'inet-socket
|
||||
+; :type :stream
|
||||
+; :protocol :tcp)))
|
||||
+; (setf (sockopt-reuse-address s) t)
|
||||
+; (socket-bind s (make-inet-address "127.0.0.1") 0)
|
||||
+; (socket-listen s 5)
|
||||
+; (multiple-value-bind (* port)
|
||||
+; (socket-name s)
|
||||
+; (let* ((client (sb-thread:make-thread
|
||||
+; (lambda () (client port))))
|
||||
+; (r (socket-accept s))
|
||||
+; (stream (socket-make-stream r
|
||||
+; :input t
|
||||
+; :output t
|
||||
+; :buffering :none))
|
||||
+; (ok :ok))
|
||||
+; (socket-close s)
|
||||
+; (sleep 5)
|
||||
+; (sb-thread:interrupt-thread client
|
||||
+; (lambda () (throw 'stop ok)))
|
||||
+; (sleep 5)
|
||||
+; (setf ok :not-ok)
|
||||
+; (write-char #\x stream)
|
||||
+; (close stream)
|
||||
+; (socket-close r))))))
|
||||
+; (server))
|
||||
+; result)
|
||||
+; :ok)
|
||||
|
||||
(defmacro with-client-and-server ((server-socket-var client-socket-var) &body body)
|
||||
@@ -485,4 +485,5 @@
|
||||
client server (unsigned-byte 8) ,direction)))))
|
||||
|
||||
- (define-shutdown-tests :output)
|
||||
- (define-shutdown-tests :io))
|
||||
+; (define-shutdown-tests :output)
|
||||
+; (define-shutdown-tests :io))
|
||||
+)
|
@ -1,19 +0,0 @@
|
||||
--- sbcl-1.1.18/doc/internals/discriminating-functions.dot.old 2016-03-18 18:40:54.297597061 -0700
|
||||
+++ sbcl-1.1.18/doc/internals/discriminating-functions.dot 2016-03-18 18:41:29.912053235 -0700
|
||||
@@ -33,13 +33,13 @@
|
||||
// oneindex -> dispatch
|
||||
// nn -> caching
|
||||
// nn -> checking
|
||||
// nn -> dispatch
|
||||
|
||||
-subgraph class -> caching
|
||||
-subgraph class -> checking
|
||||
-subgraph class -> dispatch
|
||||
+subgraph { class -> caching }
|
||||
+subgraph { class -> checking }
|
||||
+subgraph { class -> dispatch }
|
||||
|
||||
initial -> oneclass
|
||||
|
||||
initial -> default
|
||||
initial -> nomethods
|
@ -1,218 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit multilib eutils flag-o-matic pax-utils
|
||||
|
||||
#same order as http://www.sbcl.org/platform-table.html
|
||||
BV_X86=1.0.58
|
||||
BV_AMD64=1.1.18
|
||||
BV_PPC=1.0.28
|
||||
BV_SPARC=1.0.28
|
||||
BV_ALPHA=1.0.28
|
||||
|
||||
DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp"
|
||||
HOMEPAGE="http://sbcl.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2
|
||||
x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 )
|
||||
amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 )
|
||||
ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 )
|
||||
sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 )
|
||||
alpha? ( mirror://sourceforge/sbcl/${PN}-${BV_ALPHA}-alpha-linux-binary.tar.bz2 )"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="debug doc source +threads +unicode pax_kernel zlib"
|
||||
|
||||
CDEPEND="=dev-lisp/asdf-3.0*:="
|
||||
DEPEND="${CDEPEND}
|
||||
doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 )
|
||||
pax_kernel? ( sys-apps/paxctl sys-apps/elfix )"
|
||||
RDEPEND="${CDEPEND}
|
||||
elibc_glibc? ( >=sys-libs/glibc-2.6 )"
|
||||
|
||||
# Disable warnings about executable stacks, as this won't be fixed soon by upstream
|
||||
QA_EXECSTACK="usr/bin/sbcl"
|
||||
|
||||
CONFIG="${S}/customize-target-features.lisp"
|
||||
ENVD="${T}/50sbcl"
|
||||
|
||||
# Prevent ASDF from using the system libraries
|
||||
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)"
|
||||
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)"
|
||||
|
||||
usep() {
|
||||
use ${1} && echo "true" || echo "false"
|
||||
}
|
||||
|
||||
sbcl_feature() {
|
||||
echo "$( [[ ${1} == "true" ]] && echo "(enable ${2})" || echo "(disable ${2})")" >> "${CONFIG}"
|
||||
}
|
||||
|
||||
sbcl_apply_features() {
|
||||
sed 's/^X//' > "${CONFIG}" <<-'EOF'
|
||||
(lambda (list)
|
||||
X (flet ((enable (x) (pushnew x list))
|
||||
X (disable (x) (setf list (remove x list))))
|
||||
EOF
|
||||
if use x86 || use amd64; then
|
||||
sbcl_feature "$(usep threads)" ":sb-thread"
|
||||
fi
|
||||
sbcl_feature "true" ":sb-ldb"
|
||||
sbcl_feature "false" ":sb-test"
|
||||
sbcl_feature "$(usep unicode)" ":sb-unicode"
|
||||
sbcl_feature "$(usep zlib)" ":sb-core-compression"
|
||||
sbcl_feature "$(usep debug)" ":sb-xref-for-internals"
|
||||
sed 's/^X//' >> "${CONFIG}" <<-'EOF'
|
||||
X )
|
||||
X list)
|
||||
EOF
|
||||
cat "${CONFIG}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mv sbcl-*-linux sbcl-binary || die
|
||||
cd "${S}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/gentoo-fix_install_man.patch
|
||||
epatch "${FILESDIR}"/gentoo-fix_linux-os-c.patch
|
||||
# bug #468482
|
||||
epatch "${FILESDIR}"/concurrency-test.patch
|
||||
# bug #486552
|
||||
epatch "${FILESDIR}"/bsd-sockets-test.patch
|
||||
# bug #577514
|
||||
epatch "${FILESDIR}"/sbcl-1.1.18-graphiz-2.38.patch
|
||||
|
||||
# To make the hardened compiler NOT compile with -fPIE -pie
|
||||
if gcc-specs-pie ; then
|
||||
einfo "Disabling PIE..."
|
||||
epatch "${FILESDIR}"/${PN}-1.1.17-gentoo-fix_nopie_for_hardened_toolchain.patch
|
||||
fi
|
||||
|
||||
# bug #526194
|
||||
sed -e "s@CFLAGS =@CFLAGS = ${CFLAGS}@" \
|
||||
-e "s@LINKFLAGS =@LINKFLAGS = ${LDFLAGS}@" \
|
||||
-i src/runtime/GNUmakefile || die
|
||||
|
||||
cp /usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die
|
||||
|
||||
use source && sed 's%"$(BUILD_ROOT)%$(MODULE).lisp "$(BUILD_ROOT)%' -i contrib/vanilla-module.mk
|
||||
|
||||
# Some shells(such as dash) don't have "time" as builtin
|
||||
# and we don't want to DEPEND on sys-process/time
|
||||
sed "s,^time ,," -i make.sh || die
|
||||
sed "s,/lib,/$(get_libdir),g" -i install.sh || die
|
||||
# #define SBCL_HOME ...
|
||||
sed "s,/usr/local/lib,/usr/$(get_libdir),g" -i src/runtime/runtime.c || die
|
||||
|
||||
# Avoid sandbox violation, bug #572478
|
||||
sed -i -e "/(sb-posix:rmdir /s%\"/\"%\"${WORKDIR}\"%" \
|
||||
contrib/sb-posix/posix-tests.lisp || die
|
||||
|
||||
find . -type f -name .cvsignore -delete
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# customizing SBCL version as per
|
||||
# http://sbcl.cvs.sourceforge.net/sbcl/sbcl/doc/PACKAGING-SBCL.txt?view=markup
|
||||
echo -e ";;; Auto-generated by Gentoo\n\"gentoo-${PR}\"" > branch-version.lisp-expr
|
||||
|
||||
# applying customizations
|
||||
sbcl_apply_features
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local bindir="${WORKDIR}"/sbcl-binary
|
||||
|
||||
strip-unsupported-flags ; filter-flags -fomit-frame-pointer
|
||||
|
||||
if host-is-pax ; then
|
||||
# To disable PaX on hardened systems
|
||||
pax-mark -mr "${bindir}"/src/runtime/sbcl
|
||||
|
||||
# Hack to disable PaX on second GENESIS stage
|
||||
sed -i -e '/^echo \/\/doing warm init - compilation phase$/a\paxmark.sh -mr \.\/src\/runtime\/sbcl' \
|
||||
"${S}"/make-target-2.sh || die "Cannot disable PaX on second GENESIS runtime"
|
||||
fi
|
||||
|
||||
# clear the environment to get rid of non-ASCII strings, see bug 174702
|
||||
# set HOME for paludis
|
||||
env - HOME="${T}" \
|
||||
CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \
|
||||
CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \
|
||||
GNUMAKE=make ./make.sh \
|
||||
"sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \
|
||||
|| die "make failed"
|
||||
|
||||
# need to set HOME because libpango(used by graphviz) complains about it
|
||||
if use doc; then
|
||||
env - HOME="${T}" \
|
||||
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
|
||||
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
|
||||
make -C doc/manual info html || die "Cannot build manual"
|
||||
env - HOME="${T}" \
|
||||
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
|
||||
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
|
||||
make -C doc/internals info html || die "Cannot build internal docs"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ewarn "Unfortunately, it is known that some tests fail eg."
|
||||
ewarn "run-program.impure.lisp. This is an issue of the upstream's"
|
||||
ewarn "development and not of Gentoo's side. Please, before filing"
|
||||
ewarn "any bug(s) search for older submissions. Thank you."
|
||||
time ( cd tests && sh run-tests.sh )
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# install system-wide initfile
|
||||
dodir /etc/
|
||||
sed 's/^X//' > "${D}"/etc/sbclrc <<-EOF
|
||||
;;; The following is required if you want source location functions to
|
||||
;;; work in SLIME, for example.
|
||||
X
|
||||
(setf (logical-pathname-translations "SYS")
|
||||
X '(("SYS:SRC;**;*.*.*" #p"/usr/$(get_libdir)/sbcl/src/**/*.*")
|
||||
X ("SYS:CONTRIB;**;*.*.*" #p"/usr/$(get_libdir)/sbcl/**/*.*")))
|
||||
X
|
||||
;;; Setup ASDF2
|
||||
(load "/etc/common-lisp/gentoo-init.lisp")
|
||||
EOF
|
||||
|
||||
# Install documentation
|
||||
unset SBCL_HOME
|
||||
INSTALL_ROOT="${D}/usr" LIB_DIR="/usr/$(get_libdir)" DOC_DIR="${D}/usr/share/doc/${PF}" \
|
||||
sh install.sh || die "install.sh failed"
|
||||
|
||||
# rm empty directories lest paludis complain about this
|
||||
find "${D}" -empty -type d -exec rmdir -v {} +
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/manual/
|
||||
doinfo doc/manual/*.info*
|
||||
dohtml -r doc/internals/sbcl-internals
|
||||
doinfo doc/internals/sbcl-internals.info
|
||||
docinto internals-notes && dodoc doc/internals-notes/*
|
||||
else
|
||||
rm -Rv "${D}/usr/share/doc/${PF}" || die
|
||||
fi
|
||||
|
||||
dodoc BUGS CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README TLA TODO
|
||||
|
||||
# install the SBCL source
|
||||
if use source; then
|
||||
./clean.sh
|
||||
cp -av src "${D}/usr/$(get_libdir)/sbcl/" || die
|
||||
fi
|
||||
|
||||
# necessary for running newly-saved images
|
||||
echo "SBCL_HOME=/usr/$(get_libdir)/${PN}" > "${ENVD}"
|
||||
echo "SBCL_SOURCE_ROOT=/usr/$(get_libdir)/${PN}/src" >> "${ENVD}"
|
||||
doenvd "${ENVD}"
|
||||
}
|
@ -1,245 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit multilib eutils flag-o-matic pax-utils
|
||||
|
||||
#same order as http://www.sbcl.org/platform-table.html
|
||||
BV_X86=1.2.7
|
||||
BV_AMD64=1.3.6
|
||||
BV_PPC=1.2.7
|
||||
BV_SPARC=1.0.28
|
||||
BV_ALPHA=1.0.28
|
||||
BV_ARM=1.2.7
|
||||
BV_ARM64=1.3.6
|
||||
BV_PPC_MACOS=1.0.47
|
||||
BV_X86_MACOS=1.1.6
|
||||
BV_X64_MACOS=1.2.11
|
||||
BV_SPARC_SOLARIS=1.0.23
|
||||
BV_X86_SOLARIS=1.2.7
|
||||
BV_X64_SOLARIS=1.2.7
|
||||
|
||||
DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp"
|
||||
HOMEPAGE="http://sbcl.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2
|
||||
x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 )
|
||||
amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 )
|
||||
ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 )
|
||||
sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 )
|
||||
alpha? ( mirror://sourceforge/sbcl/${PN}-${BV_ALPHA}-alpha-linux-binary.tar.bz2 )
|
||||
arm? ( mirror://sourceforge/sbcl/${PN}-${BV_ARM}-armhf-linux-binary.tar.bz2 )
|
||||
ppc-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC_MACOS}-powerpc-darwin-binary.tar.bz2 )
|
||||
x86-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_X86_MACOS}-x86-darwin-binary.tar.bz2 )
|
||||
x64-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_X64_MACOS}-x86-64-darwin-binary.tar.bz2 )
|
||||
sparc-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC_SOLARIS}-sparc-solaris-binary.tar.bz2 )
|
||||
x86-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_X86_SOLARIS}-x86-solaris-binary.tar.bz2 )
|
||||
x64-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_X64_SOLARIS}-x86-64-solaris-binary.tar.bz2 )"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="debug doc source +threads +unicode pax_kernel zlib"
|
||||
|
||||
CDEPEND=">=dev-lisp/asdf-3.1:="
|
||||
DEPEND="${CDEPEND}
|
||||
doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 )
|
||||
pax_kernel? ( sys-apps/elfix )"
|
||||
RDEPEND="${CDEPEND}
|
||||
!prefix? ( elibc_glibc? ( >=sys-libs/glibc-2.6 ) )"
|
||||
|
||||
# Disable warnings about executable stacks, as this won't be fixed soon by upstream
|
||||
QA_EXECSTACK="usr/bin/sbcl"
|
||||
|
||||
CONFIG="${S}/customize-target-features.lisp"
|
||||
ENVD="${T}/50sbcl"
|
||||
|
||||
# Prevent ASDF from using the system libraries
|
||||
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)"
|
||||
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)"
|
||||
|
||||
usep() {
|
||||
use ${1} && echo "true" || echo "false"
|
||||
}
|
||||
|
||||
sbcl_feature() {
|
||||
echo "$( [[ ${1} == "true" ]] && echo "(enable ${2})" || echo "(disable ${2})")" >> "${CONFIG}"
|
||||
}
|
||||
|
||||
sbcl_apply_features() {
|
||||
sed 's/^X//' > "${CONFIG}" <<-'EOF'
|
||||
(lambda (list)
|
||||
X (flet ((enable (x) (pushnew x list))
|
||||
X (disable (x) (setf list (remove x list))))
|
||||
EOF
|
||||
if use x86 || use amd64; then
|
||||
sbcl_feature "$(usep threads)" ":sb-thread"
|
||||
fi
|
||||
sbcl_feature "true" ":sb-ldb"
|
||||
sbcl_feature "false" ":sb-test"
|
||||
sbcl_feature "$(usep unicode)" ":sb-unicode"
|
||||
sbcl_feature "$(usep zlib)" ":sb-core-compression"
|
||||
sbcl_feature "$(usep debug)" ":sb-xref-for-internals"
|
||||
sed 's/^X//' >> "${CONFIG}" <<-'EOF'
|
||||
X )
|
||||
X list)
|
||||
EOF
|
||||
cat "${CONFIG}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mv sbcl-*-* sbcl-binary || die
|
||||
cd "${S}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}"/gentoo-fix_install_man.patch
|
||||
# bug #468482
|
||||
eapply "${FILESDIR}"/concurrency-test-1.2.6.patch
|
||||
# bugs #486552, #527666, #517004
|
||||
eapply "${FILESDIR}"/bsd-sockets-test-1.2.11.patch
|
||||
# bugs #560276, #561018
|
||||
eapply "${FILESDIR}"/sb-posix-test-1.2.15.patch
|
||||
|
||||
eapply "${FILESDIR}"/${PN}-1.2.11-solaris.patch
|
||||
eapply "${FILESDIR}"/${PN}-1.2.13-verbose-build.patch
|
||||
|
||||
# To make the hardened compiler NOT compile with -fPIE -pie
|
||||
if gcc-specs-pie ; then
|
||||
einfo "Disabling PIE..."
|
||||
eapply "${FILESDIR}"/${PN}-1.1.17-gentoo-fix_nopie_for_hardened_toolchain.patch
|
||||
fi
|
||||
|
||||
eapply_user
|
||||
|
||||
# bug #526194
|
||||
sed -e "s@CFLAGS =.*\$@CFLAGS = ${CFLAGS} -g -Wall -Wsign-compare@" \
|
||||
-e "s@LINKFLAGS =.*\$@LINKFLAGS = ${LDFLAGS} -g@" \
|
||||
-i src/runtime/GNUmakefile || die
|
||||
|
||||
sed -e "s@SBCL_PREFIX=\"/usr/local\"@SBCL_PREFIX=\"${EPREFIX}/usr\"@" \
|
||||
-i make-config.sh || die
|
||||
|
||||
cp "${EPREFIX}"/usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die
|
||||
|
||||
use source && sed 's%"$(BUILD_ROOT)%$(MODULE).lisp "$(BUILD_ROOT)%' -i contrib/vanilla-module.mk
|
||||
|
||||
# Some shells(such as dash) don't have "time" as builtin
|
||||
# and we don't want to DEPEND on sys-process/time
|
||||
sed "s,^time ,," -i make.sh || die
|
||||
sed "s,/lib,/$(get_libdir),g" -i install.sh || die
|
||||
# #define SBCL_HOME ...
|
||||
sed "s,/usr/local/lib,${EPREFIX}/usr/$(get_libdir),g" -i src/runtime/runtime.c || die
|
||||
# change location of /etc/sbclrc ...
|
||||
sed "s,/etc/sbclrc,${EPREFIX}/etc/sbclrc,g" -i src/code/toplevel.lisp || die
|
||||
|
||||
find . -type f -name .cvsignore -delete
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# customizing SBCL version as per
|
||||
# http://sbcl.cvs.sourceforge.net/sbcl/sbcl/doc/PACKAGING-SBCL.txt?view=markup
|
||||
echo -e ";;; Auto-generated by Gentoo\n\"gentoo-${PR}\"" > branch-version.lisp-expr
|
||||
|
||||
# applying customizations
|
||||
sbcl_apply_features
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local bindir="${WORKDIR}"/sbcl-binary
|
||||
|
||||
strip-unsupported-flags ; filter-flags -fomit-frame-pointer
|
||||
|
||||
if use pax_kernel ; then
|
||||
# To disable PaX on hardened systems
|
||||
pax-mark -mr "${bindir}"/src/runtime/sbcl
|
||||
|
||||
# Hack to disable PaX on second GENESIS stage
|
||||
sed -i -e '/^[ \t]*echo \/\/doing warm init - compilation phase$/a\ paxmark.sh -mr \.\/src\/runtime\/sbcl' \
|
||||
"${S}"/make-target-2.sh || die "Cannot disable PaX on second GENESIS runtime"
|
||||
fi
|
||||
|
||||
# clear the environment to get rid of non-ASCII strings, see bug 174702
|
||||
# set HOME for paludis
|
||||
env - HOME="${T}" PATH="${PATH}" \
|
||||
CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \
|
||||
CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \
|
||||
GNUMAKE=make ./make.sh \
|
||||
"sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \
|
||||
|| die "make failed"
|
||||
|
||||
# need to set HOME because libpango(used by graphviz) complains about it
|
||||
if use doc; then
|
||||
env - HOME="${T}" PATH="${PATH}" \
|
||||
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
|
||||
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
|
||||
make -C doc/manual info html || die "Cannot build manual"
|
||||
env - HOME="${T}" PATH="${PATH}" \
|
||||
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
|
||||
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
|
||||
make -C doc/internals info html || die "Cannot build internal docs"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ewarn "Unfortunately, it is known that some tests fail eg."
|
||||
ewarn "run-program.impure.lisp. This is an issue of the upstream's"
|
||||
ewarn "development and not of Gentoo's side. Please, before filing"
|
||||
ewarn "any bug(s) search for older submissions. Thank you."
|
||||
time ( cd tests && sh run-tests.sh )
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# install system-wide initfile
|
||||
dodir /etc/
|
||||
sed 's/^X//' > "${ED}"/etc/sbclrc <<-EOF
|
||||
;;; The following is required if you want source location functions to
|
||||
;;; work in SLIME, for example.
|
||||
X
|
||||
(setf (logical-pathname-translations "SYS")
|
||||
X '(("SYS:SRC;**;*.*.*" #p"${EPREFIX}/usr/$(get_libdir)/sbcl/src/**/*.*")
|
||||
X ("SYS:CONTRIB;**;*.*.*" #p"${EPREFIX}/usr/$(get_libdir)/sbcl/**/*.*")))
|
||||
X
|
||||
;;; Setup ASDF2
|
||||
(load "${EPREFIX}/etc/common-lisp/gentoo-init.lisp")
|
||||
EOF
|
||||
|
||||
# Install documentation
|
||||
unset SBCL_HOME
|
||||
INSTALL_ROOT="${ED}/usr" LIB_DIR="${EPREFIX}/usr/$(get_libdir)" DOC_DIR="${ED}/usr/share/doc/${PF}" \
|
||||
sh install.sh || die "install.sh failed"
|
||||
|
||||
# bug #517008
|
||||
pax-mark -mr "${D}"/usr/bin/sbcl
|
||||
|
||||
# rm empty directories lest paludis complain about this
|
||||
find "${ED}" -empty -type d -exec rmdir -v {} +
|
||||
|
||||
if use doc; then
|
||||
docinto html
|
||||
dodoc -r doc/manual/
|
||||
dodoc -r doc/internals/sbcl-internals
|
||||
|
||||
doinfo doc/manual/*.info*
|
||||
doinfo doc/internals/sbcl-internals.info
|
||||
|
||||
docinto internals-notes
|
||||
dodoc doc/internals-notes/*
|
||||
else
|
||||
rm -Rv "${ED}/usr/share/doc/${PF}" || die
|
||||
fi
|
||||
|
||||
dodoc BUGS CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README TLA TODO
|
||||
|
||||
# install the SBCL source
|
||||
if use source; then
|
||||
./clean.sh
|
||||
cp -av src "${ED}/usr/$(get_libdir)/sbcl/" || die
|
||||
fi
|
||||
|
||||
# necessary for running newly-saved images
|
||||
echo "SBCL_HOME=${EPREFIX}/usr/$(get_libdir)/${PN}" > "${ENVD}"
|
||||
echo "SBCL_SOURCE_ROOT=${EPREFIX}/usr/$(get_libdir)/${PN}/src" >> "${ENVD}"
|
||||
doenvd "${ENVD}"
|
||||
}
|
@ -1,241 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit multilib eutils flag-o-matic pax-utils
|
||||
|
||||
#same order as http://www.sbcl.org/platform-table.html
|
||||
BV_X86=1.2.7
|
||||
BV_AMD64=1.3.8
|
||||
BV_PPC=1.2.7
|
||||
BV_SPARC=1.0.28
|
||||
BV_ALPHA=1.0.28
|
||||
BV_ARM=1.2.7
|
||||
BV_ARM64=1.3.8
|
||||
BV_PPC_MACOS=1.0.47
|
||||
BV_X86_MACOS=1.1.6
|
||||
BV_X64_MACOS=1.2.11
|
||||
BV_SPARC_SOLARIS=1.0.23
|
||||
BV_X86_SOLARIS=1.2.7
|
||||
BV_X64_SOLARIS=1.2.7
|
||||
|
||||
DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp"
|
||||
HOMEPAGE="http://sbcl.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2
|
||||
x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 )
|
||||
amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 )
|
||||
ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 )
|
||||
sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 )
|
||||
alpha? ( mirror://sourceforge/sbcl/${PN}-${BV_ALPHA}-alpha-linux-binary.tar.bz2 )
|
||||
arm? ( mirror://sourceforge/sbcl/${PN}-${BV_ARM}-armhf-linux-binary.tar.bz2 )
|
||||
ppc-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC_MACOS}-powerpc-darwin-binary.tar.bz2 )
|
||||
x86-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_X86_MACOS}-x86-darwin-binary.tar.bz2 )
|
||||
x64-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_X64_MACOS}-x86-64-darwin-binary.tar.bz2 )
|
||||
sparc-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC_SOLARIS}-sparc-solaris-binary.tar.bz2 )
|
||||
x86-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_X86_SOLARIS}-x86-solaris-binary.tar.bz2 )
|
||||
x64-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_X64_SOLARIS}-x86-64-solaris-binary.tar.bz2 )"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="debug doc source +threads +unicode pax_kernel zlib"
|
||||
|
||||
CDEPEND=">=dev-lisp/asdf-3.1:="
|
||||
DEPEND="${CDEPEND}
|
||||
doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 )
|
||||
pax_kernel? ( sys-apps/elfix )"
|
||||
RDEPEND="${CDEPEND}
|
||||
!prefix? ( elibc_glibc? ( >=sys-libs/glibc-2.6 ) )"
|
||||
|
||||
# Disable warnings about executable stacks, as this won't be fixed soon by upstream
|
||||
QA_EXECSTACK="usr/bin/sbcl"
|
||||
|
||||
CONFIG="${S}/customize-target-features.lisp"
|
||||
ENVD="${T}/50sbcl"
|
||||
|
||||
# Prevent ASDF from using the system libraries
|
||||
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)"
|
||||
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)"
|
||||
|
||||
usep() {
|
||||
use ${1} && echo "true" || echo "false"
|
||||
}
|
||||
|
||||
sbcl_feature() {
|
||||
echo "$( [[ ${1} == "true" ]] && echo "(enable ${2})" || echo "(disable ${2})")" >> "${CONFIG}"
|
||||
}
|
||||
|
||||
sbcl_apply_features() {
|
||||
sed 's/^X//' > "${CONFIG}" <<-'EOF'
|
||||
(lambda (list)
|
||||
X (flet ((enable (x) (pushnew x list))
|
||||
X (disable (x) (setf list (remove x list))))
|
||||
EOF
|
||||
if use x86 || use amd64; then
|
||||
sbcl_feature "$(usep threads)" ":sb-thread"
|
||||
fi
|
||||
sbcl_feature "true" ":sb-ldb"
|
||||
sbcl_feature "false" ":sb-test"
|
||||
sbcl_feature "$(usep unicode)" ":sb-unicode"
|
||||
sbcl_feature "$(usep zlib)" ":sb-core-compression"
|
||||
sbcl_feature "$(usep debug)" ":sb-xref-for-internals"
|
||||
sed 's/^X//' >> "${CONFIG}" <<-'EOF'
|
||||
X )
|
||||
X list)
|
||||
EOF
|
||||
cat "${CONFIG}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mv sbcl-*-* sbcl-binary || die
|
||||
cd "${S}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}"/gentoo-fix_install_man.patch
|
||||
# bug #468482
|
||||
eapply "${FILESDIR}"/concurrency-test-1.2.6.patch
|
||||
# bugs #486552, #527666, #517004
|
||||
eapply "${FILESDIR}"/bsd-sockets-test-1.2.11.patch
|
||||
# bugs #560276, #561018
|
||||
eapply "${FILESDIR}"/sb-posix-test-1.2.15.patch
|
||||
|
||||
eapply "${FILESDIR}"/${PN}-1.2.11-solaris.patch
|
||||
eapply "${FILESDIR}"/${PN}-1.2.13-verbose-build.patch
|
||||
|
||||
# To make the hardened compiler NOT compile with -fPIE -pie
|
||||
if gcc-specs-pie ; then
|
||||
einfo "Disabling PIE..."
|
||||
eapply "${FILESDIR}"/${PN}-1.1.17-gentoo-fix_nopie_for_hardened_toolchain.patch
|
||||
fi
|
||||
|
||||
eapply_user
|
||||
|
||||
# bug #526194
|
||||
sed -e "s@CFLAGS =.*\$@CFLAGS = ${CFLAGS} -g -Wall -Wsign-compare@" \
|
||||
-e "s@LINKFLAGS =.*\$@LINKFLAGS = ${LDFLAGS} -g@" \
|
||||
-i src/runtime/GNUmakefile || die
|
||||
|
||||
sed -e "s@SBCL_PREFIX=\"/usr/local\"@SBCL_PREFIX=\"${EPREFIX}/usr\"@" \
|
||||
-i make-config.sh || die
|
||||
|
||||
cp "${EPREFIX}"/usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die
|
||||
|
||||
use source && sed 's%"$(BUILD_ROOT)%$(MODULE).lisp "$(BUILD_ROOT)%' -i contrib/vanilla-module.mk
|
||||
|
||||
# Some shells(such as dash) don't have "time" as builtin
|
||||
# and we don't want to DEPEND on sys-process/time
|
||||
sed "s,^time ,," -i make.sh || die
|
||||
sed "s,/lib,/$(get_libdir),g" -i install.sh || die
|
||||
# #define SBCL_HOME ...
|
||||
sed "s,/usr/local/lib,${EPREFIX}/usr/$(get_libdir),g" -i src/runtime/runtime.c || die
|
||||
# change location of /etc/sbclrc ...
|
||||
sed "s,/etc/sbclrc,${EPREFIX}/etc/sbclrc,g" -i src/code/toplevel.lisp || die
|
||||
|
||||
find . -type f -name .cvsignore -delete
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# customizing SBCL version as per
|
||||
# http://sbcl.cvs.sourceforge.net/sbcl/sbcl/doc/PACKAGING-SBCL.txt?view=markup
|
||||
echo -e ";;; Auto-generated by Gentoo\n\"gentoo-${PR}\"" > branch-version.lisp-expr
|
||||
|
||||
# applying customizations
|
||||
sbcl_apply_features
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local bindir="${WORKDIR}"/sbcl-binary
|
||||
|
||||
strip-unsupported-flags ; filter-flags -fomit-frame-pointer
|
||||
|
||||
if use pax_kernel ; then
|
||||
# To disable PaX on hardened systems
|
||||
pax-mark -mr "${bindir}"/src/runtime/sbcl
|
||||
|
||||
# Hack to disable PaX on second GENESIS stage
|
||||
sed -i -e '/^[ \t]*echo \/\/doing warm init - compilation phase$/a\ paxmark.sh -mr \.\/src\/runtime\/sbcl' \
|
||||
"${S}"/make-target-2.sh || die "Cannot disable PaX on second GENESIS runtime"
|
||||
fi
|
||||
|
||||
# clear the environment to get rid of non-ASCII strings, see bug 174702
|
||||
# set HOME for paludis
|
||||
env - HOME="${T}" PATH="${PATH}" \
|
||||
CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \
|
||||
CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \
|
||||
GNUMAKE=make ./make.sh \
|
||||
"sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \
|
||||
|| die "make failed"
|
||||
|
||||
# need to set HOME because libpango(used by graphviz) complains about it
|
||||
if use doc; then
|
||||
env - HOME="${T}" PATH="${PATH}" \
|
||||
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
|
||||
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
|
||||
make -C doc/manual info html || die "Cannot build manual"
|
||||
env - HOME="${T}" PATH="${PATH}" \
|
||||
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
|
||||
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
|
||||
make -C doc/internals info html || die "Cannot build internal docs"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ewarn "Unfortunately, it is known that some tests fail eg."
|
||||
ewarn "run-program.impure.lisp. This is an issue of the upstream's"
|
||||
ewarn "development and not of Gentoo's side. Please, before filing"
|
||||
ewarn "any bug(s) search for older submissions. Thank you."
|
||||
time ( cd tests && sh run-tests.sh )
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# install system-wide initfile
|
||||
dodir /etc/
|
||||
sed 's/^X//' > "${ED}"/etc/sbclrc <<-EOF
|
||||
;;; The following is required if you want source location functions to
|
||||
;;; work in SLIME, for example.
|
||||
X
|
||||
(setf (logical-pathname-translations "SYS")
|
||||
X '(("SYS:SRC;**;*.*.*" #p"${EPREFIX}/usr/$(get_libdir)/sbcl/src/**/*.*")
|
||||
X ("SYS:CONTRIB;**;*.*.*" #p"${EPREFIX}/usr/$(get_libdir)/sbcl/**/*.*")))
|
||||
X
|
||||
;;; Setup ASDF2
|
||||
(load "${EPREFIX}/etc/common-lisp/gentoo-init.lisp")
|
||||
EOF
|
||||
|
||||
# Install documentation
|
||||
unset SBCL_HOME
|
||||
INSTALL_ROOT="${ED}/usr" LIB_DIR="${EPREFIX}/usr/$(get_libdir)" DOC_DIR="${ED}/usr/share/doc/${PF}" \
|
||||
sh install.sh || die "install.sh failed"
|
||||
|
||||
# bug #517008
|
||||
pax-mark -mr "${D}"/usr/bin/sbcl
|
||||
|
||||
# rm empty directories lest paludis complain about this
|
||||
find "${ED}" -empty -type d -exec rmdir -v {} +
|
||||
|
||||
if use doc; then
|
||||
dodoc -r doc/internals/sbcl-internals
|
||||
|
||||
doinfo doc/manual/*.info*
|
||||
doinfo doc/internals/sbcl-internals.info
|
||||
|
||||
docinto internals-notes
|
||||
dodoc doc/internals-notes/*
|
||||
else
|
||||
rm -Rv "${ED}/usr/share/doc/${PF}" || die
|
||||
fi
|
||||
|
||||
# install the SBCL source
|
||||
if use source; then
|
||||
./clean.sh
|
||||
cp -av src "${ED}/usr/$(get_libdir)/sbcl/" || die
|
||||
fi
|
||||
|
||||
# necessary for running newly-saved images
|
||||
echo "SBCL_HOME=${EPREFIX}/usr/$(get_libdir)/${PN}" > "${ENVD}"
|
||||
echo "SBCL_SOURCE_ROOT=${EPREFIX}/usr/$(get_libdir)/${PN}/src" >> "${ENVD}"
|
||||
doenvd "${ENVD}"
|
||||
}
|
@ -1,10 +1,9 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PN=ExtUtils-PkgConfig
|
||||
MODULE_AUTHOR=XAOC
|
||||
MODULE_VERSION=1.15
|
||||
inherit perl-module
|
@ -1,2 +1,3 @@
|
||||
DIST Moo-2.000002.tar.gz 94253 SHA256 fb4bfa751f0dd06bd70f2e06e811f85a640501f263c228a8efafbf6b26691fd4 SHA512 dbafbe0fe976492bc98610591c80d6f5c19c33b61a4d1cf4752ee03b7ceedf5ff5a5ef789436adf49a697508dde7db8a58dafbcec9ac88780b75896cb0dc072c WHIRLPOOL e811e0785f1ec5155d9aa90112f2c04a62d9d00c3f04cb9f8533812ac94592d60b1bb3eb0bfb4e889a776967b6ab9ed45869453d8d59801934b4fa7404f574a0
|
||||
DIST Moo-2.002005.tar.gz 106129 SHA256 8147f98a43f7beb808773202b05d3fba25d5fca018ad939d7e529f4d36d6dc68 SHA512 eb84b6bc13873638efe201562bf4b1c799a2a9ee8dc606236ffbd69cfbc4dbb126a0990e49d29b853e2363cda4cabee4cd338757e107e75da6936a2ff6c5b6b6 WHIRLPOOL fa5b9f78d564183d018bafead56ce7d900ddf40e1a8c74b949c2c1ce27e05a6cc2eb5f1ee37aa4f417410d6fcc3cda39881b56d5f91d36934dd59f36fb3ef8a4
|
||||
DIST Moo-2.003000.tar.gz 95980 SHA256 ccab84b1377e52922026b24b2ed51d83c439757f2b0783fffa73ac22b4fb3dd2 SHA512 50c13d121c44f7ca1bce718b9d8f392eb5961aa4142609f38bdf24f6127b9b09b0cf2bd3f8593f9253f5bab84e5e7f795c5e7b9f3f859bd516cd146b2fdb4a6c WHIRLPOOL 885538a654eceb068ad6b56bc20aaa3b24da201f5309dc533803032ef31f72c90d574bf590f33ba960cde56a2f14d49e87358f90bd9e0c3fbe2538725ac0acc4
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=HAARG
|
||||
DIST_VERSION=2.003000
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Minimalist Object Orientation (with Moose compatiblity)"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~ppc-aix ~ppc-macos ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
# needs Scalar::Util
|
||||
RDEPEND="
|
||||
>=dev-perl/Class-Method-Modifiers-1.100.0
|
||||
>=dev-perl/Devel-GlobalDestruction-0.110.0
|
||||
>=virtual/perl-Exporter-5.570.0
|
||||
>=dev-perl/Module-Runtime-0.14.0
|
||||
>=dev-perl/Role-Tiny-2.0.4
|
||||
>=dev-perl/Sub-Quote-2.3.1
|
||||
virtual/perl-Scalar-List-Utils
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
>=dev-perl/Test-Fatal-0.3.0
|
||||
>=virtual/perl-Test-Simple-0.940.0
|
||||
)
|
||||
"
|
@ -0,0 +1 @@
|
||||
DIST Sub-Quote-2.003001.tar.gz 19131 SHA256 9d471d8e13e7ce4793d5a5ec04a60fface14dd53be78dd94d228871915cfd1f9 SHA512 cd24460e52b68955a460accf673a58235c8f846285a01862198bbb4f6c5718f2977e615099da7eb54a41d76ae75fd7167c7d682c14f6819e65c83f163189dd49 WHIRLPOOL 5166d4c33732b661926f92b2c6ff9ab9f18388ae05b550e4e9e11f9dc0f2d6dd2c126430c5b0baa97047ff82b2ed7b21a785bd74022b3e1fea0c9f62aae02d77
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=HAARG
|
||||
DIST_VERSION=2.003001
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="efficient generation of subroutines via string eval"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test minimal"
|
||||
|
||||
RDEPEND="
|
||||
!<dev-perl/Moo-2.3.0
|
||||
!minimal? (
|
||||
>=dev-perl/Sub-Name-0.80.0
|
||||
)
|
||||
virtual/perl-Scalar-List-Utils
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
>=dev-perl/Test-Fatal-0.3.0
|
||||
>=virtual/perl-Test-Simple-0.940.0
|
||||
)
|
||||
"
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>perl@gentoo.org</email>
|
||||
<name>Gentoo Perl Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="cpan">Sub-Quote</remote-id>
|
||||
<remote-id type="cpan-module">Sub::Defer</remote-id>
|
||||
<remote-id type="cpan-module">Sub::Quote</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,3 +1,4 @@
|
||||
DIST Time-Moment-0.38.tar.gz 150867 SHA256 0a8e3d77676f66095c15d63395cacf7dc283eccf1844ad3b718f4e18d9db74a1 SHA512 e287b66cf6dc902bd3748753246ff554a4f512cdfa41e84ac6dc1d6853d2ec37cf9a4de476914cee4582f2a2121fc14fc6d71e98efa6d8a4f0600aff883571aa WHIRLPOOL 7c151d3d6d10c5aaf335baa5581b6eea275072781d1ace9472da51553ac3d7d1479f2f2815920aa03d5b798bb45f119089156edb5602102fa32493e8a832ef39
|
||||
DIST Time-Moment-0.39.tar.gz 158045 SHA256 4cbbadb1f525a35061965475cafacac92a8fd9b2fcf654b19069170aee041b90 SHA512 40d421cafecaac0fc97fe7f6d353a3bbb54e85f34bac4ffb512c67419d6d86ecc5e7a547604847616c498492e9029f3f116bbd2ec1159f0f210a63fb8b568b51 WHIRLPOOL 8a92ef30cf186c1f5f93e9aefdbe76bfb62d57fcdf09ca24088e96a4fdb0f3b4df25524fcd1449367f503fcf923cc8aeadb376de168eb6669af5a54d3c1db9a4
|
||||
DIST Time-Moment-0.40.tar.gz 158105 SHA256 1c69b2dc999476df6a7bdd25fe64f7042d0a81eebfa5438314cc2e85f97c5c48 SHA512 f67fe86f726ee8ca51a31c2bc37439ede857a34364d0bfa15a78ffb1441cd491ffeb5b52070053e83481c04635bc2e2b449b42b681e4fae39e126c558f167350 WHIRLPOOL 2c2c6168ded680b42aefa51fb1dd2b911e24ca546a4bd005c1092a478574a5c7e4f139e08455bbfc7f4f1721676bdfab1c6c3f781c364dbf704940178c88f240
|
||||
DIST Time-Moment-0.41.tar.gz 158352 SHA256 5aa9d8340ab68ffaa9c40d712e4d7636954b1ae37f670d42616a213b18bbd2b7 SHA512 577ba309e0c14324dd96cfe7bbfa1f25c97f2223ac4e052dbfec3f7f8f9181866fd8c047d7ce849e88c6b90c9c4c9243355cd82c66dbdf643375c2916184145e WHIRLPOOL f51a9274e9643f1fc820fab7b9816f6b797aa2d0224f058d7295eaec63ebade07f7f01e5a446758d3a0f0b31e81af0728f2e7357623dc6163e1367eee4cf6896
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=CHANSEN
|
||||
DIST_VERSION=0.41
|
||||
DIST_EXAMPLES=("eg/*")
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Represents a date and time of day with an offset from UTC"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/0.38-makefilepl.patch"
|
||||
)
|
||||
RDEPEND="
|
||||
virtual/perl-Carp
|
||||
virtual/perl-Time-HiRes
|
||||
>=virtual/perl-XSLoader-0.20.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.590.0
|
||||
>=virtual/perl-ExtUtils-ParseXS-3.180.0
|
||||
test? (
|
||||
>=dev-perl/Test-Fatal-0.6.0
|
||||
>=dev-perl/Test-Number-Delta-1.60.0
|
||||
dev-perl/Test-Requires
|
||||
>=virtual/perl-Test-Simple-0.880.0
|
||||
)
|
||||
"
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# Note: greenlet is built-in in pypy
|
||||
PYTHON_COMPAT=( python{2_7,3_4} )
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="Lightweight in-process concurrent programming"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/greenlet/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm -hppa ~ppc ppc64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_compile() {
|
||||
if [[ ${EPYTHON} == python2.7 ]]; then
|
||||
local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS}
|
||||
append-flags -fno-strict-aliasing
|
||||
fi
|
||||
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" run-tests.py -n || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# Note: greenlet is built-in in pypy
|
||||
PYTHON_COMPAT=( python{2_7,3_4} )
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="Lightweight in-process concurrent programming"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/greenlet/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm -hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_compile() {
|
||||
if [[ ${EPYTHON} == python2.7 ]]; then
|
||||
local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS}
|
||||
append-flags -fno-strict-aliasing
|
||||
fi
|
||||
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" run-tests.py -n || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# Note: greenlet is built-in in pypy
|
||||
PYTHON_COMPAT=( python{2_7,3_4} )
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="Lightweight in-process concurrent programming"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/greenlet/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm -hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_compile() {
|
||||
if [[ ${EPYTHON} == python2.7 ]]; then
|
||||
local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS}
|
||||
append-flags -fno-strict-aliasing
|
||||
fi
|
||||
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" run-tests.py -n || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# Note: greenlet is built-in in pypy
|
||||
PYTHON_COMPAT=( python2_7 python3_4 )
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="Lightweight in-process concurrent programming"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/greenlet/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm -hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="
|
||||
app-arch/unzip
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_compile() {
|
||||
if [[ ${EPYTHON} == python2.7 ]]; then
|
||||
local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS}
|
||||
append-flags -fno-strict-aliasing
|
||||
fi
|
||||
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" run-tests.py -n || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# Note: greenlet is built-in in pypy
|
||||
PYTHON_COMPAT=( python2_7 python3_4 )
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="Lightweight in-process concurrent programming"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/greenlet/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm -hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="
|
||||
app-arch/unzip
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_compile() {
|
||||
if [[ ${EPYTHON} == python2.7 ]]; then
|
||||
local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS}
|
||||
append-flags -fno-strict-aliasing
|
||||
fi
|
||||
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" run-tests.py -n || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST guessit-1.0.3.tar.gz 1200782 SHA256 6de9149b663b415ebc1f4ab9f12eb624ca859cf13cc1a491382f56619f33f59b SHA512 be427d3ac5b598fe14b26b4fa41c3bd9c0cc946df85381c61be9180275b54f6beac9d433ba781f4351bf94eba5a53b1097d8503268efd9019d50beb60f92cfcb WHIRLPOOL 31b2bb0e57a395f38f7ebe2420945cf00e00149a8345db245c3978cebb6366b53b8b1eae89838d4729e1e8c15abef2f4c8c91f64e5eb3e6f36a56f54de715546
|
||||
DIST guessit-2.0.5.tar.gz 74464 SHA256 626e0024c5cca9b84883b65246e4f238e3f39064664486f69f086c853a63ff61 SHA512 6d02df5caebc0373ea0609b2ef4fa0b2ca2bedce62f5df3f1bdcf84808c09aff57f1c043704effedfb3ca4dbd4235f5a84c5580b1f2839f79933b40342309d2a WHIRLPOOL da5da3ac6a27f96714683acafe9664c316c522290cdd01308097c42fd55e8df16f735e54938c1e8b7b3c2531426d00b60c5361aedd8da8eea597fdc27a22b858
|
||||
DIST guessit-2.1.0.tar.gz 77587 SHA256 a534a46bef3bbac7b313a55744860a9ddd5b7fae6abb6f6ae8bbace2b3e973b1 SHA512 0acdfa75dab709cfab00772536404503865554f060052ddb05c120d019e4c70833a4af7a7a7401ca608a65a0e8927e61e11d10878ba77b51fc8f99b3950e2ec0 WHIRLPOOL eafc863bddda4f63a22b9088ae7eba3d9ce7c56f82b25d5e0a6c84e6c20a877906d651acf04cd9d5243ebd32ac73064c2e96c2ae83226fbe814e2831cebaf590
|
||||
DIST guessit-2.1.1.tar.gz 86447 SHA256 cdb51ced109e05318f35dc5ee1c50182a85edd800e86de77ec96eb68a0a99391 SHA512 61ace43bacf4bf2289bd1f0cd5105080b8302d92be8bda77942355594e07db14b594c73e4bf42bd14840f9f9723d602a38cd443cc3e1fabdca335d364fa97e2f WHIRLPOOL 885ee697f4929523527747d3ce5c0b548c6bcfe34c0e590bb1b8e5e4530ae4be6c0264a62dad83c5e2356a9063a9930ea3216f44b6df1b73000fd41c45b0e905
|
||||
|
@ -1 +1,2 @@
|
||||
DIST pyftpdlib-1.4.0.tar.gz 116280 SHA256 5fdd1492efe478f4c354f7d65d9308359751c8fb1d0376466b74a76721c5fcf3 SHA512 61cf28d72a3a99bdc9bddcf434275e4edaeff60bf6481c1e854d81a4ea23ae97b73c8da9d0629a705a003ae8a941c529f9b9ed7cfa25759bd5cd6517f9958ff9 WHIRLPOOL 676f58061e07aa8a9dcce9c7076962875866cebca8eacdd624053cab32de3a7bdb0b17337105839b6c997bf2b4263e759c962362930afddaedc1e9a151b855fa
|
||||
DIST pyftpdlib-1.5.1.tar.gz 127582 SHA256 7bcd7fc825123414a157718c6dcdcb0978208d3c865d4650564acef4acce3354 SHA512 81bb634aef7190d97b5939b998c8dd8caf1ce77c2ca66d085826880590a03e7fe4aeefb5eb67f30f25b984962eaae740c4c8c1d5900909029702e37c36bb2b9b WHIRLPOOL 2b878db9386d3fc81d0e2749facfa4183704f705afb677fdae0031a721a050d246eda80fb8eb7dfb7b5369269f57b7995f201d07f1b54e133e2e7d85277d0615
|
||||
|
@ -1,17 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>phajdan.jr@gentoo.org</email>
|
||||
<name>Pawel Hajdan jr</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="google-code">pyftpdlib</remote-id>
|
||||
<remote-id type="pypi">pyftpdlib</remote-id>
|
||||
<remote-id type="github">giampaolo/pyftpdlib</remote-id>
|
||||
</upstream>
|
||||
<maintainer type="person">
|
||||
<email>phajdan.jr@gentoo.org</email>
|
||||
<name>Pawel Hajdan jr</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">pyftpdlib</remote-id>
|
||||
<remote-id type="github">giampaolo/pyftpdlib</remote-id>
|
||||
<bugs-to>https://github.com/giampaolo/pyftpdlib/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
|
||||
PYTHON_REQ_USE="ssl(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python FTP server library"
|
||||
HOMEPAGE="https://github.com/giampaolo/pyftpdlib https://pypi.python.org/pypi/pyftpdlib"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE="examples ssl test"
|
||||
|
||||
RDEPEND="ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( ${RDEPEND} )
|
||||
"
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" ${PN}/test/runner.py || die "Tests failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc -r demo/.
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] && \
|
||||
[[ ${PYTHON_TARGETS} == *python2_7* ]] && \
|
||||
! has_version dev-python/pysendfile ; then
|
||||
elog "dev-python/pysendfile is not installed"
|
||||
elog "It can considerably speed up file transfers for Python 2"
|
||||
fi
|
||||
}
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} pypy{,3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Simple powerful testing with Python"
|
||||
HOMEPAGE="http://pytest.org/ https://pypi.python.org/pypi/pytest"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
# When bumping, please check setup.py for the proper py version
|
||||
PY_VER="1.4.29"
|
||||
COMMON_DEPEND="
|
||||
>=dev-python/py-${PY_VER}[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/hypothesis-3.5.2[${PYTHON_USEDEP}]
|
||||
>dev-python/pytest-xdist-1.13[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!dev-python/logilab-common
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
chmod o-w *egg*/* || die
|
||||
# Disable versioning of py.test script to avoid collision with
|
||||
# versioning performed by the eclass.
|
||||
sed -e "s/return points/return {'py.test': target}/" -i setup.py || die "sed failed"
|
||||
grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency"
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# test_nose.py not written to suit py3.2 in pypy3
|
||||
if [[ "${EPYTHON}" == pypy3 ]]; then
|
||||
"${PYTHON}" "${BUILD_DIR}"/lib/pytest.py -x -v \
|
||||
--ignore=testing/BUILD_nose.py \
|
||||
|| die "tests failed with ${EPYTHON}"
|
||||
else
|
||||
"${PYTHON}" "${BUILD_DIR}"/lib/pytest.py -v testing || die "tests failed with ${EPYTHON}"
|
||||
fi
|
||||
}
|
||||
|
||||
python_compile_all(){
|
||||
use doc && emake -C doc/en html
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && HTML_DOCS=( doc/en/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST rebulk-0.7.2.tar.gz 254345 SHA256 ee4c75819c6d0eeedb531fb22c214e50f303ccc4703f27db1f993cd082ed5a20 SHA512 2855b6f754dd258e5e0ba8264cd6993c08fed141fb8b61f88b43beadea9acfcfeb54443c8708fa98de44f2c199dd900e6c9669dc616713dd61d873779f1df2f5 WHIRLPOOL a814772e5d34d6890b1435d652992a9b898435c4075619660351988d1ba955723a8440b8bde6a0c3e6547a465a9b040d085059a7938509a4edc9d7a21318148a
|
||||
DIST rebulk-0.7.6.tar.gz 256070 SHA256 1357820b13460fc30ecdf58b7743b34da79f76bec954c21051da9eefab0e82cd SHA512 89dcaeecf559ab79c7d1d2f2f58d3f882e25517a95dacf2d1991d2035c40697cc0848bc28884b08ba7eb83d66ddc42b6f3d90133489ef45abef56ead260d95e5 WHIRLPOOL 466490082fbb1cbb57183ef9b5df7efd4449bb6dbff3fe91d730d9a4d44a9a85835caad4dece29be0be9f48485d6da2120db246c458858f507a706506da2211b
|
||||
DIST rebulk-0.8.2.tar.gz 257147 SHA256 8c09901bda7b79a21d46faf489d67d017aa54d38bdabdb53f824068a6640401a SHA512 7abbeb1974102db4846759de6c797b9fb0b81a6ffe573d8a7590342da8ed5b4c006258407540be8563d51fb36ac2a148132e879586a200a923cfe93dcc715bee WHIRLPOOL e50c3ca72801a11f9d926ea42572c910fba1660cdf6827bd2a00755beb808711dd2718a433c983bf20792bd7a05faf3820eb3477dbb639fe170dae68779a28c9
|
||||
|
@ -1 +1,2 @@
|
||||
DIST rencode-1.0.3.tar.gz 24105 SHA256 13c47ca2f9cf060083de7e5886e725731863c4a5d95545c68e0bb3a2149da444 SHA512 2697c496d34e2a6a9fe0ab7bdc57e4dab97e5d7409d7530899f951a08c9f32740fd0b0da644afa7cc98c3248f5aa034717b93644d02083fd2ef5f224269fef3f WHIRLPOOL 05580374bc5419586fe88757b498fa8ae1b0591c15263ec016a2d1300252b8b28dfe8c3761904e73577b86c0059e5a195c89488f281057dcc4f9c377d2a408d1
|
||||
DIST rencode-1.0.5.tar.gz 24530 SHA256 cbdb8d2473aa5a7246e1a8077055be697fccec88477b78248c5fe93d79e2cd26 SHA512 809d7070b746fe77419e7b4d2eed274e1e0b3b4f15bcddb466806478a90f89965b0b456443b390cce6d1ca9df409367f336dd659f4481cd442e3cc459bd63c18 WHIRLPOOL 105e83bf78cf6f0696f221211e0421c93af81706be764f944c55c690db870a5c66b38eea46effffbf1ca434adceb45c7ebf61d596944e8714170b2e353941cff
|
||||
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="similar to bencode from the BitTorrent project"
|
||||
HOMEPAGE="https://github.com/aresch/rencode"
|
||||
SRC_URI="https://github.com/aresch/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="dev-python/cython[${PYTHON_USEDEP}]"
|
@ -1,3 +1,4 @@
|
||||
DIST seaborn-0.5.1.tar.gz 104426 SHA256 8c8f7f1036cf6155be3d987ee23d2eeeed8c272b0803b32b7d524614f8526688 SHA512 bbcdf0625e096b8f41d56521f3e319a64d82632131d80ed1e81144362fe881d9b5df4d3b5a5fa09363b1782897d9ac68d3fc647d82da4e0017c5dba21c897b8d WHIRLPOOL 682a32f2d40a742e87659f27a675c437875a4b4dfcfd8195b774c49ae38f5ad73ee4b73aa00dabab33ccb6015e5eb5326605c897c8b1cac341cc9db0d6143f73
|
||||
DIST seaborn-0.6.0.tar.gz 145188 SHA256 e078399b56ed0d53a4aa8bd4d6bd4a9a9deebc0b4acad259d0ef81830affdb68 SHA512 3b7e7c1b72bd55aba012f312b43920044ea011648b4d855f4acd813ae644a75b4c60aa56c35ea759dcd7683bb6d9ea3b4f1209215950a5014ad46ebe04088fb1 WHIRLPOOL 66c9834f982f4a27c1a884bd4c8f73bb718fe0948bc7b3bde86f7d9bd354bbf783e36c576b8e2b0ded50cdf63244f463b9419e808ab70f6d5c2a24e89c570e99
|
||||
DIST seaborn-0.7.0.tar.gz 154263 SHA256 15a8b2747becfdb86cfa60b5fcfa9bb934e42ef0ced660e0d57e8aea741f7145 SHA512 475785b074c154e3f2442450c15926dddbbad6a76a808247aeab42eb5f6a0b92b7e2daf032f4adea62d7c9ef3ac3d6eb1bb9aaf35b152ca75faeaedb748e38be WHIRLPOOL bb15397b33487d3ece614ee35a7c7239d3ad616ea4c074f57672637f9193539a7bd923cb23a8c51cc5543bdb80e0e70a8e0bb4c30c69601b58a4f0ed1fc43809
|
||||
DIST seaborn-0.7.1.tar.gz 158146 SHA256 fa274344b1ee72f723bab751c40a5c671801d47a29ee9b5e69fcf63a18ce5c5d SHA512 6c730d87a97f0df3b38b78ee9255d47b900aece1308127e2772dc982b19691efe6afe192752c89cba9e9532b567dc1c3c103675e580e6f1151355ea89d1019b3 WHIRLPOOL 072ac50dfd554160b1225f0b901258915feddca91d47fd1c54e6469d9767478cd01b8585e2e236f2c5658dcbee9f6ea6c0b7f3ea0e3e0e41cdfd21343489b077
|
||||
|
@ -1,34 +1,42 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Seaborn is a library for making attractive and informative statistical graphics
|
||||
in Python. It is built on top of matplotlib and tightly integrated with the
|
||||
PyData stack, including support for numpy and pandas data structures and
|
||||
statistical routines from scipy and statsmodels.
|
||||
<maintainer type="person">
|
||||
<email>horea.christ@gmail.com</email>
|
||||
<name>Horea Christian</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Seaborn is a library for making attractive and informative statistical graphics
|
||||
in Python. It is built on top of matplotlib and tightly integrated with the
|
||||
PyData stack, including support for numpy and pandas data structures and
|
||||
statistical routines from scipy and statsmodels.
|
||||
|
||||
Some of the features that seaborn offers are
|
||||
Some of the features that seaborn offers are
|
||||
|
||||
* Several built-in themes that improve on the default matplotlib aesthetics
|
||||
* Tools for choosing color palettes to make beautiful plots that reveal
|
||||
patterns in your data
|
||||
* Functions for visualizing univariate and bivariate distributions or for
|
||||
comparing them between subsets of data
|
||||
* Tools that fit and visualize linear regression models for different kinds
|
||||
of independent and dependent variables
|
||||
* Functions that visualize matrices of data and use clustering algorithms to
|
||||
discover structure in those matrices
|
||||
* A function to plot statistical timeseries data with flexible estimation and
|
||||
representation of uncertainty around the estimate
|
||||
* High-level abstractions for structuring grids of plots that let you easily
|
||||
build complex visualizations
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="pypi">seaborne</remote-id>
|
||||
<remote-id type="github">mwaskom/seaborn</remote-id>
|
||||
</upstream>
|
||||
* Several built-in themes that improve on the default matplotlib aesthetics
|
||||
* Tools for choosing color palettes to make beautiful plots that reveal
|
||||
patterns in your data
|
||||
* Functions for visualizing univariate and bivariate distributions or for
|
||||
comparing them between subsets of data
|
||||
* Tools that fit and visualize linear regression models for different kinds
|
||||
of independent and dependent variables
|
||||
* Functions that visualize matrices of data and use clustering algorithms to
|
||||
discover structure in those matrices
|
||||
* A function to plot statistical timeseries data with flexible estimation and
|
||||
representation of uncertainty around the estimate
|
||||
* High-level abstractions for structuring grids of plots that let you easily
|
||||
build complex visualizations
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="pypi">seaborne</remote-id>
|
||||
<remote-id type="github">mwaskom/seaborn</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_{4,5}} )
|
||||
|
||||
inherit distutils-r1 virtualx
|
||||
|
||||
DESCRIPTION="Statistical data visualization"
|
||||
HOMEPAGE="http://stanford.edu/~mwaskom/software/seaborn/ https://github.com/mwaskom/seaborn"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/pandas[${PYTHON_USEDEP}]
|
||||
dev-python/patsy[${PYTHON_USEDEP}]
|
||||
dev-python/statsmodels[${PYTHON_USEDEP}]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
python_test() {
|
||||
cat > matplotlibrc <<- EOF || die
|
||||
backend : Agg
|
||||
EOF
|
||||
virtx nosetests --verbosity=3 || die
|
||||
}
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/pypa/setuptools.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Collection of extensions to Distutils"
|
||||
HOMEPAGE="https://github.com/pypa/setuptools https://pypi.python.org/pypi/setuptools"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
# >=dev-python/packaging-16.4[${PYTHON_USEDEP}]
|
||||
# >=dev-python/six-1.10.0[${PYTHON_USEDEP}]
|
||||
# "
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/pip[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-2.8[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
# >=dev-python/pyparsing-2.0.6[${PYTHON_USEDEP}]
|
||||
PDEPEND="
|
||||
>=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]"
|
||||
|
||||
# Force in-source build because build system modifies sources.
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} )
|
||||
|
||||
python_prepare_all() {
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
python_setup
|
||||
${EPYTHON} bootstrap.py || die
|
||||
fi
|
||||
|
||||
# rm -r ./pkg_resources/_vendor || die
|
||||
# disable tests requiring a network connection
|
||||
rm setuptools/tests/test_packageindex.py || die
|
||||
|
||||
# don't run integration tests
|
||||
rm setuptools/tests/test_integration.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
|
||||
# It tries to sandbox the test in a tempdir
|
||||
HOME="${PWD}" py.test --verbose ${PN} || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
|
||||
distutils-r1_python_install
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST xlwt-0.7.5.tar.gz 115100 SHA256 9478bd70b86590b9ac2697967c8a10a4917d900636349ca73eeb362a3227423c SHA512 d385c36c80002998891dd93d4ebcdd962239463ee089965961d3b8955d4783bbcdec96920891a252ee6cb076eab6b13ffad83e7758c179dcbc684e82fa8dfe35 WHIRLPOOL 46d01a1bcfc5f01585082bf3ff8750cecd7ce87b5ebe279a3d9377c8c7e272f070cb28d430285c900d0e2389469097088b6126932c76f3778b274b86696f6adc
|
||||
DIST xlwt-1.0.0.tar.gz 129588 SHA256 ac432939eec8daa9f88af994ff53f009e607a4e1102772ec0be0b2a86b2c1cf9 SHA512 45788a506635f1ef6380d46aa0af724e511e401e8347dcf48dbf4e2d90e7f4c7f66838cd9616cf58807ffb939daba1f47b0d2cf449f8cb528db41fba84cc8866 WHIRLPOOL d3d344faae89fad012f05fe5b19e5ce16dd144016abf7ea15123a9725c77a732e85d93131c692dbcaf306cdc8d1b06efcaf39227265c612200107d2c20541132
|
||||
DIST xlwt-1.1.2.tar.gz 153374 SHA256 aed648c17731f40f84550dd2a1aaa53569f0cbcaf5610ba895cd2632587b723c SHA512 dfe27e1415bd9ebe83b41f45fe8f08396269d4075014bacb7e59384aa8bea0e5479e0a4874fc727ab00c8c8ee44a17f9af8736f78a30db76b7330e79a1942cc3 WHIRLPOOL b44468558b39d3819a75ab1c6b9db8a66fd6fd8e1bfe9bd23661788dc77796bf3788405d386ff191f27b10b361757a5bfc94e8bb4f895bdc85bc18fb9350a5a4
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python library to create spreadsheet files compatible with Excel"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/xlwt"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc examples test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
>=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}]
|
||||
dev-python/pkginfo[${PYTHON_USEDEP}]
|
||||
)
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
# Prevent d'loading in the doc build
|
||||
PATCHES=( "${FILESDIR}"/docbuild.patch )
|
||||
|
||||
python_prepare_all() {
|
||||
# Don't install documentation and examples in site-packages directories.
|
||||
sed -e "/package_data/d" -i setup.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests tests || die "tests failed under ${EPYTHON}}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST zeep-0.22.0.tar.gz 87637 SHA256 f561e010a86678341cee45b0f7e03284bf3b2b60c25ac8bcfc600488a507ad3c SHA512 42fb3ca2d8e459b48ebafa77d31642b08c02d931b9cac75b6697917439b7ad7eba5e9ec91b769f3c21dfc972557243ffd48da49234d649903dc0da440bef4b88 WHIRLPOOL c2c528fceb5008d2be3dbcf7b1967e6dab3d3ba49ad5265826508edc5742d03b773c0d2cb38e33aa07ca66162ceced686be17fc6e842f2b599084dd7eec7adaf
|
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>cedk@gentoo.org</email>
|
||||
<name>Cédric Krier</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
A fast and modern Python SOAP client
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} pypy )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A modern/fast Python SOAP client based on lxml / requests"
|
||||
HOMEPAGE="http://docs.python-zeep.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools"
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-python/appdirs-1.4.0
|
||||
>=dev-python/cached-property-1.0.0
|
||||
>=dev-python/defusedxml-0.4.1
|
||||
>=dev-python/isodate-0.5.4
|
||||
>=dev-python/lxml-3.0.0
|
||||
dev-python/pytz
|
||||
>=dev-python/requests-2.7.0
|
||||
>=dev-python/six-1.9.0"
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
dodoc README.rst CHANGES
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST psych-2.0.17.gem 128000 SHA256 e85529ced4f91728a63c945f8bdf5206e71fc3192b9ac0e7ba251dbf0d398513 SHA512 f82bb015986941193878c6223fee69930c4e643d2432057d83399dd1763834ea0116b360b23c371d1b050414f2a769bb6762d3e0dd6e891d1b94ebe260194452 WHIRLPOOL 2455312625d12110e0de5514f1b52d8a7c7c3855289115edd270b0f7804f9bcef6c9879b731bcad696e4c038a4aef0b046bd23a58f771cc4b51d41c96c537483
|
||||
DIST psych-2.1.0.gem 128512 SHA256 92bf0d9bd47e4fafc74f6fad89e207f21348878c201ac36967ec587526d3dde9 SHA512 767d33759f7536e2b1c87c85f0659856f37be2c5c9b48d07bd8b7c538b42a40527335df300ad1b53e5212f6020e156e9066b3babc2fde1b758e330fd53106c48 WHIRLPOOL 969f01c2658b880ac92295a158da2629f6b5cad988c1135d8dda88c822fe0a0d55f90c5682d394a6aea8b05cc3d575b59245e3c51a4767d8485862c801a88243
|
||||
DIST psych-2.1.1.tar.gz 132735 SHA256 c98c173060042b9a4740e553d4cc8da01a688564c40bccdaef9859d698161cad SHA512 d4e26004153dc66179194c83800b8d8a3d1230efe1ee16c6f9939d87365f6d3707d9988e95c513e4411661cfa704aef067df23cc44f9172b428a0575ea893f6b WHIRLPOOL 06f072f563dec2a7249ed3d32254c61582f786f21a4b65f5bf01242f25a9a3534f6f069712204d22d3b540b87ded71a647ce2047f845de4a25dbfb322c38027e
|
||||
DIST psych-2.2.0.tar.gz 133402 SHA256 97936452a7c246a3e1c813c3d0066504255da867a13978aea8f7e507988e4f19 SHA512 b8abbb99d2ee3bd0213ddd410485a7b3ef80a1497535ce0a922211b0ac0baca501b83c2deb2e2cee3644c29a2f550b6199af104b9eaf5d822ae592563d0cd362 WHIRLPOOL 1f17eadab16cbcb9cb170b6ba5f405d539f2b911912dddbba74fc44f816b1256d1f04d5ee75909617fa9f87dd5f05a63f23bbf6439dc2b8d3bd1681a25f065cf
|
||||
DIST psych-2.2.1.tar.gz 133482 SHA256 a80d5455657de0348106f8bf585448415231016ca653497e9f00249b0b1c99af SHA512 4a79a5e5ba32482b9fd0467bb272d38ffebf8e8f621dc93b75d0848ba1b9b658e4d318c01fef7fe317c27d81b280cb6d4288112d29c9ae43768ecfc9ad7e19da WHIRLPOOL c045b84224ebfe7d1c183d15c049e4833ed73c225112e4ac548911d902888f3a544cfe9ca558d746568b1bac5cb94c2a16ceb3f8f78bb9f2d1a65b53e54c3dd6
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc"
|
||||
|
||||
inherit multilib ruby-fakegem
|
||||
|
||||
DESCRIPTION="A libyaml wrapper for Ruby"
|
||||
HOMEPAGE="https://github.com/tenderlove/psych"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND+=" >=dev-libs/libyaml-0.1.6"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/minitest:5 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '1igem "minitest", "~>5.0"' test/psych/helper.rb || die
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext/${PN} extconf.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake V=1 -Cext/${PN}
|
||||
cp ext/${PN}/${PN}$(get_modname) lib/ || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:test:test/${PN}:. -e "Dir['test/psych/**/test_*.rb'].each {|f| require f}" || die
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue