parent
3ab58653ce
commit
f657800f0b
@ -1,3 +1,4 @@
|
||||
DIST restic-0.4.0.tar.gz 22926188 SHA256 746dbc7b73f5a542be57b71714b243266a011f1d750f56f5100c08a59df1aeac SHA512 ccd15f010f8da3bae3d33698e70ff1d9565f52fb56991b78d35f95493417a4ab050021153d81c424947233255d9553d050f7a66e1c709843fe3b2d323a81f85b WHIRLPOOL 94e6b9ed777a86cb6e46cf734b9280e68cc2ce1ea061c8a94409dca594add1ec24fb736a56e35571302ff5043a60bef7f60ff3b39b038ee128bc815f7d3d48cd
|
||||
DIST restic-0.5.0.tar.gz 22937327 SHA256 a8e99087478a076b8a9c7c74d37cd23a56224d8c9b242c171756784ade024fda SHA512 571e4b0aa92a6cd9320f48c46a4b2190576d9328169d54762747dfa024ab280fb41ee377b59f0114d89ebd50bc54488a8cb5e2b36c57959202e848394107bb3c WHIRLPOOL 19fef25a6e2dff3145a6700abb581e7cae3abe5522ee0197f56a572d499824e84ba25a3111c5e71856ffac18d75622766c74c585a44b6db489468050e1c8d59a
|
||||
DIST restic-0.6.1.tar.gz 25231223 SHA256 7cd709c592a5978723673397d7d13c37c0977e20c43db253d0c274b53a55654a SHA512 8c899ca8b6e3dfa399fe5c4306f72a1bcfa869dd667d27f3f88efa26aaa1000959bf91b515911b2ef7b2d4c5bb3e2ed4f202c87add7766d2147b7d40f0757a9a WHIRLPOOL 39225876fd6ce9e4ddac765688238ab5ea430272aacc6e96d54c359de939d2e69cdc45a5571cb63777c258a74b5a9bfbd6114d2463004b242b009856d87b6e2e
|
||||
DIST restic-0.7.0.tar.gz 25331189 SHA256 0d50e846429005fb78cb8d62876a8f0748942d7422cb115aba2d0669d25afee7 SHA512 13a7748d5317fb623b4a2dcc7771f09a2039159cc2a0d762d80ca253d59dd5d22f463fb2b033d134b540c2f239b9a75bb2eb13a08a61e009b78a56fa73ff4c2d WHIRLPOOL ae0d7fb17df4fd8346dcdd80172ec44e7127c354237472611e43a31bf85ed4342a6d79725761a7667608095e36d14b0e85a3b58bde27db24d0e5c9ff9c1b5027
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="A backup program that is fast, efficient and secure"
|
||||
HOMEPAGE="https://restic.github.io/"
|
||||
SRC_URI="https://github.com/restic/restic/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DOCS=( README.rst CONTRIBUTING.md doc/design.rst doc/faq.rst doc/index.rst doc/manual.rst
|
||||
doc/rest_backend.rst doc/development.rst doc/talks.rst doc/tutorial_aws_s3.rst doc/installation.rst )
|
||||
|
||||
DEPEND="dev-lang/go
|
||||
test? ( sys-fs/fuse )"
|
||||
|
||||
RDEPEND="sys-fs/fuse"
|
||||
|
||||
src_compile() {
|
||||
local mygoargs=(
|
||||
-v
|
||||
-work
|
||||
-x
|
||||
-tags release
|
||||
-ldflags "-w -X main.version=${PV}"
|
||||
-asmflags "-trimpath=${S}/vendor -trimpath=${S}"
|
||||
-gcflags "-trimpath=${S}/vendor -trimpath=${S}"
|
||||
-o "${S}"/restic cmds/restic
|
||||
)
|
||||
|
||||
GOPATH="${S}:${S}/vendor" go build "${mygoargs[@]}" || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
GOPATH="${S}:${S}/vendor" go test -v -work -x restic/... cmds/... || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin restic
|
||||
einstalldocs
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST texmaker-4.4.1.tar.bz2 11274997 SHA256 80939493ffb6c92f47c47109dff6de4c91259244247e90ddfb1bb6153559b4b4 SHA512 a165b7757f2170d42f3d48d644cb351efd4d308b1a0601105952c3253084ae4a3d0bbfb7915207ff60d0ba7036283c6c8305a901d7ac8aab4e79c1bb78f68ddd WHIRLPOOL 3b00a894a194659d64ea8058ca1f0d04a68904f4eb638121f935ab83583b83c57bae3d1abb8d1e0541bed4bbaa44336e9733e8de3d346098dafae319437909f2
|
||||
DIST texmaker-4.5.tar.bz2 11287724 SHA256 2ce9966e410bf878649d1c756e3dc2a077e55e1eaa9f4beb10aa7224cd94d614 SHA512 623ae1496f11e5cd1328b997dbb29ec7188d6c1b256b6370c6fdd4fcda4bfc4b301d29cfa3b2ce529391b8f9913ea4678a6895abfb4fa6f9820e7177c676ab11 WHIRLPOOL 0fb00957cb6fe2f3181ac6a6ad917fd60d90ca05bcbaa14da62045ac6c5d78126d9abeb1429bd1fe48a25416d95a1a52c53f83cad91cb0540fcd043a9ea63045
|
||||
|
@ -1,98 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils qmake-utils readme.gentoo
|
||||
|
||||
DESCRIPTION="A nice LaTeX-IDE"
|
||||
HOMEPAGE="http://www.xm1math.net/texmaker/"
|
||||
SRC_URI="http://www.xm1math.net/texmaker/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="+qt4 qt5"
|
||||
|
||||
REQUIRED_USE="^^ ( qt4 qt5 )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-text/hunspell
|
||||
app-text/poppler:=[qt4?,qt5?]
|
||||
sys-libs/zlib
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
dev-qt/qtsingleapplication[X,qt4?,qt5?]
|
||||
qt4? (
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtscript:4
|
||||
dev-qt/qtwebkit:4
|
||||
)
|
||||
qt5? (
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtscript:5
|
||||
dev-qt/qtwebkit:5[printsupport]
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtxml:5
|
||||
)
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/latex-base
|
||||
app-text/psutils
|
||||
app-text/ghostscript-gpl
|
||||
media-libs/netpbm
|
||||
qt4? ( app-i18n/ibus-qt )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-4.1-unbundle.patch
|
||||
"${FILESDIR}"/${P}-modern-styles.patch
|
||||
)
|
||||
|
||||
DOCS=( utilities/AUTHORS utilities/CHANGELOG.txt )
|
||||
HTML_DOCS=( doc/. )
|
||||
|
||||
src_prepare() {
|
||||
find singleapp hunspell -delete || die
|
||||
|
||||
epatch "${PATCHES[@]}"
|
||||
|
||||
cat >> ${PN}.pro <<- EOF
|
||||
exists(texmakerx_my.pri):include(texmakerx_my.pri)
|
||||
EOF
|
||||
|
||||
cp "${FILESDIR}"/texmakerx_my.pri . || die
|
||||
|
||||
sed \
|
||||
-e '/^#include/s:hunspell/::g' \
|
||||
-e '/^#include/s:singleapp/::g' \
|
||||
-i *.cpp *.h || die
|
||||
|
||||
DOC_CONTENTS="A user manual with many screenshots is available at:
|
||||
${EPREFIX}/usr/share/${PN}/usermanual_en.html"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeqmakeargs=(
|
||||
${PN}.pro
|
||||
PREFIX="${EPREFIX}/usr"
|
||||
DESKTOPDIR="${EPREFIX}/usr/share/applications"
|
||||
ICONDIR="${EPREFIX}/usr/share/pixmaps"
|
||||
)
|
||||
if use qt4; then
|
||||
eqmake4 ${myeqmakeargs[@]}
|
||||
else
|
||||
eqmake5 ${myeqmakeargs[@]}
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
einstalldocs
|
||||
readme.gentoo_create_doc
|
||||
}
|
@ -1,98 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils qmake-utils readme.gentoo
|
||||
|
||||
DESCRIPTION="A nice LaTeX-IDE"
|
||||
HOMEPAGE="http://www.xm1math.net/texmaker/"
|
||||
SRC_URI="http://www.xm1math.net/texmaker/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="qt4 +qt5"
|
||||
|
||||
REQUIRED_USE="^^ ( qt4 qt5 )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-text/hunspell
|
||||
app-text/poppler:=[qt4?,qt5?]
|
||||
sys-libs/zlib
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
dev-qt/qtsingleapplication[X,qt4?,qt5?]
|
||||
qt4? (
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtscript:4
|
||||
dev-qt/qtwebkit:4
|
||||
)
|
||||
qt5? (
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtscript:5
|
||||
dev-qt/qtwebkit:5[printsupport]
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtxml:5
|
||||
)
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/latex-base
|
||||
app-text/psutils
|
||||
app-text/ghostscript-gpl
|
||||
media-libs/netpbm
|
||||
qt4? ( app-i18n/ibus-qt )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-unbundle.patch
|
||||
"${FILESDIR}"/${P}-modern-styles.patch
|
||||
)
|
||||
|
||||
DOCS=( utilities/AUTHORS utilities/CHANGELOG.txt )
|
||||
HTML_DOCS=( doc/. )
|
||||
|
||||
src_prepare() {
|
||||
find singleapp hunspell -delete || die
|
||||
|
||||
epatch "${PATCHES[@]}"
|
||||
|
||||
cat >> ${PN}.pro <<- EOF
|
||||
exists(texmakerx_my.pri):include(texmakerx_my.pri)
|
||||
EOF
|
||||
|
||||
cp "${FILESDIR}"/texmakerx_my.pri . || die
|
||||
|
||||
sed \
|
||||
-e '/^#include/s:hunspell/::g' \
|
||||
-e '/^#include/s:singleapp/::g' \
|
||||
-i *.cpp *.h || die
|
||||
|
||||
DOC_CONTENTS="A user manual with many screenshots is available at:
|
||||
${EPREFIX}/usr/share/${PN}/usermanual_en.html"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeqmakeargs=(
|
||||
${PN}.pro
|
||||
PREFIX="${EPREFIX}/usr"
|
||||
DESKTOPDIR="${EPREFIX}/usr/share/applications"
|
||||
ICONDIR="${EPREFIX}/usr/share/pixmaps"
|
||||
)
|
||||
if use qt4; then
|
||||
eqmake4 ${myeqmakeargs[@]}
|
||||
else
|
||||
eqmake5 ${myeqmakeargs[@]}
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
einstalldocs
|
||||
readme.gentoo_create_doc
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST repmgr-3.0.1.tar.gz 91724 SHA256 27656442aacc1c97a006039a50cf6da84b4d38fc11542a555df24d93ae6b02bc SHA512 5655745df18132ee53ff36f80b3a2bb8caa6cedd8091350464cf343386baa31c47d46b25c171dda0fd1f4c3402babea9864f4557a10659111449a2eb2e1fa2b9 WHIRLPOOL 48383f717c1ab4f6b07d724af3b52bf7d257855300b289a887d1cb88c66ef7ae434a609e233168ad4cd7310cdb7a47e2101baf5d0ea52436d2576f02eec55a83
|
||||
DIST repmgr-3.3.2.tar.gz 162107 SHA256 3ca93e58aee941967c4088cd8f4535a0096949234cbdc8629e2447e7dbe2e610 SHA512 98fba8fc0d9074e496c66762dbec45734fe279f39c9c51adb3e66dca929ac37f66a609789c8c658545856fd81f5afc5b35f6b5e389e52bce8c04ce8c52acd8dd WHIRLPOOL f82b65f74a2e4ce2e767b71984553ee4727e7bc0608ef2840ee488cc649292f7bd26dd59f43ba4c3ca50a902e0f85c431ab4d75b2b1315d79d266f4c6ebfab8c
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib
|
||||
DESCRIPTION="PostgreSQL Replication Manager"
|
||||
HOMEPAGE="http://www.repmgr.org/"
|
||||
SRC_URI="http://www.repmgr.org/download/${P}.tar.gz"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-db/postgresql-9.3[server,static-libs]"
|
||||
RDEPEND="${DEPEND}
|
||||
net-misc/rsync"
|
||||
|
||||
src_compile() {
|
||||
emake USE_PGXS=1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" USE_PGXS=1 install
|
||||
export PGSLOT="$(postgresql-config show)"
|
||||
einfo "PGSLOT: ${PGSLOT}"
|
||||
PGBASEDIR=/usr/$(get_libdir)/postgresql-${PGSLOT}
|
||||
PGBINDIR=${PGBASEDIR}/bin/
|
||||
PGCONTRIB=/usr/share/postgresql-${PGSLOT}/contrib/
|
||||
dodir $PGCONTRIB $PGBINDIR
|
||||
insinto $PGCONTRIB
|
||||
doins sql/repmgr2_repmgr3.sql
|
||||
dosym $PGBINDIR/repmgr /usr/bin/repmgr${PGSLOT//.}
|
||||
dosym $PGBINDIR/repmgrd /usr/bin/repmgrd${PGSLOT//.}
|
||||
dodoc CREDITS HISTORY COPYRIGHT TODO *.md *.rst
|
||||
insinto /etc
|
||||
newins repmgr.conf.sample repmgr.conf
|
||||
fowners postgres:postgres /etc/repmgr.conf
|
||||
ewarn "Remember to modify /etc/repmgr.conf"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST js-jquery-3.1.1.tar.gz 111855 SHA256 d72f67d72bd71d675bcdc75dd280c4a27d90784eb51c661a3da567e0186f2a04 SHA512 cc95bdcf6fe2b45e7d585fcd7d83aee39b8dbed7c8e763c808a07a140203e58441896431920ee14b1861ee09a903cedca140c0a48405ffddaef2a71d11b21359 WHIRLPOOL 23b50a2cef69f81d378ac12eb2fa491dafba6a5188a583965600333b49eb129a4ab4ee27a3c4ec6cabd97c1cfd2dc69a2801083da0d1a492dc8b9ff722fdae08
|
||||
DIST js-jquery-3.2.1.tar.gz 112319 SHA256 60503d82d0a601291cf0aa495edecbdb749dcf8982502bf18b9a886979ac1e0f SHA512 f3e8f1183d52c39cc456240f4e0e5cbfbab3216609cf06f3862fb512e31f72f34a100a3df920c8b55fb511db9a6cd92be2a3aeccd0a916bb455865622f213fcd WHIRLPOOL f8775c7362c256e7a2fb1e7325f7f53af564378f61a45eecd88f204edc8358939c7facff7b4d95343672d49ae3fa97411c39665d33440369f87dd99b4afa1cbf
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
# ebuild generated by hackport 0.5.2.9999
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Obtain minified jQuery code"
|
||||
HOMEPAGE="https://github.com/ndmitchell/js-jquery#readme"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT=test # needs network access
|
||||
|
||||
RDEPEND=">=dev-lang/ghc-7.4.1:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.18
|
||||
test? ( dev-haskell/http )
|
||||
"
|
@ -0,0 +1,100 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit bash-completion-r1 multiprocessing toolchain-funcs
|
||||
|
||||
BV=0.23.0-1
|
||||
BV_AMD64=${BV}-linux-x86_64
|
||||
BV_X86=${BV}-linux-i686
|
||||
|
||||
DESCRIPTION="The Crystal Programming Language"
|
||||
HOMEPAGE="https://crystal-lang.org"
|
||||
SRC_URI="https://github.com/crystal-lang/crystal/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
amd64? ( https://github.com/crystal-lang/crystal/releases/download/${PV}/crystal-${BV_AMD64}.tar.gz )
|
||||
x86? ( https://github.com/crystal-lang/crystal/releases/download/${PV}/crystal-${BV_X86}.tar.gz )"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc debug examples blocking-stdio-hack +xml +yaml"
|
||||
|
||||
# dev-libs/boehm-gc[static-libs] dependency problem, check the issue: https://github.com/manastech/crystal/issues/1382
|
||||
DEPEND="
|
||||
>=sys-devel/llvm-3.9.0
|
||||
dev-libs/boehm-gc[static-libs,threads]
|
||||
dev-libs/libatomic_ops
|
||||
dev-libs/libevent
|
||||
dev-libs/libpcre
|
||||
sys-libs/libunwind
|
||||
dev-libs/pcl
|
||||
dev-libs/gmp:0
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
xml? ( dev-libs/libxml2 )
|
||||
yaml? ( dev-libs/libyaml )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.23.0-verbose-LDFLAGS.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
use blocking-stdio-hack && eapply "${FILESDIR}"/"${PN}"-0.22.0-blocking-stdio-hack.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
$(usex debug "" release=1) \
|
||||
progress=true \
|
||||
stats=1 \
|
||||
threads=$(makeopts_jobs) \
|
||||
verbose=1 \
|
||||
\
|
||||
CC=$(tc-getCC) \
|
||||
CXX=$(tc-getCXX) \
|
||||
AR=$(tc-getAR) \
|
||||
\
|
||||
PATH="${WORKDIR}"/${PN}-${BV}/bin:"${PATH}" \
|
||||
CRYSTAL_PATH=src \
|
||||
CRYSTAL_CONFIG_VERSION=${PV} \
|
||||
CRYSTAL_CONFIG_PATH="lib:${EPREFIX}/usr/$(get_libdir)/crystal"
|
||||
use doc && emake doc
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake spec \
|
||||
$(usex debug "" release=1) \
|
||||
progress=true \
|
||||
stats=1 \
|
||||
threads=$(makeopts_jobs) \
|
||||
verbose=1 \
|
||||
\
|
||||
CC=$(tc-getCC) \
|
||||
CXX=$(tc-getCXX) \
|
||||
AR=$(tc-getAR) \
|
||||
\
|
||||
CRYSTAL_PATH=src \
|
||||
CRYSTAL_CONFIG_VERSION=${PV}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/$(get_libdir)/crystal
|
||||
doins -r src/.
|
||||
dobin .build/crystal
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins etc/completion.zsh _crystal
|
||||
|
||||
use examples && dodoc -r samples
|
||||
|
||||
if use doc ; then
|
||||
docinto api
|
||||
dodoc -r doc/.
|
||||
fi
|
||||
|
||||
newbashcomp etc/completion.bash ${PN}
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
From c2b789403a1ca833bcabada5347bb18d7bd095c2 Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Trofimovich <slyfox@gentoo.org>
|
||||
Date: Wed, 15 May 2013 22:04:01 +0300
|
||||
Subject: [PATCH] fix build failure on gcc-4.8 (missing forward declaration)
|
||||
|
||||
Fixes the following build error:
|
||||
> gcc -c -IH -D__UNIX__ -DNDEBUG -O2 -o GccUnixR/parser.o parser.c
|
||||
> In file included from parser.c:35:0:
|
||||
> H/parser.h:305:48: warning: 'struct expr' declared inside parameter list [enabled by default]
|
||||
> extern void EmitConstError( const struct expr * );
|
||||
> ^
|
||||
> H/parser.h:305:48: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
|
||||
> parser.c:790:6: error: conflicting types for 'EmitConstError'
|
||||
> void EmitConstError( const struct expr *opnd )
|
||||
> ^
|
||||
> In file included from parser.c:35:0:
|
||||
> H/parser.h:305:19: note: previous declaration of 'EmitConstError' was here
|
||||
> extern void EmitConstError( const struct expr * );
|
||||
> ^
|
||||
> make: *** [GccUnixR/parser.o] Error 1
|
||||
|
||||
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
||||
---
|
||||
H/parser.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/H/parser.h b/H/parser.h
|
||||
index 1744f0d..c2c7b99 100644
|
||||
--- a/H/parser.h
|
||||
+++ b/H/parser.h
|
||||
@@ -302,6 +302,7 @@ extern int SizeFromMemtype( enum memtype, int, struct asym * );
|
||||
extern ret_code MemtypeFromSize( int, enum memtype * );
|
||||
extern int SizeFromRegister( int );
|
||||
extern ret_code GetLangType( int *, struct asm_tok[], enum lang_type * );
|
||||
+struct expr;
|
||||
extern void EmitConstError( const struct expr * );
|
||||
|
||||
extern void sym_add_table( struct symbol_queue *, struct dsym * );
|
||||
--
|
||||
1.8.2.1
|
||||
|
@ -1,60 +0,0 @@
|
||||
From b19339d4356efbd9b49f73e67ed7c09b9dad4b75 Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Trofimovich <slyfox@gentoo.org>
|
||||
Date: Thu, 16 May 2013 12:24:17 +0300
|
||||
Subject: [PATCH 1/2] types: add sanity tests for used sizes
|
||||
|
||||
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
||||
---
|
||||
GccUnix.mak | 2 +-
|
||||
checks.c | 26 ++++++++++++++++++++++++++
|
||||
2 files changed, 27 insertions(+), 1 deletion(-)
|
||||
create mode 100644 checks.c
|
||||
|
||||
diff --git a/GccUnix.mak b/GccUnix.mak
|
||||
index 567b842..bcb2fef 100644
|
||||
--- a/GccUnix.mak
|
||||
+++ b/GccUnix.mak
|
||||
@@ -44,7 +44,7 @@ proj_obj = $(OUTD)/main.o $(OUTD)/assemble.o $(OUTD)/assume.o \
|
||||
$(OUTD)/apiemu.o $(OUTD)/dbgcv.o $(OUTD)/end.o \
|
||||
$(OUTD)/backptch.o $(OUTD)/msgtext.o $(OUTD)/tbyte.o \
|
||||
$(OUTD)/cpumodel.o $(OUTD)/safeseh.o $(OUTD)/cmdline.o \
|
||||
- $(OUTD)/fastpass.o
|
||||
+ $(OUTD)/fastpass.o $(OUTD)/checks.o
|
||||
######
|
||||
|
||||
#.c.o:
|
||||
diff --git a/checks.c b/checks.c
|
||||
new file mode 100644
|
||||
index 0000000..af8630f
|
||||
--- /dev/null
|
||||
+++ b/checks.c
|
||||
@@ -0,0 +1,26 @@
|
||||
+/****************************************************************************
|
||||
+*
|
||||
+* This code is Public Domain.
|
||||
+*
|
||||
+* ========================================================================
|
||||
+*
|
||||
+* Description: make sure "inttype.h" filelds are of the desired size.
|
||||
+*
|
||||
+****************************************************************************/
|
||||
+
|
||||
+#include "inttype.h"
|
||||
+
|
||||
+/* fails to compile if type sizes are of unexpected size */
|
||||
+static void validate_inttype_sizes()
|
||||
+{
|
||||
+/* try to create */
|
||||
+#define T_IS_SIZE(__type, __expected_size, __test_name) \
|
||||
+ char __test_name[2 * (sizeof (__type) == (__expected_size)) - 1];
|
||||
+
|
||||
+ T_IS_SIZE(uint_8, 1, size_of_uint_8_must_be_1_byte);
|
||||
+ T_IS_SIZE(uint_16, 2, size_of_uint_16_must_be_2_bytes);
|
||||
+ T_IS_SIZE(uint_32, 4, size_of_uint_32_must_be_4_bytes);
|
||||
+ T_IS_SIZE(uint_64, 8, size_of_uint_64_must_be_8_bytes);
|
||||
+
|
||||
+#undef T_IS_SIZE
|
||||
+}
|
||||
--
|
||||
1.8.2.1
|
||||
|
@ -1,28 +0,0 @@
|
||||
From 4399dabdd55fdf9da08c3604c5b3545391c1d44f Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Trofimovich <slyfox@gentoo.org>
|
||||
Date: Thu, 16 May 2013 12:24:44 +0300
|
||||
Subject: [PATCH 2/2] H/inttype.h: make uint_32 be a 32-bit int on x86_64-gcc
|
||||
|
||||
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
||||
---
|
||||
H/inttype.h | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/H/inttype.h b/H/inttype.h
|
||||
index 7316cbc..af2ef17 100644
|
||||
--- a/H/inttype.h
|
||||
+++ b/H/inttype.h
|
||||
@@ -31,6 +31,10 @@
|
||||
|
||||
#ifndef _INTTYPE_H_INCLUDED_
|
||||
#define _INTTYPE_H_INCLUDED_
|
||||
+/* some autoconfiguration */
|
||||
+#if defined(__LP64__)
|
||||
+# define LONG_IS_64BITS 1
|
||||
+#endif /* __LP64__ */
|
||||
|
||||
typedef unsigned uint;
|
||||
|
||||
--
|
||||
1.8.2.1
|
||||
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs versionator
|
||||
|
||||
# 2.10 -> 210s
|
||||
MY_PN=JWasm
|
||||
MY_PV="$(delete_version_separator 1)s"
|
||||
MY_P="${MY_PN}${MY_PV}"
|
||||
|
||||
DESCRIPTION="MASM-compatible TASM-similar assembler (fork of Wasm)"
|
||||
HOMEPAGE="http://www.japheth.de/JWasm.html"
|
||||
SRC_URI="http://www.japheth.de/Download/${MY_PN}/${MY_P}.zip"
|
||||
LICENSE="Watcom-1.0"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-gcc-4.8-fwdecl.patch
|
||||
epatch "${FILESDIR}"/${P}-types-test.patch
|
||||
epatch "${FILESDIR}"/${P}-uint_32-on-amd64.patch
|
||||
# don't strip binary
|
||||
sed -i GccUnix.mak -e 's/ -s / /g' || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -f GccUnix.mak CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin GccUnixR/jwasm
|
||||
dodoc *.txt Doc/*.txt
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs versionator
|
||||
|
||||
# 2.10 -> 210s
|
||||
MY_PN=JWasm
|
||||
MY_PV="$(delete_version_separator 1)s"
|
||||
MY_P="${MY_PN}${MY_PV}"
|
||||
|
||||
DESCRIPTION="MASM-compatible TASM-similar assembler (fork of Wasm)"
|
||||
HOMEPAGE="http://www.japheth.de/JWasm.html"
|
||||
SRC_URI="http://www.japheth.de/Download/${MY_PN}/${MY_P}.zip"
|
||||
LICENSE="Watcom-1.0"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-types-test.patch
|
||||
# don't strip binary
|
||||
sed -i GccUnix.mak -e 's/ -s / /g' || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -f GccUnix.mak CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin GccUnixR/jwasm
|
||||
dodoc *.txt Doc/*.txt
|
||||
}
|
@ -1,5 +1,2 @@
|
||||
DIST nim-0.14.2.tar.xz 4778444 SHA256 8f8d38d70ed57164795fc55e19de4c11488fcd31dbe42094e44a92a23e3f5e92 SHA512 34afd07fafd066f6b4acc423c21e1cc275dce00f575d01f0d1edc147946930cf13c772abe0c4a081e2e0091ad41f6ae5cead20cc4d9a7cb3bc628ad7469f6459 WHIRLPOOL 7109f28fd8e0e83a386e9a26b46a3fbb2ad9cc0c8736107fe7eb573c301768d0c3d149407657478431f8107a539cb18bb6db5ce0e0de6e96e25769dfec43a2df
|
||||
DIST nim-0.15.0.tar.xz 3786260 SHA256 c514535050b2b2156147bbe6e23aafe07cd996b2afa2c81fa9a09e1cd8c669fb SHA512 b115ed08e888a1a92fca601ca5580815ed7c1e8baf158a4bc6d351933f99a06fb4725983feae2fded50ce46c46c5b3ca6485671e66eb71962dc2a2956bc83fd8 WHIRLPOOL 15312851dbeda771dfa6f9a061d6a8358e847668efba2a31f8506c4b9398bd96d02d587c55bab0955714d6894877c3cbf7be9625e4802ca17a150c678b5b245a
|
||||
DIST nim-0.15.2.tar.xz 3251764 SHA256 905df2316262aa2cbacae067acf45fc05c2a71c8c6fde1f2a70c927ebafcfe8a SHA512 708bcb5e4defed46982eff6434e9a54505d744e65336129f0fadc187ec3e6d538974b67ad1d0305e7d55e33582bfaa87c52224335d169517714a9f07b533eda6 WHIRLPOOL fae86470d350aca4c65fcdc73a02a3f94eb288642a7294374581eb0e3bc3cc5e92d0bc48a2daec16fee54a1376722289886f7438fbf13b8645305f38d26ab902
|
||||
DIST nim-0.16.0.tar.xz 2907076 SHA256 9e199823be47cba55e62dd6982f02cf0aad732f369799fec42a4d8c2265c5167 SHA512 6be1c00328b7e5bdaa9070e1cd0e3c6e1883c5bc1e44e9c574785f9bce93697f05753f598cf6fdaa6c5a66f08c2ad6f7afb8f6650fc3b1c8e461eb0cf80baabd WHIRLPOOL 425454faab87c0144712c50a114f9fc05dd2676b8d85b1de1cb7569403d60a557c41990ca03bfa04156289e49f1d2e6906a5b798341f642cea9c325546b38e41
|
||||
DIST nim-0.17.0.tar.xz 25079320 SHA256 36e18dd9384f6c67e6d0199b871b43e774a0af30532698184d6f5a9cc9ac7a9b SHA512 90d709b39746fac5582b9df69d3eb9e3b7a39563a98f7a3002f00716b936e4e0d2be47d8b877878318692e6e2b85c08077dfcc20d9059573a1967402c244894b WHIRLPOOL 5c934a10e7c67a11964436ba3fe332320a6cc9fff15f93ce71e844024e48f77e6a809212882338ac6b3024bb15d2b0314068b643c251c65dfa258bb6daa52599
|
||||
|
@ -1,26 +0,0 @@
|
||||
From fe362543de00806a3d69ddd0de33caf0cae2e57e Mon Sep 17 00:00:00 2001
|
||||
From: GaveUp <gaveup@gaveup.net>
|
||||
Date: Tue, 4 Oct 2016 10:56:07 -0500
|
||||
Subject: [PATCH] Revert change to osalloc.nim from commit 8d7a45f.
|
||||
|
||||
Change caused MAP_ANONYMOUS to have an incorrect value when compiling
|
||||
for mipsel.
|
||||
|
||||
Fixes #4852.
|
||||
---
|
||||
lib/system/osalloc.nim | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/lib/system/osalloc.nim b/lib/system/osalloc.nim
|
||||
index b07a362..316dd74 100644
|
||||
--- a/lib/system/osalloc.nim
|
||||
+++ b/lib/system/osalloc.nim
|
||||
@@ -87,8 +87,6 @@ elif defined(posix):
|
||||
const MAP_ANONYMOUS = 0x1000
|
||||
elif defined(solaris):
|
||||
const MAP_ANONYMOUS = 0x100
|
||||
- elif defined(linux):
|
||||
- const MAP_ANONYMOUS = 0x20
|
||||
else:
|
||||
var
|
||||
MAP_ANONYMOUS {.importc: "MAP_ANONYMOUS", header: "<sys/mman.h>".}: cint
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_PN=Nim
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="compiled, garbage-collected systems programming language"
|
||||
HOMEPAGE="http://nim-lang.org/"
|
||||
SRC_URI="http://nim-lang.org/download/${P}.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc +readline test"
|
||||
|
||||
DEPEND="
|
||||
readline? ( sys-libs/readline:0= )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
nim_use_enable() {
|
||||
[[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
|
||||
use $1 && echo "-d:$2"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
./build.sh || die "build.sh failed"
|
||||
|
||||
./bin/nim c koch || die "csources nim failed"
|
||||
./koch boot -d:release $(nim_use_enable readline useGnuReadline) || die "koch boot failed"
|
||||
|
||||
if use doc; then
|
||||
PATH="./bin:$PATH" ./koch web || die "koch web failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
PATH="./bin:$PATH" ./koch test || die "test suite failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
./koch install "${D}/usr" || die "koch install failed"
|
||||
rm -r "${D}/usr/nim/doc" || die "failed to remove 'doc'"
|
||||
|
||||
dodir /usr/bin
|
||||
dosym ../nim/bin/nim /usr/bin/nim
|
||||
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
dodoc doc/*.html
|
||||
fi
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_PN=Nim
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="compiled, garbage-collected systems programming language"
|
||||
HOMEPAGE="http://nim-lang.org/"
|
||||
SRC_URI="http://nim-lang.org/download/${P}.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc +readline test"
|
||||
|
||||
DEPEND="
|
||||
readline? ( sys-libs/readline:0= )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=("${FILESDIR}"/${P}-fix-mips-build.patch)
|
||||
|
||||
nim_use_enable() {
|
||||
[[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
|
||||
use $1 && echo "-d:$2"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
./build.sh || die "build.sh failed"
|
||||
|
||||
./bin/nim c koch || die "csources nim failed"
|
||||
./koch boot -d:release $(nim_use_enable readline useGnuReadline) || die "koch boot failed"
|
||||
|
||||
if use doc; then
|
||||
PATH="./bin:$PATH" ./koch web || die "koch web failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
PATH="./bin:$PATH" ./koch test || die "test suite failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
./koch install "${D}/usr" || die "koch install failed"
|
||||
rm -r "${D}/usr/nim/doc" || die "failed to remove 'doc'"
|
||||
|
||||
dodir /usr/bin
|
||||
dosym ../nim/bin/nim /usr/bin/nim
|
||||
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
dodoc doc/*.html
|
||||
fi
|
||||
}
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_PN=Nim
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="compiled, garbage-collected systems programming language"
|
||||
HOMEPAGE="http://nim-lang.org/"
|
||||
SRC_URI="http://nim-lang.org/download/${P}.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc +readline test"
|
||||
|
||||
DEPEND="
|
||||
readline? ( sys-libs/readline:0= )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
nim_use_enable() {
|
||||
[[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
|
||||
use $1 && echo "-d:$2"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
./build.sh || die "build.sh failed"
|
||||
|
||||
./bin/nim c koch || die "csources nim failed"
|
||||
./koch boot -d:release $(nim_use_enable readline useGnuReadline) || die "koch boot failed"
|
||||
|
||||
if use doc; then
|
||||
PATH="./bin:$PATH" ./koch web || die "koch web failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
PATH="./bin:$PATH" ./koch test || die "test suite failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
./koch install "${D}/usr" || die "koch install failed"
|
||||
rm -r "${D}/usr/nim/doc" || die "failed to remove 'doc'"
|
||||
|
||||
dodir /usr/bin
|
||||
dosym ../nim/bin/nim /usr/bin/nim
|
||||
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
dodoc doc/*.html
|
||||
fi
|
||||
}
|
@ -0,0 +1,144 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic java-pkg-opt-2 multilib
|
||||
|
||||
PATCHSET_VER="0"
|
||||
|
||||
DESCRIPTION="free, small, and standard compliant Prolog compiler"
|
||||
HOMEPAGE="http://www.swi-prolog.org/"
|
||||
SRC_URI="http://www.swi-prolog.org/download/stable/src/swipl-${PV}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="archive berkdb debug doc +gmp hardened java +libedit libressl minimal odbc readline ssl static-libs test uuid zlib X"
|
||||
|
||||
RDEPEND="sys-libs/ncurses:=
|
||||
archive? ( app-arch/libarchive )
|
||||
berkdb? ( >=sys-libs/db-4:= )
|
||||
zlib? ( sys-libs/zlib )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
readline? ( sys-libs/readline:= )
|
||||
libedit? ( dev-libs/libedit )
|
||||
gmp? ( dev-libs/gmp:0 )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
)
|
||||
java? ( >=virtual/jdk-1.5:= )
|
||||
uuid? ( dev-libs/ossp-uuid )
|
||||
X? (
|
||||
virtual/jpeg:0
|
||||
x11-libs/libX11
|
||||
x11-libs/libXft
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXt
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-proto/xproto )
|
||||
java? ( test? ( =dev-java/junit-3.8* ) )"
|
||||
|
||||
S="${WORKDIR}/swipl-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE=yes
|
||||
EPATCH_SUFFIX=patch
|
||||
if [[ -d "${WORKDIR}"/${PV} ]] ; then
|
||||
epatch "${WORKDIR}"/${PV}
|
||||
fi
|
||||
|
||||
if ! use uuid; then
|
||||
mv packages/clib/uuid.pl packages/clib/uuid.pl.unused || die
|
||||
fi
|
||||
|
||||
# OSX/Intel ld doesn't like an archive without table of contents
|
||||
sed -i -e 's/-cru/-scru/' packages/nlp/libstemmer_c/Makefile.pl || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
use ppc && append-flags -mno-altivec
|
||||
use hardened && append-flags -fno-unit-at-a-time
|
||||
use debug && append-flags -DO_DEBUG
|
||||
|
||||
# ARCH is used in the configure script to figure out host and target
|
||||
# specific stuff
|
||||
export ARCH=${CHOST}
|
||||
|
||||
export CC_FOR_BUILD=$(tc-getBUILD_CC)
|
||||
|
||||
cd "${S}"/src || die
|
||||
econf \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
$(use_enable gmp) \
|
||||
$(use_enable static-libs static) \
|
||||
--enable-shared \
|
||||
--enable-custom-flags COFLAGS="${CFLAGS}"
|
||||
|
||||
if ! use minimal ; then
|
||||
local jpltestconf
|
||||
if use java && use test ; then
|
||||
jpltestconf="--with-junit=$(java-config --classpath junit)"
|
||||
fi
|
||||
|
||||
cd "${S}/packages" || die
|
||||
econf \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
$(use_with archive) \
|
||||
$(use_with berkdb bdb ) \
|
||||
$(use_with java jpl) \
|
||||
${jpltestconf} \
|
||||
$(use_with libedit) \
|
||||
$(use_with odbc) \
|
||||
$(use_with readline) \
|
||||
$(use_with ssl) \
|
||||
$(use_with X xpce) \
|
||||
$(use_with zlib) \
|
||||
COFLAGS='"${CFLAGS}"'
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/src || die
|
||||
emake
|
||||
|
||||
if ! use minimal ; then
|
||||
cd "${S}/packages" || die
|
||||
emake
|
||||
./report-failed || die "Cannot report failed packages"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/src" || die
|
||||
emake check
|
||||
|
||||
if ! use minimal ; then
|
||||
unset DISPLAY
|
||||
cd "${S}/packages" || die
|
||||
emake \
|
||||
USE_PUBLIC_NETWORK_TESTS=false \
|
||||
USE_ODBC_TESTS=false \
|
||||
check
|
||||
./report-failed || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C src DESTDIR="${D}" install
|
||||
|
||||
if ! use minimal ; then
|
||||
emake -C packages DESTDIR="${D}" install
|
||||
if use doc ; then
|
||||
emake -C packages DESTDIR="${D}" html-install
|
||||
fi
|
||||
./packages/report-failed || die "Cannot report failed packages"
|
||||
fi
|
||||
|
||||
dodoc ReleaseNotes/relnotes-5.10 INSTALL README.md VERSION
|
||||
}
|
@ -0,0 +1,144 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic java-pkg-opt-2 multilib
|
||||
|
||||
PATCHSET_VER="0"
|
||||
|
||||
DESCRIPTION="free, small, and standard compliant Prolog compiler"
|
||||
HOMEPAGE="http://www.swi-prolog.org/"
|
||||
SRC_URI="http://www.swi-prolog.org/download/devel/src/swipl-${PV}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="archive berkdb debug doc +gmp hardened java +libedit libressl minimal odbc readline ssl static-libs test uuid zlib X"
|
||||
|
||||
RDEPEND="sys-libs/ncurses:=
|
||||
archive? ( app-arch/libarchive )
|
||||
berkdb? ( >=sys-libs/db-4:= )
|
||||
zlib? ( sys-libs/zlib )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
readline? ( sys-libs/readline:= )
|
||||
libedit? ( dev-libs/libedit )
|
||||
gmp? ( dev-libs/gmp:0 )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
)
|
||||
java? ( >=virtual/jdk-1.5:= )
|
||||
uuid? ( dev-libs/ossp-uuid )
|
||||
X? (
|
||||
virtual/jpeg:0
|
||||
x11-libs/libX11
|
||||
x11-libs/libXft
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXt
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-proto/xproto )
|
||||
java? ( test? ( =dev-java/junit-3.8* ) )"
|
||||
|
||||
S="${WORKDIR}/swipl-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE=yes
|
||||
EPATCH_SUFFIX=patch
|
||||
if [[ -d "${WORKDIR}"/${PV} ]] ; then
|
||||
epatch "${WORKDIR}"/${PV}
|
||||
fi
|
||||
|
||||
if ! use uuid; then
|
||||
mv packages/clib/uuid.pl packages/clib/uuid.pl.unused || die
|
||||
fi
|
||||
|
||||
# OSX/Intel ld doesn't like an archive without table of contents
|
||||
sed -i -e 's/-cru/-scru/' packages/nlp/libstemmer_c/Makefile.pl || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
use ppc && append-flags -mno-altivec
|
||||
use hardened && append-flags -fno-unit-at-a-time
|
||||
use debug && append-flags -DO_DEBUG
|
||||
|
||||
# ARCH is used in the configure script to figure out host and target
|
||||
# specific stuff
|
||||
export ARCH=${CHOST}
|
||||
|
||||
export CC_FOR_BUILD=$(tc-getBUILD_CC)
|
||||
|
||||
cd "${S}"/src || die
|
||||
econf \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
$(use_enable gmp) \
|
||||
$(use_enable static-libs static) \
|
||||
--enable-shared \
|
||||
--enable-custom-flags COFLAGS="${CFLAGS}"
|
||||
|
||||
if ! use minimal ; then
|
||||
local jpltestconf
|
||||
if use java && use test ; then
|
||||
jpltestconf="--with-junit=$(java-config --classpath junit)"
|
||||
fi
|
||||
|
||||
cd "${S}/packages" || die
|
||||
econf \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
$(use_with archive) \
|
||||
$(use_with berkdb bdb ) \
|
||||
$(use_with java jpl) \
|
||||
${jpltestconf} \
|
||||
$(use_with libedit) \
|
||||
$(use_with odbc) \
|
||||
$(use_with readline) \
|
||||
$(use_with ssl) \
|
||||
$(use_with X xpce) \
|
||||
$(use_with zlib) \
|
||||
COFLAGS='"${CFLAGS}"'
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/src || die
|
||||
emake
|
||||
|
||||
if ! use minimal ; then
|
||||
cd "${S}/packages" || die
|
||||
emake
|
||||
./report-failed || die "Cannot report failed packages"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/src" || die
|
||||
emake check
|
||||
|
||||
if ! use minimal ; then
|
||||
unset DISPLAY
|
||||
cd "${S}/packages" || die
|
||||
emake \
|
||||
USE_PUBLIC_NETWORK_TESTS=false \
|
||||
USE_ODBC_TESTS=false \
|
||||
check
|
||||
./report-failed || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C src DESTDIR="${D}" install
|
||||
|
||||
if ! use minimal ; then
|
||||
emake -C packages DESTDIR="${D}" install
|
||||
if use doc ; then
|
||||
emake -C packages DESTDIR="${D}" html-install
|
||||
fi
|
||||
./packages/report-failed || die "Cannot report failed packages"
|
||||
fi
|
||||
|
||||
dodoc ReleaseNotes/relnotes-5.10 INSTALL README.md VERSION
|
||||
}
|
@ -1 +1 @@
|
||||
DIST Dist-Zilla-Plugin-AuthorsFromGit-0.004.tar.gz 4920 SHA256 d8b7a4140d0acd0b66990b6f9960c79393cc52807c2094b0e367d8c96356b0d2 SHA512 d0695f4192d27f523f0661a69541051d6806d29896e5e153bb070fcc5aa371240c12183b0c3a0c2b0d488b728ed58463fbdb94a0d67fa2188665cc956d7d6859 WHIRLPOOL f10343d60a2a017543216da62094232551d6aa334c16811bfd514994d735ddafc2416fb1a0f8932002e5643d1f1462622b9eb2a416159e85678e777fe3df0ccd
|
||||
DIST Dist-Zilla-Plugin-AuthorsFromGit-0.005.tar.gz 5236 SHA256 1db47dcd68a763f45a158c07b94f9be2026773bd8791f9260ac711550aa3447b SHA512 61ed7fbc950cb867752d0b9f765c3d2abec804430db9d08ff35530ed6ef3d8a027b0f46ed80465c651dae6472c4f01cafeeab0dd372df2cd3547c1550e17851c WHIRLPOOL efa7e2023783f5fd70a61f7b14ac9adfb2fbe3d73eba0659fdda4929763010c46b84db79eb1c7cec8c7d158840c6b9dbbd401cfa1078e342708382181ead2b79
|
||||
|
@ -1,2 +1,2 @@
|
||||
DIST igbinary-1.2.1-r1.tar.gz 143092 SHA256 f71a2e085669ed915740b29f55b6a81e30bae52215d041938afb9212e6bafc27 SHA512 5e69831606cfe47db2ae2b2200bd8bcfce42db32599a2a58cf23238d88896a2ef79baf16e78b3aaefb8725f8fdd7b815470e2d314ba14ea05f33be547da31777 WHIRLPOOL f7eb5d28b536bd1d2b0565f3e8541cbdb39edd2f5130bd041f0d75cc8218edeaa8719ebaea4d8ddf372172df9863d9d72a12dd8fc09c3653418b49e26d0e2f61
|
||||
DIST igbinary-2.0.1.tar.gz 178227 SHA256 9c66e6bb8225bf559148661d8ef81451e5f67f0a565d975dc0918abd8c35e0ed SHA512 230a730aa39102401ac6e386452b6f1d523a46c1cd6f3edc8e48ecaf9be1efd60edd0299b0cf56af8b1e32ebba1f80be8bca3727661412b084c4e248f44c9633 WHIRLPOOL 79dc6cbca45d0f902067d809a87a2f0cc8dbd89759a4513febb1940cd5f7cef28cc6ce8478470306607972a1e216f7809bfa488dc3fa62b57948d786b25ee9f7
|
||||
DIST igbinary-2.0.4.tar.gz 179588 SHA256 7b71e60aeada2b9729f55f3552da28375e3c5c66194b2c905af15c3756cf34c8 SHA512 4f3159dfc4c4e660b171d7958fcd3c0628b6310b23c8c13b6821e8517d437928583b225a84990f30b095f7fe771fb66ba5e933417cce56bf46872803312692c2 WHIRLPOOL 863bbf405fd1c787cc3772218c8b8104d57d980a8b2bd95763d5adeb52c86dc6247d0c07c554c52d44506b6cefb09d9183f0ebe9f216c78e8d6224a2d39d1c7d
|
||||
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PHP_EXT_NAME="${PN}"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS="ChangeLog NEWS README.md"
|
||||
|
||||
USE_PHP="php5-4 php5-5 php5-6"
|
||||
|
||||
inherit php-ext-source-r2
|
||||
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DESCRIPTION="A fast drop-in replacement for the standard PHP serialize"
|
||||
HOMEPAGE="https://github.com/${PN}/${PN}"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PF}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_configure() {
|
||||
my_conf="--enable-${PN}"
|
||||
php-ext-source-r2_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
for slot in $(php_get_slots); do
|
||||
php_init_slot_env ${slot}
|
||||
NO_INTERACTION="yes" emake test \
|
||||
|| die "test suite failed for slot ${slot}"
|
||||
done
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PHP_EXT_NAME="${PN}"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS=( ChangeLog NEWS README.md )
|
||||
PHP_EXT_ECONF_ARGS=( --enable-${PN} )
|
||||
|
||||
USE_PHP="php5-6 php7-0 php7-1"
|
||||
|
||||
inherit php-ext-source-r3
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="A fast drop-in replacement for the standard PHP serialize"
|
||||
HOMEPAGE="https://github.com/${PN}/${PN}"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
@ -1,3 +1,2 @@
|
||||
DIST mailparse-2.1.6.tgz 36538 SHA256 73705197d2b2ee782efa5477eb2a21432f592c2cb05a72c3a037bbe39e02b5cc SHA512 a7337dd2e99a953a55b38c236da95a6bd2950c2bca16fc0ddfec39be8b0ffe01007353fc7b562d0509e0bb1623c3d2b03935d1c98a07dcd9f0b14bb508bce374 WHIRLPOOL 238f209a45d83eb9b91cf34f1398ff85c538e8273f73791d4736b15e21de3d48395fd0b838e927cd9dd247bff265782c3e96c87b1d90e73bffc1e6b04beea1ba
|
||||
DIST mailparse-3.0.1.tgz 38226 SHA256 42ee10de881a3739acf73ddef8800d80c3c57f70072f41bdb22e6e87ebc9cc62 SHA512 42318d145c49644b0a1aea0e18aa3c6899f8ee2a8def7b9c22f7c02737426de22aba00a4c899a269b1d8e64c190654413d857622c882b92caa07f201620f1e61 WHIRLPOOL 0f451f7059e983cc95b87672da07c241be94393b504d44a3faf096be10de4d270191a20591ce2e7fa12ad5572424064a6f10480a769ec5f0b4e09f4638c294dd
|
||||
DIST mailparse-3.0.2.tgz 38206 SHA256 d81a6f8a48e43fca1c0f0d6c90d666830c24d584a23a60add43062aaf221843b SHA512 be04e15cf3577542447186d7ead4e31159c171c99de0a255d4ee2f6f760b80ecb44be056bd9089180601f622b9a71f4331f194e1adaa702d1d964009682896f6 WHIRLPOOL d93cedfa38d5c746e680edcdcac2c6e8baf5f223b01c1868b1a8f9390ef1b3ebe50802c50e338b45528d68a4342c4b7020236e90cb397a97479b70cdf3f99e20
|
||||
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PHP_EXT_NAME="mailparse"
|
||||
DOCS=( README )
|
||||
|
||||
USE_PHP="php5-5 php5-6"
|
||||
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
KEYWORDS="amd64 ppc ppc64 x86"
|
||||
|
||||
DESCRIPTION="PHP extension for parsing RFC822 and RFC2045 (MIME) messages"
|
||||
LICENSE="PHP-2.02"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
for _target in ${USE_PHP}; do
|
||||
_slot=${_target/php}
|
||||
_slot=${_slot/-/.}
|
||||
_PHPUSEDEPEND="${_PHPUSEDEPEND}
|
||||
php_targets_${_target}? ( dev-lang/php:${_slot}[unicode] )"
|
||||
done
|
||||
unset slot target
|
||||
|
||||
RDEPEND="${_PHPUSEDEPEND}"
|
||||
unset _PHPUSEDEPEND
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/re2c"
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PHP_EXT_NAME="mailparse"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS=( README )
|
||||
|
||||
USE_PHP="php7-0 php5-6"
|
||||
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
# Only build for 7.0
|
||||
USE_PHP="php7-0"
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
DESCRIPTION="PHP extension for parsing and working with RFC822 and MIME compliant messages"
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="7"
|
||||
IUSE=""
|
||||
|
||||
for target in ${USE_PHP}; do
|
||||
phpslot=${target/php}
|
||||
phpslot=${phpslot/-/.}
|
||||
PHPUSEDEPEND="${PHPUSEDEPEND}
|
||||
php_targets_${target}? ( dev-lang/php:${phpslot}[unicode] )"
|
||||
done
|
||||
unset target phpslot
|
||||
|
||||
DEPEND="${PHPUSEDEPEND}
|
||||
dev-util/re2c"
|
||||
RDEPEND="${PHPUSEDEPEND} php_targets_php5-6? ( dev-php/pecl-mailparse:0[php_targets_php5-6] )"
|
||||
|
||||
src_prepare() {
|
||||
if use php_targets_php7-0 ; then
|
||||
php-ext-source-r3_src_prepare
|
||||
else
|
||||
default_src_prepare
|
||||
fi
|
||||
}
|
@ -1,4 +1 @@
|
||||
DIST redis-2.2.7.tgz 134340 SHA256 95e5331cd7e709771eb4479c455bcf326a74b2aea3b1a5cba00b4c95e66dc902 SHA512 88be2abeda62b7c1c95b6d399bbb5f97774d956001b4d13a8e5f183e86fe6336d91f479a8125adcaeff1ad5617a920953961360fc3484ebafc3ed915bcd7f86c WHIRLPOOL e7c8ea7c0c4578933211d4571d742ad09eadb5dd93e207d4f0d5858bfacb7a78eb4bd7ed34cafbc17b465b0d423ea0ff788dee907d89c4939ee4a9acbbe8b95d
|
||||
DIST redis-3.1.1.tgz 198597 SHA256 aa1a30f2c5e1f532289b9b90af71b42db86bb85e9f8c344a455a4312c79d917e SHA512 a9bf74342dbaec518623f99a958130d61ae643111448dd16c974fcf96ec722d34c1f7d2e7b09e786abe7432bff1d34e2d8bd895c8b6c5f9b88faac701eb77b2a WHIRLPOOL 1053247b933a7f0bc2d6d79f981e0745e1d6db094fc9d4588a1e23e9670bdfabeb53ac5cae5ddf70ee8544df02dac0435f9339612e04e174055529670b705c07
|
||||
DIST redis-3.1.1RC2.tgz 198513 SHA256 21dc974d12ed707c2dce34b268eb3411338961cd4c849325e7c28a587f137efe SHA512 8c008d3549347c56c6e0226967da387a93f7f6ca32071c45487fecc072fc09cf71d901ef26a871a510cf4b1bbe6d7a0ab5341691f9510b1bbd5e7dc067b08272 WHIRLPOOL ee68ce66a2ba40723c3be6e95b58d69ed11fe26b8e68abf14eda72b3044edd34d4a01c27950865246f04602aa3d0223351a92774d7ccb0a98d3f1897a3680695
|
||||
DIST redis-3.1.2.tgz 199041 SHA256 a7687d007e48bef92049b8f53b425244d663da57d6b646d139248839e01f4ea3 SHA512 14b6321072f8ab41b8293b40ea8e1e2bdac1bb694c4566467ea4e6ced37c8fc41bf5712bd27cebf509f25fda0492765cd2c8d2fe61395bcb0b0d9cbbceebe684 WHIRLPOOL c619f04d6392ad4d81e3f41c83dce4f92c932805bbf7f418e8caa963744cedfaa03e6fb3433eec308da188577aa7fac4d1e35a14175f01c2f6d83571ce8f35a4
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PHP_EXT_NAME="redis"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
|
||||
USE_PHP="php5-4 php5-5 php5-6"
|
||||
|
||||
DOCS="arrays.markdown README.markdown"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
KEYWORDS="amd64"
|
||||
|
||||
DESCRIPTION="PHP extension for interfacing with Redis"
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="0"
|
||||
IUSE="igbinary"
|
||||
|
||||
DEPEND="igbinary? (
|
||||
php_targets_php5-4? ( dev-php/igbinary[php_targets_php5-4] )
|
||||
php_targets_php5-5? ( dev-php/igbinary[php_targets_php5-5] )
|
||||
php_targets_php5-6? ( dev-php/igbinary[php_targets_php5-6] ) )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
my_conf="--enable-redis
|
||||
$(use_enable igbinary redis-igbinary)"
|
||||
|
||||
php-ext-source-r2_src_configure
|
||||
}
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PHP_EXT_NAME="redis"
|
||||
USE_PHP="php5-6 php7-0 php7-1"
|
||||
DOCS=( arrays.markdown cluster.markdown README.markdown CREDITS )
|
||||
MY_P="${PN/pecl-/}-${PV/_rc/RC}"
|
||||
PHP_EXT_PECL_FILENAME="${MY_P}.tgz"
|
||||
PHP_EXT_S="${WORKDIR}/${MY_P}"
|
||||
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
DESCRIPTION="PHP extension for interfacing with Redis"
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="igbinary +session"
|
||||
|
||||
DEPEND="igbinary? (
|
||||
php_targets_php5-6? ( dev-php/igbinary[php_targets_php5-6] )
|
||||
php_targets_php7-0? ( dev-php/igbinary[php_targets_php7-0] )
|
||||
php_targets_php7-1? ( dev-php/igbinary[php_targets_php7-1] ) )"
|
||||
RDEPEND="${DEPEND} !dev-php/pecl-redis:7"
|
||||
|
||||
# The test suite requires network access.
|
||||
RESTRICT=test
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
local PHP_EXT_ECONF_ARGS=(
|
||||
--enable-redis
|
||||
$(use_enable igbinary redis-igbinary)
|
||||
$(use_enable session redis-session)
|
||||
)
|
||||
php-ext-source-r3_src_configure
|
||||
}
|
||||
|
||||
src_test(){
|
||||
local slot
|
||||
for slot in $(php_get_slots); do
|
||||
php_init_slot_env "${slot}"
|
||||
# Run tests for Redis class
|
||||
${PHPCLI} -d extension=modules/redis.so \
|
||||
tests/TestRedis.php \
|
||||
--class Redis \
|
||||
--host ${PECL_REDIS_HOST} || die 'test suite failed'
|
||||
done
|
||||
}
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PHP_EXT_NAME="redis"
|
||||
USE_PHP="php5-6 php7-0 php7-1"
|
||||
DOCS=( arrays.markdown cluster.markdown README.markdown CREDITS )
|
||||
MY_P="${PN/pecl-/}-${PV/_rc/RC}"
|
||||
PHP_EXT_PECL_FILENAME="${MY_P}.tgz"
|
||||
PHP_EXT_S="${WORKDIR}/${MY_P}"
|
||||
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
DESCRIPTION="PHP extension for interfacing with Redis"
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="igbinary +session"
|
||||
|
||||
DEPEND="igbinary? (
|
||||
php_targets_php5-6? ( dev-php/igbinary[php_targets_php5-6] )
|
||||
php_targets_php7-0? ( dev-php/igbinary[php_targets_php7-0] )
|
||||
php_targets_php7-1? ( dev-php/igbinary[php_targets_php7-1] ) )"
|
||||
RDEPEND="${DEPEND} !dev-php/pecl-redis:7"
|
||||
|
||||
# The test suite requires network access.
|
||||
RESTRICT=test
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
local PHP_EXT_ECONF_ARGS=(
|
||||
--enable-redis
|
||||
$(use_enable igbinary redis-igbinary)
|
||||
$(use_enable session redis-session)
|
||||
)
|
||||
php-ext-source-r3_src_configure
|
||||
}
|
||||
|
||||
src_test(){
|
||||
local slot
|
||||
for slot in $(php_get_slots); do
|
||||
php_init_slot_env "${slot}"
|
||||
# Run tests for Redis class
|
||||
${PHPCLI} -d extension=modules/redis.so \
|
||||
tests/TestRedis.php \
|
||||
--class Redis \
|
||||
--host ${PECL_REDIS_HOST} || die 'test suite failed'
|
||||
done
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST ssh2-0.12.tgz 26223 SHA256 600c82d2393acf3642f19914f06a7afea57ee05cb8c10e8a5510b32188b97f99 SHA512 e48f8051f9234841bb0fc10594dcd90badf2d880d75c4bd59f847e3d4276e9fdd3fe71c1c01c07fb9f552cec470f3dbac6ae1db4d33e5793d3988ea5bac1d5bd WHIRLPOOL ff8e983027281db4fdff6c85d4a98c8987277abe40c82b4306a86459661864e4ca534b48ee22186d01b8166a58980bf5cba374a35d4e477e4dbb41f8c845a601
|
||||
DIST ssh2-0.13.tgz 28984 SHA256 cb2cb8ab840b5b36bcd8a8df06ea4a970a61e4cb3980f3c0ac5c913522e6c1be SHA512 c031e22853bf5cf8ee59dc5b99d9e7e60af1507a22e7d0a9e2f54b8f1758a03a6cea91c539e0f667d48ec66185fdc8a28c47e5a1e10a72220c0cb16b3948e1d0 WHIRLPOOL 62c36541bd3d7c579fdd4e3c8114e26dbda7206839db75d77b84fe320a87c1b8033b618da31a8d9038d5fb5874fa05a333e3b391a9e33fc1f723138be8e3ac71
|
||||
DIST ssh2-1.0.tgz 29013 SHA256 6a93891878b23904a773eb814fec7aea4ea00b4a412ee779c8535ed9c5e46ced SHA512 9e21b4d5d640f595ff812c341387cd51917aed2df00bb8c94ff7e494953a3599dc1cbfa6f04248f3145fc1b097fcf6c066710c8f2a41e565a3f57cad999877f9 WHIRLPOOL 54cb8d262ac3219443962a8df4147ede8c8e700fba0a5fd5d0422707a392d0feabad86c81cc80bdba5b5d4e840a54337d278263c3d764116f51880fa1f5c07c5
|
||||
DIST ssh2-1.1.1.tgz 27551 SHA256 30963a0a4d9f704d594d875665c1ea297730a6efe2af22dff12a78183907ac0c SHA512 92cc40627a6114a4b0e7b8437e5e0b219b49dfbed9668937e7d0d37492a101c9f25381b5a1533f91c0530fdebe66af7bcb68ff4231a7ecd806b99d8a04f74d79 WHIRLPOOL cfbbb940ace42eb41c2852a1fb9514b36f64820cd2e45cd14808614d9b7ca8d347d1c9d5042bb38e215b5c88d113e5cfc2bda531240e2550f9e14798069198ca
|
||||
|
@ -0,0 +1,49 @@
|
||||
From 093906ec1c065e86ad1cd4dabbc89b1ccae11938 Mon Sep 17 00:00:00 2001
|
||||
From: Remi Collet <remi@php.net>
|
||||
Date: Thu, 10 Nov 2016 09:16:02 +0100
|
||||
Subject: [PATCH] fix for PHP 7.0.13 where php_url_parse fails
|
||||
|
||||
---
|
||||
ssh2_fopen_wrappers.c | 17 ++++++++++++-----
|
||||
1 file changed, 12 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/ssh2_fopen_wrappers.c b/ssh2_fopen_wrappers.c
|
||||
index 8472ddd..89b34eb 100644
|
||||
--- a/ssh2_fopen_wrappers.c
|
||||
+++ b/ssh2_fopen_wrappers.c
|
||||
@@ -198,10 +198,20 @@ php_url *php_ssh2_fopen_wraper_parse_path( char *path, char *type, php_stream_co
|
||||
php_url *resource;
|
||||
zval *methods = NULL, *callbacks = NULL, zsession, **tmpzval;
|
||||
long resource_id;
|
||||
- char *s, *username = NULL, *password = NULL, *pubkey_file = NULL, *privkey_file = NULL;
|
||||
+ char *h, *s, *username = NULL, *password = NULL, *pubkey_file = NULL, *privkey_file = NULL;
|
||||
int username_len = 0, password_len = 0;
|
||||
|
||||
- resource = php_url_parse(path);
|
||||
+ h = strstr(path, "Resource id #");
|
||||
+ if (h) {
|
||||
+ /* Starting with 5.6.28, 7.0.13 need to be clean, else php_url_parse will fail */
|
||||
+ char *tmp = estrdup(path);
|
||||
+
|
||||
+ strncpy(tmp + (h-path), h + sizeof("Resource id #")-1, strlen(tmp)-sizeof("Resource id #"));
|
||||
+ resource = php_url_parse(tmp);
|
||||
+ efree(tmp);
|
||||
+ } else {
|
||||
+ resource = php_url_parse(path);
|
||||
+ }
|
||||
if (!resource || !resource->path) {
|
||||
return NULL;
|
||||
}
|
||||
@@ -232,9 +242,6 @@ php_url *php_ssh2_fopen_wraper_parse_path( char *path, char *type, php_stream_co
|
||||
|
||||
/* Look for a resource ID to reuse a session */
|
||||
s = resource->host;
|
||||
- if (strncmp(resource->host, "Resource id #", sizeof("Resource id #") - 1) == 0) {
|
||||
- s = resource->host + sizeof("Resource id #") - 1;
|
||||
- }
|
||||
if (is_numeric_string(s, strlen(s), &resource_id, NULL, 0) == IS_LONG) {
|
||||
php_ssh2_sftp_data *sftp_data;
|
||||
|
||||
--
|
||||
2.1.4
|
||||
|
@ -1,3 +1 @@
|
||||
DIST astroquery-0.3.1.tar.gz 2786634 SHA256 ad67bf4f31bc9e0c45621a19f7200d701ff7b5df2d78e9ba7095e65a2f69c50d SHA512 e92f10dcdc4ced5c6841b35b7afc0ae645231810ae2951a04cc1c014819096bfd9296b1bc6d0f925a59e64e9011ec3f2436e36d0ec2181d271eb0aeba80906c8 WHIRLPOOL ac91041f9bce69945000ded78a39992d724ce7a32937c4803daa51556c2b8ef4984c8da5b6ae1ae4b1e1747ae6ce83d13ee180bbe361b0aaa9ae6a7900010000
|
||||
DIST astroquery-0.3.2.tar.gz 2391386 SHA256 06a03e38bdc8e193f8729f1b3c0ae7e2fb364187e2215d7ad2a20aef44feff3d SHA512 445d1578cd8c86cdfdfba4cc25868c31884ef764b4617da982e24403d9d071cc80e54bd431a50da433f2775ee4dbf747129268b244448cbac4438a21fd16ddad WHIRLPOOL c7227cf827d88d02b093bbf34e6b009053fa6b6dab49258e7c677fc2fec9228e39379c255ccca9b89cae932be97279107eae8a2bf292888d7f5697f8c62678a4
|
||||
DIST astroquery-0.3.5.tar.gz 2815313 SHA256 5a27038f81d9875f17f3e0e7a3e958813816b2b612469ceec1972b6e79b06146 SHA512 acd1a18f655c7d48dab5ec508a6efa6610686400ebe59716efa6eedea3bcf75bc5febcb483023ecead8b51db065763409be14c7ffb68cf37a5e8aa654246b26b WHIRLPOOL 0ce014c69127958311cbe55b0e6f8ab74dc9615f55d20b8e6566dc5afce8769dece0295ca71c1874e0d94730f0c21205c8e75fc0048e04f3112762bec082299e
|
||||
DIST astroquery-0.3.6.tar.gz 2879493 SHA256 80a8cc8a2b614b3e00357d32e551b01ce1a06a4029e6c620332e19e71ea47b88 SHA512 631e42ef2c50b7a876efeff5a498707734a3ce29e9b5ad7074150272db4928b4f32572d1bfef37c10cb26c2f8fa39e4c7cc268d61320ba399f8479507b1a2fcd WHIRLPOOL 0282141ab710cf4c6b58370f061a5960cccc19360cce8e994d6659702a5d7b1e8d2afa1267f286ca96480bfe88a4b728d3941d06c70aa44a4b75819ddd987097
|
||||
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Collection of packages to access online astronomical resources"
|
||||
HOMEPAGE="https://github.com/astropy/astroquery"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="doc test"
|
||||
|
||||
DOCS=( README.rst )
|
||||
|
||||
RDEPEND="
|
||||
dev-python/astropy[${PYTHON_USEDEP}]
|
||||
dev-python/astropy-helpers[${PYTHON_USEDEP}]
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
dev-python/html5lib[${PYTHON_USEDEP}]
|
||||
dev-python/keyring[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/aplpy[${PYTHON_USEDEP}]
|
||||
dev-python/pyregion[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i -e '/auto_use/s/True/False/' setup.cfg || die
|
||||
sed -i -e "s/= 'APLpy'/= 'aplpy'/" astroquery/conftest.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
python_setup
|
||||
VARTEXFONTS="${T}"/fonts \
|
||||
MPLCONFIGDIR="${BUILD_DIR}" \
|
||||
PYTHONPATH="${BUILD_DIR}"/lib \
|
||||
esetup.py build_sphinx
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
|
||||
inherit distutils-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="Collection of packages to access online astronomical resources"
|
||||
HOMEPAGE="https://github.com/astropy/astroquery"
|
||||
SRC_URI="https://github.com/astropy/astroquery/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="doc test"
|
||||
|
||||
DOCS=( README.rst )
|
||||
|
||||
RDEPEND="
|
||||
dev-python/astropy[${PYTHON_USEDEP}]
|
||||
dev-python/astropy-helpers[${PYTHON_USEDEP}]
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
dev-python/html5lib[${PYTHON_USEDEP}]
|
||||
dev-python/keyring[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/aplpy[${PYTHON_USEDEP}]
|
||||
dev-python/pyregion[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i -e '/auto_use/s/True/False/' setup.cfg || die
|
||||
sed -i -e "s/= 'APLpy'/= 'aplpy'/" astroquery/conftest.py || die
|
||||
xdg_environment_reset
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
python_setup
|
||||
VARTEXFONTS="${T}"/fonts \
|
||||
MPLCONFIGDIR="${BUILD_DIR}" \
|
||||
PYTHONPATH="${BUILD_DIR}"/lib \
|
||||
esetup.py build_sphinx
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python client for Docker"
|
||||
HOMEPAGE="https://github.com/docker/docker-py"
|
||||
SRC_URI="https://github.com/docker/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/docker-pycreds-0.2.1[${PYTHON_USEDEP}]
|
||||
!~dev-python/requests-2.18.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/requests-2.12.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.11.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/websocket-client-0.32.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/backports-ssl-match-hostname-3.5[${PYTHON_USEDEP}]' 'python2_7' 'python3_4' )
|
||||
$(python_gen_cond_dep '>=dev-python/ipaddress-1.0.16[${PYTHON_USEDEP}]' 'python2_7' )
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
${RDEPEND}
|
||||
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-runner[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-2.9.1[${PYTHON_USEDEP}]
|
||||
)
|
||||
doc? (
|
||||
dev-python/recommonmark[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.4.6[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i -e "s/import pip//" -e "s/if 'docker-py'.*/if False:/" setup.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
sphinx-build docs html || die "docs failed to build"
|
||||
HTML_DOCS=( html/. )
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test tests/unit/ || die "tests failed under ${EPYTHON}"
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue