parent
a32c04cb85
commit
5b8410a5a2
@ -0,0 +1 @@
|
||||
DIST entr-3.2.tar.gz 22203 SHA256 b1eee00afbeccf03010c1c557436854be6aaf0ef9b72ab8d44b94affdd7d7146 SHA512 7287dfe86b829a73049dfbac78c76e06e69b1172bece80120977f03492ff325d0c026cb58d1ab56a10897beebbcfb0c2130aaf5167ad68fdbc5daa0959cc22b7 WHIRLPOOL 6c139c7f841a77a7420f8a09d47dedb38685016f0f3649b6a407d6c0c88040654783a3f3457f1c9523326a209a69468428158a1c3f1341fd8608ce32d40f5ff9
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Run arbitrary commands when files change"
|
||||
HOMEPAGE="http://entrproject.org/"
|
||||
SRC_URI="http://entrproject.org/code/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${P}.tar.gz"
|
||||
mv eradman-* "${P}"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
sh configure || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>chithanh@gentoo.org</email>
|
||||
<name>Chí-Thanh Christopher Nguyễn</name>
|
||||
</maintainer>
|
||||
<herd>x11</herd>
|
||||
<herd>shell-tools</herd>
|
||||
<maintainer>
|
||||
<email>monsieurp@gentoo.org</email>
|
||||
<name>Patrice Clement</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,4 +1,2 @@
|
||||
DIST scite352.tgz 2277393 SHA256 d1b9a12f1b8ea80f28564a1695146a59b4a03099c8ca8693e3a9ce02bb0a2836 SHA512 01bf36dbb4d02f3693a759f778110b913dfbb733d0a5d006c5de78cb627c3511e821b62fa0a410174c09917a09d41d9a94535a14b7a4c77801eafaace15a586d WHIRLPOOL ee39f57944ef60182a3ac8a409cfd4829cfdee85a7b9b91b2722bd3d9d8b2a6f480cd8db1281826f4a9543575ae99dfc66cfe905592a2acae9ad7728d5862695
|
||||
DIST scite354.tgz 2301246 SHA256 96041bb6a3aed321e353db7c8fcde720b99cab98cbfa2ef62a5e07dd523e1495 SHA512 213f9d3ac359541f8ae2ec6166770b6cd20631ffc82e9de3b0a23753c2913f232544b4a8001a697042ff7bb4dec72f1d0b1148124fea386d925a7d394b8995e7 WHIRLPOOL 348c64b4d7019935cac018d1f2fcb8aac4713762ffdd766c309a8d7114bbe58f769709a3e5d8d446d58f60f8715d4b1e0ef04dc36b69096d7f9ce0f2c7d50a30
|
||||
DIST scite355.tgz 2302137 SHA256 20515597ac986f1727c97bda2c27d88487ddb79cfe330b0b890b5e25330b7d9f SHA512 cdd9d3aa621f5d31632cfb9f71524255a4b47b70a654bf4bc8a25a76f8a2dbe098a48e0cd4587ced8ca8455be7e809973e212fcbcde5b62087aa0f9528f7f40d WHIRLPOOL c901804481042b859be68f44ab728544e97975d61219a4bb576ba3da00bd663c8877e9b23b981a0295d759cae3e9afd037d981923086c6850ff29f01c43ec9f6
|
||||
DIST scite361.tgz 2347061 SHA256 bdffdc28c501dbb5e3dc6cbfe3808da2d574df983790c6ddfc2643040023a010 SHA512 5ead063ba98798ec5aa188735f219a19e788fbfaf12c84bce61a08c356e85e73cbbac412731cfdec02266bb8fa94d2a461239ffaba14b99ea65c31eb770dfcc3 WHIRLPOOL 8279b3fea54d2ef266dc5d5cb2b16896731e75d20bcdedaa59570e49d8b201fe7085ecac8f63cb06f2511ebd817d137b5189834d19ee7d4ffae43eaf06d465a7
|
||||
|
@ -1,87 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit toolchain-funcs eutils
|
||||
|
||||
MY_PV=${PV//./}
|
||||
DESCRIPTION="A very powerful editor for programmers"
|
||||
HOMEPAGE="http://www.scintilla.org/SciTE.html"
|
||||
SRC_URI="mirror://sourceforge/scintilla/${PN}${MY_PV}.tgz"
|
||||
|
||||
LICENSE="HPND lua? ( MIT )"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux"
|
||||
IUSE="lua"
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/pango
|
||||
lua? ( >=dev-lang/lua-5:0= )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=sys-apps/sed-4"
|
||||
|
||||
S="${WORKDIR}/${PN}/gtk"
|
||||
|
||||
src_prepare() {
|
||||
cd "${WORKDIR}/scintilla/gtk"
|
||||
sed -i makefile \
|
||||
-e "s#^CXXFLAGS=#CXXFLAGS=${CXXFLAGS} #" \
|
||||
-e "s#^\(CXXFLAGS=.*\)-Os#\1#" \
|
||||
-e "s#^CC =\(.*\)#CC = $(tc-getCXX)#" \
|
||||
-e "s#^CCOMP =\(.*\)#CCOMP = $(tc-getCC)#" \
|
||||
-e "s#-Os##" \
|
||||
|| die "error patching makefile"
|
||||
|
||||
cd "${WORKDIR}/scite/gtk"
|
||||
sed -i makefile \
|
||||
-e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
|
||||
|| die "error patching makefile"
|
||||
|
||||
cd "${S}"
|
||||
sed -i makefile \
|
||||
-e 's#usr/local#usr#g' \
|
||||
-e 's#/gnome/apps/Applications#/applications#' \
|
||||
-e "s#^CXXFLAGS=#CXXFLAGS=${CXXFLAGS} #" \
|
||||
-e "s#^\(CXXFLAGS=.*\)-Os#\1#" \
|
||||
-e "s#^CC =\(.*\)#CC = $(tc-getCXX)#" \
|
||||
-e "s#^CCOMP =\(.*\)#CCOMP = $(tc-getCC)#" \
|
||||
-e 's#${D}##' \
|
||||
-e 's#-g root#-g 0#' \
|
||||
-e "s#-Os##" \
|
||||
|| die "error patching makefile"
|
||||
cd "${WORKDIR}"
|
||||
epatch "${FILESDIR}/${PN}-3.0.1-no-lua.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -C ../../scintilla/gtk AR="$(tc-getAR)"
|
||||
if use lua; then
|
||||
emake
|
||||
else
|
||||
emake NO_LUA=1
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/bin
|
||||
dodir /usr/share/{pixmaps,applications}
|
||||
|
||||
emake prefix="${ED}/usr" install
|
||||
|
||||
# we have to keep this because otherwise it'll break upgrading
|
||||
mv "${ED}/usr/bin/SciTE" "${ED}/usr/bin/scite" || die
|
||||
dosym /usr/bin/scite /usr/bin/SciTE
|
||||
|
||||
# replace .desktop file with our own working version
|
||||
rm -f "${ED}/usr/share/applications/SciTE.desktop" || die
|
||||
domenu "${FILESDIR}/scite.desktop"
|
||||
|
||||
doman ../doc/scite.1
|
||||
dodoc ../README
|
||||
}
|
@ -1,85 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit toolchain-funcs eutils
|
||||
|
||||
MY_PV=${PV//./}
|
||||
DESCRIPTION="A very powerful editor for programmers"
|
||||
HOMEPAGE="http://www.scintilla.org/SciTE.html"
|
||||
SRC_URI="mirror://sourceforge/scintilla/${PN}${MY_PV}.tgz"
|
||||
|
||||
LICENSE="HPND lua? ( MIT )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux"
|
||||
IUSE="lua"
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/pango
|
||||
lua? ( >=dev-lang/lua-5:0= )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=sys-apps/sed-4"
|
||||
|
||||
S="${WORKDIR}/${PN}/gtk"
|
||||
|
||||
src_prepare() {
|
||||
cd "${WORKDIR}/scintilla/gtk"
|
||||
sed -i makefile \
|
||||
-e "s#^CXXFLAGS=#CXXFLAGS=${CXXFLAGS} #" \
|
||||
-e "s#^\(CXXFLAGS=.*\)-Os#\1#" \
|
||||
-e "s#^CC =\(.*\)#CC = $(tc-getCXX)#" \
|
||||
-e "s#^CCOMP =\(.*\)#CCOMP = $(tc-getCC)#" \
|
||||
-e "s#-Os##" \
|
||||
|| die "error patching makefile"
|
||||
|
||||
cd "${WORKDIR}/scite/gtk"
|
||||
sed -i makefile \
|
||||
-e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
|
||||
|| die "error patching makefile"
|
||||
|
||||
cd "${S}"
|
||||
sed -i makefile \
|
||||
-e 's#usr/local#usr#g' \
|
||||
-e 's#/gnome/apps/Applications#/applications#' \
|
||||
-e "s#^CXXFLAGS=#CXXFLAGS=${CXXFLAGS} #" \
|
||||
-e "s#^\(CXXFLAGS=.*\)-Os#\1#" \
|
||||
-e "s#^CC =\(.*\)#CC = $(tc-getCXX)#" \
|
||||
-e "s#^CCOMP =\(.*\)#CCOMP = $(tc-getCC)#" \
|
||||
-e 's#${D}##' \
|
||||
-e 's#-g root#-g 0#' \
|
||||
-e "s#-Os##" \
|
||||
|| die "error patching makefile"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -C ../../scintilla/gtk AR="$(tc-getAR)"
|
||||
if use lua; then
|
||||
emake
|
||||
else
|
||||
emake NO_LUA=1
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/bin
|
||||
dodir /usr/share/{pixmaps,applications}
|
||||
|
||||
emake prefix="${ED}/usr" install
|
||||
|
||||
# we have to keep this because otherwise it'll break upgrading
|
||||
mv "${ED}/usr/bin/SciTE" "${ED}/usr/bin/scite" || die
|
||||
dosym /usr/bin/scite /usr/bin/SciTE
|
||||
|
||||
# replace .desktop file with our own working version
|
||||
rm -f "${ED}/usr/share/applications/SciTE.desktop" || die
|
||||
domenu "${FILESDIR}/scite.desktop"
|
||||
|
||||
doman ../doc/scite.1
|
||||
dodoc ../README
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST byobu_5.90.orig.tar.gz 658445 SHA256 a06daaf6074a2254632983dc261a68bccef5d313844deb08533d6ef5bf16c73b SHA512 73a4a3e79240466daab845fd4c90a3dc78e0a43b4a94b430eabc537968e805b67de3a2f94680d7c13ba6ccd097d62a62cc9e2e77d38d4698b68e5116c6bc09a6 WHIRLPOOL 89a71abd328ad50016ae2219978e739727561d397268d20f8447614c98499445de32efd760aa8a0c22f4f10437ad14b8da49e7ac6601e4911ec3e1615ceab283
|
||||
DIST byobu_5.94.orig.tar.gz 660103 SHA256 4917013f590110d25b18293a51af02bd1ebcd1c665474f62e2566fb9b8f62916 SHA512 b4e07d7d197f8796c26f33aa08c1d61dab463ce5cd2d646bf32c4c5a4be17ffe2b8996cb305c999ca0be20a1fab81c24dbd0eae5588b74e8da1e7726c293b2e6 WHIRLPOOL d2832c4ecac9d4d6907051d33efb8f51816866ce4bd0d75d5684322dd83a56d0a4717d2b6fd7736a0ca488d5e2e648a0e48a09de6a0bffcd779aa63cefd50c4c
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
|
||||
HOMEPAGE="http://byobu.co"
|
||||
SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="screen"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/newt[${PYTHON_USEDEP}]
|
||||
screen? ( app-misc/screen )
|
||||
!screen? ( app-misc/tmux )"
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
|
||||
# Set default system backend to screen
|
||||
if use screen ; then
|
||||
sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Create symlinks for backends
|
||||
dosym ${PN} /usr/bin/${PN}-screen
|
||||
dosym ${PN} /usr/bin/${PN}-tmux
|
||||
|
||||
docompress -x /usr/share/doc/${PN}
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST texstudio-2.10.2.tar.gz 25669897 SHA256 0cf97c752ba30aba8a0536492893b71ed454c62e6a6e34cff65a8a4eeb308e64 SHA512 3c29b2ef0bb8ed290c66802ffc9419f39d5ff5c4905523ee3adb7177f1159739639d5e4eb9d038fd28472c6618e68b7839b9c816da462dd24046691ebcd9796c WHIRLPOOL e66da4486fa17aa940557af75a098cd03eeaefabe2bf16d38589a37fd065c313c911f76d44b7b81054ae8460a93da323d3472139445fa67df21bb661143ba607
|
||||
DIST texstudio-2.8.8.tar.gz 25198033 SHA256 5d00c42425c0d1464438c0c1701508fef281f5dbdd0fbcebdbba9de60ac6db95 SHA512 b4f50368ac4a145ad6cb6c764d2d84ac0c3b0b08903b53390e34fb3a8d2e2c12b72cdf77cf97ea22df94a29438be6db3004f8663e04c5254ae40bf28bc2be152 WHIRLPOOL 08d4af41163ebfa85539001fe540a5f48b86e341d93983a42da03015d00460b30280f5fa08c50c90c97d7e1ed38d324efea666c6640b6bba421cffd832031e27
|
||||
DIST texstudio-2.9.4.tar.gz 25292627 SHA256 dc71590e3745ac193a640667737befd665d549e642e268eec7a8238d3b61b5ea SHA512 6fd35a6490451f9cc3292245857e66d6b0d18d2fb06e0482a8e9bbb8695923c8d3da32a6aa6b8ec591c74ccd81f797ddb958e85db26c90d0096cc678a5f14a49 WHIRLPOOL 9ca5ad727d0096bd986b39b34691167bfafe6ae44c4193fdd1f6f02bdd8c4b8b0cd4ac31af3c1c2833c1ba13f0acf814d3ba14fb0709dc3bbd5ee50729968cdf
|
||||
|
@ -1,88 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit base fdo-mime prefix qt4-r2
|
||||
|
||||
DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
|
||||
HOMEPAGE="http://texstudio.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd"
|
||||
IUSE="video"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-text/hunspell
|
||||
app-text/poppler:=[qt4]
|
||||
dev-libs/quazip
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
dev-qt/designer:4
|
||||
>=dev-qt/qtgui-4.8.5:4
|
||||
>=dev-qt/qtcore-4.6.1:4
|
||||
>=dev-qt/qtscript-4.6.1:4
|
||||
dev-qt/qtsingleapplication[qt4(+)]
|
||||
>=dev-qt/qtsvg-4.6.1:4
|
||||
>=dev-qt/qttest-4.6.1:4
|
||||
video? ( media-libs/phonon[qt4] )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/latex-base
|
||||
app-text/psutils
|
||||
app-text/ghostscript-gpl
|
||||
media-libs/netpbm"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}"/${P/-/}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.6.4-hunspell-quazip.patch
|
||||
"${FILESDIR}"/${PN}-2.8.2-desktop.patch
|
||||
# Get it from fedora
|
||||
"${FILESDIR}"/${PN}-2.5-viewers-use-xdg-open.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
find hunspell quazip utilities/poppler-data qtsingleapplication -delete || die
|
||||
|
||||
if use video; then
|
||||
sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
|
||||
fi
|
||||
|
||||
sed \
|
||||
-e '/hunspell.pri/d' \
|
||||
-e '/quazip.pri/d' \
|
||||
-e '/qtsingleapplication.pri/d' \
|
||||
-e '/QUAZIP_STATIC/d' \
|
||||
-i ${PN}.pro || die
|
||||
|
||||
# cat >> ${PN}.pro <<- EOF
|
||||
# exists(texmakerx_my.pri):include(texmakerx_my.pri)
|
||||
# EOF
|
||||
|
||||
cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die
|
||||
eprefixify ${PN}.pri
|
||||
|
||||
qt4-r2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i
|
||||
for i in 16x16 22x22 32x32 48x48 64x64 128x128; do
|
||||
insinto /usr/share/icons/hicolor/${i}
|
||||
newins utilities/${PN}${i}.png ${PN}.png
|
||||
done
|
||||
qt4-r2_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,2 +1,4 @@
|
||||
DIST sigil-0.8.5.tar.gz 19394323 SHA256 12540493685988a2a3a3898675b8c92c422fbec43513bdd935b802fc68ca40f4 SHA512 fd4d65afe5afe97522727681963c08483b9ab78070fed2e13c987a45d5f8b9885d7a55c721d25213c097016bd1c375369f1ebedc079329bd995955e6d75d2d06 WHIRLPOOL 0026e04e9f304186a5f6c6d7756cdb30c004e0da4f969d89c19dfa1a475dfe29a85058c82d4066089111778d83c411d520bced0ce19e8fd94b80f0a1a5608ad6
|
||||
DIST sigil-0.8.6.tar.gz 19394568 SHA256 5f89b47abbf0a7befa4e776083db5426456f8ef1ef50bd168dc98d621fb2ad26 SHA512 5d45ca43520f6fd13e83c97da24d613a05e9b33dd0e07637f872a0fb6050f345f9228a8f63d1e81ee727f07d6dbdf306d55fdb51d0ac67dde33327465c3c6732 WHIRLPOOL 99388aef513842b930c4f549fdfa23414366a9af390850fa982dd3ef53d59ab4bd443001929bb50d83699ed4f960104f8f96452744a9acb5f08416843dcbe960
|
||||
DIST sigil-0.8.7.tar.gz 19394061 SHA256 0352cc46714ebb5067a0fbdbbc76dded8f10ea0f4f43374c7dbcac6eba49e104 SHA512 24b74c835ae1f8fb887c9d2c59b3ccc6720ce1fe8d19a6b0056754ab5ea6e63c34c4b229f4e4b3a880e722876d288e58385f5a0ad15b295f147b77b1acf28652 WHIRLPOOL 2cb7a8a928069a2f005396faa9bdacde1f77f3cca3a3ba2458b8562e48298a127b9de9d7ecea5f106ad68865d5074b13fff5a234497b2b6655ac1a3c3edef827
|
||||
DIST sigil-0.8.900_pre.tar.gz 17691810 SHA256 8f96b2220abb96c53d72d4d2f704f9fdbd60443ace2f226ebc19c14e43ca0e5a SHA512 4b642c21e9500db04fe31117cdf3a083e4609ddc0e1c6323d1561e771bb033ab57d2edb024a12a74400332d97e5d5ee2d25f4635f87df9c09d940a6b12700518 WHIRLPOOL 14262882ce60bec0fb66a20afd3241390f97aa97cf29b32bf159703ddbf18a0dd7bfa463737573d266522eccb4ed15e89e8bf9ec03357929bfeaf6dcfa61a29e
|
||||
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
CMAKE_MIN_VERSION="3.0"
|
||||
CMAKE_BUILD_TYPE="Release"
|
||||
|
||||
# This ebuild could use some python checks, as sigil contains python plugin architecture.
|
||||
|
||||
inherit eutils cmake-utils
|
||||
|
||||
MY_PN="Sigil"
|
||||
|
||||
DESCRIPTION="Sigil is a multi-platform WYSIWYG ebook editor for ePub format"
|
||||
HOMEPAGE="http://sigil-ebook.com/"
|
||||
SRC_URI="https://github.com/user-none/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=app-text/hunspell-1.3.2
|
||||
>=dev-libs/boost-1.49[threads]
|
||||
>=dev-libs/libpcre-8.31[pcre16]
|
||||
>=dev-libs/xerces-c-3.1.1[icu]
|
||||
>=dev-qt/qtconcurrent-5.4:5
|
||||
>=dev-qt/qtcore-5.4:5
|
||||
>=dev-qt/qtgui-5.4:5
|
||||
>=dev-qt/qtnetwork-5.4:5
|
||||
>=dev-qt/qtprintsupport-5.4:5
|
||||
>=dev-qt/qtsvg-5.4:5
|
||||
>=dev-qt/qtwebkit-5.4:5
|
||||
>=dev-qt/qtwidgets-5.4:5
|
||||
>=dev-qt/qtxml-5.4:5
|
||||
>=dev-qt/qtxmlpatterns-5.4:5
|
||||
>=sys-libs/zlib-1.2.7[minizip]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=dev-qt/linguist-tools-5.4:5
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
DOCS=( README.md )
|
||||
|
||||
src_prepare() {
|
||||
# sigil tries to copy non-needed qt libs for deb package, safe to ignore this completely
|
||||
sed -e '/set( QT_LIBS/d' -i src/Sigil/CMakeLists.txt || die "sed failed"
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cmake-utils_src_configure
|
||||
|
||||
cd "${WORKDIR}/${P}_build" || die "Where is the build dir?"
|
||||
for i in CMakeCache.txt src/Sigil/CMakeFiles/sigil.dir/link.txt $(find . -name '*.make')
|
||||
do
|
||||
sed -e 's/-O3 -DNDEBUG/-DNDEBUG/' -i ${i} || die "sed failed"
|
||||
done
|
||||
}
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
CMAKE_MIN_VERSION="3.0"
|
||||
CMAKE_BUILD_TYPE="Release"
|
||||
|
||||
# This ebuild could use some python checks, as sigil contains python plugin architecture.
|
||||
|
||||
inherit eutils cmake-utils
|
||||
|
||||
MY_PN="Sigil"
|
||||
|
||||
DESCRIPTION="Sigil is a multi-platform WYSIWYG ebook editor for ePub format"
|
||||
HOMEPAGE="http://sigil-ebook.com/"
|
||||
SRC_URI="https://github.com/Sigil-Ebook/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=app-text/hunspell-1.3.2
|
||||
>=dev-libs/boost-1.49[threads]
|
||||
>=dev-libs/libpcre-8.31[pcre16]
|
||||
>=dev-libs/xerces-c-3.1.1[icu]
|
||||
>=dev-qt/qtconcurrent-5.4:5
|
||||
>=dev-qt/qtcore-5.4:5
|
||||
>=dev-qt/qtgui-5.4:5
|
||||
>=dev-qt/qtnetwork-5.4:5
|
||||
>=dev-qt/qtprintsupport-5.4:5
|
||||
>=dev-qt/qtsvg-5.4:5
|
||||
>=dev-qt/qtwebkit-5.4:5
|
||||
>=dev-qt/qtwidgets-5.4:5
|
||||
>=dev-qt/qtxml-5.4:5
|
||||
>=dev-qt/qtxmlpatterns-5.4:5
|
||||
>=sys-libs/zlib-1.2.7[minizip]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=dev-qt/linguist-tools-5.4:5
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
DOCS=( README.md )
|
||||
|
||||
src_prepare() {
|
||||
# sigil tries to copy non-needed qt libs for deb package, safe to ignore this completely
|
||||
sed -e '/set( QT_LIBS/d' -i src/Sigil/CMakeLists.txt || die "sed failed"
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cmake-utils_src_configure
|
||||
|
||||
cd "${WORKDIR}/${P}_build" || die "Where is the build dir?"
|
||||
for i in CMakeCache.txt src/Sigil/CMakeFiles/sigil.dir/link.txt $(find . -name '*.make')
|
||||
do
|
||||
sed -e 's/-O3 -DNDEBUG/-DNDEBUG/' -i ${i} || die "sed failed"
|
||||
done
|
||||
}
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
CMAKE_MIN_VERSION="3.0"
|
||||
CMAKE_BUILD_TYPE="Release"
|
||||
|
||||
# This ebuild could use some python checks, as sigil contains python plugin architecture.
|
||||
|
||||
inherit eutils cmake-utils
|
||||
|
||||
MY_PN="Sigil"
|
||||
MY_PV="0.8.900"
|
||||
|
||||
DESCRIPTION="Sigil is a multi-platform WYSIWYG ebook editor for ePub format"
|
||||
HOMEPAGE="http://sigil-ebook.com/"
|
||||
SRC_URI="https://github.com/Sigil-Ebook/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/python:3.4
|
||||
>=dev-libs/boost-1.49[threads]
|
||||
>=dev-libs/libpcre-8.31[pcre16]
|
||||
>=dev-libs/xerces-c-3.1.1[icu]
|
||||
>=dev-qt/qtconcurrent-5.4:5
|
||||
>=dev-qt/qtcore-5.4:5
|
||||
>=dev-qt/qtgui-5.4:5
|
||||
>=dev-qt/qtnetwork-5.4:5
|
||||
>=dev-qt/qtprintsupport-5.4:5
|
||||
>=dev-qt/qtsvg-5.4:5
|
||||
>=dev-qt/qtwebkit-5.4:5
|
||||
>=dev-qt/qtwidgets-5.4:5
|
||||
>=dev-qt/qtxml-5.4:5
|
||||
>=dev-qt/qtxmlpatterns-5.4:5
|
||||
>=sys-libs/zlib-1.2.7[minizip]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=dev-qt/linguist-tools-5.4:5
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${MY_PV}"
|
||||
|
||||
DOCS=( README.md ChangeLog.txt )
|
||||
|
||||
src_prepare() {
|
||||
# sigil tries to copy non-needed qt libs for deb package, safe to ignore this completely
|
||||
sed -e '/set( QT_LIBS/d' -i src/CMakeLists.txt || die "sed failed"
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DUSE_SYSTEM_LIBS=1
|
||||
-DSYSTEM_LIBS_REQUIRED=1
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
|
||||
cd "${WORKDIR}/${P}_build" || die "Where is the build dir?"
|
||||
for i in CMakeCache.txt src/CMakeFiles/sigil.dir/link.txt $(find . -name '*.make')
|
||||
do
|
||||
sed -e 's/-O3 -DNDEBUG/-DNDEBUG/' -i ${i} || die "sed failed"
|
||||
done
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
From 4514fed897ab0911097e54715e7936048bf43dd9 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Rostovtsev <tetromino@gentoo.org>
|
||||
Date: Sat, 22 Sep 2012 16:37:36 -0400
|
||||
Subject: [PATCH] Gentoo uses /usr/bin/python-config with automatic version
|
||||
detection
|
||||
|
||||
---
|
||||
configure.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index 0d7ba86..3c8a5ad 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -353,7 +353,7 @@ except: print 0"`
|
||||
PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`
|
||||
fi
|
||||
fi
|
||||
- PYTHON_LIBS=`python$PYTHON_VERSION-config --libs`
|
||||
+ PYTHON_LIBS=`python-config --libs`
|
||||
fi
|
||||
if test "$with_python" != ""
|
||||
then
|
||||
--
|
||||
1.7.12
|
||||
|
@ -1,30 +0,0 @@
|
||||
From 4eeed7de3fa90e27658c48cb06f034da43b4f057 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Rostovtsev <tetromino@gentoo.org>
|
||||
Date: Tue, 4 Mar 2014 00:10:37 -0500
|
||||
Subject: [PATCH] configure: use AC_PATH_TOOL to find libgcrypt-config
|
||||
|
||||
Since libgcrypt-config is used to find host system libraries, we should
|
||||
be using AC_PATH_TOOL, not AC_PATH_PROG, for proper cross-compiling and
|
||||
multilib support.
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=725635
|
||||
---
|
||||
configure.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index a861e90..8328625 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -393,7 +393,7 @@ case $host in
|
||||
CRYPTO_TESTDIR=crypto
|
||||
;;
|
||||
*)
|
||||
- AC_PATH_PROG(LIBGCRYPT_CONFIG, libgcrypt-config, no)
|
||||
+ AC_PATH_TOOL(LIBGCRYPT_CONFIG, libgcrypt-config, no)
|
||||
if test "$LIBGCRYPT_CONFIG" != "no" ; then
|
||||
LIBGCRYPT_VERSION=`$LIBGCRYPT_CONFIG --version`
|
||||
if test VERSION_TO_NUMBER(echo $LIBGCRYPT_VERSION) -lt VERSION_TO_NUMBER(echo "1.1.42")
|
||||
--
|
||||
1.9.0
|
||||
|
@ -1,36 +0,0 @@
|
||||
From 1671e1004e18fa9bbce410050d1365374ececb6a Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Rostovtsev <tetromino@gentoo.org>
|
||||
Date: Tue, 18 Dec 2012 02:22:47 -0500
|
||||
Subject: [PATCH] build/test/install python bindings manually
|
||||
|
||||
To support building for multiple python ABIs, we want to skip checks for
|
||||
python in configure, and build/test/install python bindings manually.
|
||||
---
|
||||
configure.in | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index fc8d5a8..6312c37 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -296,7 +296,7 @@ PYTHON_INCLUDES=
|
||||
PYTHON_SITE_PACKAGES=
|
||||
pythondir=
|
||||
AC_ARG_WITH(python, [ --with-python[=DIR] Build Python bindings if found])
|
||||
-if test "$with_python" != "no" ; then
|
||||
+if false ; then
|
||||
if test -x "$with_python/bin/python"
|
||||
then
|
||||
echo Found python in $with_python/bin/python
|
||||
@@ -365,7 +365,7 @@ except: print 0"`
|
||||
pythondir='$(libdir)/python$(PYTHON_VERSION)/site-packages'
|
||||
fi
|
||||
fi
|
||||
-AM_CONDITIONAL(WITH_PYTHON, test "$PYTHON_INCLUDES" != "")
|
||||
+AM_CONDITIONAL(WITH_PYTHON, test "$with_python" != "no")
|
||||
if test "$PYTHON_INCLUDES" != ""
|
||||
then
|
||||
PYTHON_SUBDIR=python
|
||||
--
|
||||
1.8.0.2
|
||||
|
@ -1,98 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit autotools eutils python-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="XSLT libraries and tools"
|
||||
HOMEPAGE="http://www.xmlsoft.org/"
|
||||
SRC_URI="ftp://xmlsoft.org/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
|
||||
IUSE="crypt debug python static-libs"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND=">=dev-libs/libxml2-2.8.0:2
|
||||
crypt? ( >=dev-libs/libgcrypt-1.1.42:0= )
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
dev-libs/libxml2:2[python,${PYTHON_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=684621
|
||||
epatch "${FILESDIR}"/${PN}.m4-${PN}-1.1.26.patch
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-1.1.26-disable_static_modules.patch
|
||||
|
||||
# Python bindings are built/tested/installed manually.
|
||||
epatch "${FILESDIR}"/${PN}-1.1.28-manual-python.patch
|
||||
|
||||
eautoreconf
|
||||
# If eautoreconf'd with new autoconf, then epunt_cxx is not necessary
|
||||
# and it is propably otherwise too if upstream generated with new
|
||||
# autoconf
|
||||
# epunt_cxx
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# libgcrypt is missing pkg-config file, so fixing cross-compile
|
||||
# here. see bug 267503.
|
||||
tc-is-cross-compiler && \
|
||||
export LIBGCRYPT_CONFIG="${SYSROOT}"/usr/bin/libgcrypt-config
|
||||
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
--with-html-dir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
--with-html-subdir=html \
|
||||
$(use_with crypt crypto) \
|
||||
$(use_with python) \
|
||||
$(use_with debug) \
|
||||
$(use_with debug mem-debug)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
if use python; then
|
||||
python_copy_sources
|
||||
python_foreach_impl libxslt_py_emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
default
|
||||
use python && python_foreach_impl libxslt_py_emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc FEATURES
|
||||
|
||||
if use python; then
|
||||
python_foreach_impl libxslt_py_emake DESTDIR="${D}" install
|
||||
python_foreach_impl python_optimize
|
||||
mv "${ED}"/usr/share/doc/${PN}-python-${PV} "${ED}"/usr/share/doc/${PF}/python
|
||||
fi
|
||||
|
||||
prune_libtool_files --modules
|
||||
}
|
||||
|
||||
libxslt_py_emake() {
|
||||
pushd "${BUILD_DIR}/python" > /dev/null || die
|
||||
emake \
|
||||
PYTHON="${PYTHON}" \
|
||||
PYTHON_INCLUDES="${EPREFIX}/usr/include/${EPYTHON}" \
|
||||
PYTHON_LIBS="$(python-config --ldflags)" \
|
||||
PYTHON_SITE_PACKAGES="${EPREFIX}$(python_get_sitedir)" \
|
||||
pythondir="${EPREFIX}$(python_get_sitedir)" \
|
||||
PYTHON_VERSION=${EPYTHON/python} "$@"
|
||||
popd > /dev/null
|
||||
}
|
@ -1,104 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit autotools eutils python-r1 toolchain-funcs multilib-minimal
|
||||
|
||||
DESCRIPTION="XSLT libraries and tools"
|
||||
HOMEPAGE="http://www.xmlsoft.org/"
|
||||
SRC_URI="ftp://xmlsoft.org/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
|
||||
IUSE="crypt debug python static-libs"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND=">=dev-libs/libxml2-2.9.1-r4:2[${MULTILIB_USEDEP}]
|
||||
crypt? ( >=dev-libs/libgcrypt-1.5.3:0=[${MULTILIB_USEDEP}] )
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
dev-libs/libxml2:2[python,${PYTHON_USEDEP}] )
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20131008-r20
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
DOCS=( AUTHORS ChangeLog FEATURES NEWS README TODO )
|
||||
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=684621
|
||||
epatch "${FILESDIR}"/${PN}.m4-${PN}-1.1.26.patch
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-1.1.26-disable_static_modules.patch
|
||||
|
||||
# use AC_PATH_TOOL for libgcrypt-config for sane cross-compile and multilib support
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=725635
|
||||
epatch "${FILESDIR}"/${PN}-1.1.28-libgcrypt-config.patch
|
||||
|
||||
# Python bindings are built/tested/installed manually.
|
||||
epatch "${FILESDIR}"/${PN}-1.1.28-manual-python.patch
|
||||
|
||||
eautoreconf
|
||||
# If eautoreconf'd with new autoconf, then epunt_cxx is not necessary
|
||||
# and it is propably otherwise too if upstream generated with new
|
||||
# autoconf
|
||||
# epunt_cxx
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE=${S} econf \
|
||||
$(use_enable static-libs static) \
|
||||
--with-html-dir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
--with-html-subdir=html \
|
||||
$(use_with crypt crypto) \
|
||||
$(multilib_is_native_abi && use_with python || echo --without-python) \
|
||||
$(use_with debug) \
|
||||
$(use_with debug mem-debug)
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
default
|
||||
if use python && multilib_is_native_abi; then
|
||||
python_copy_sources
|
||||
python_foreach_impl libxslt_py_emake
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
default
|
||||
use python && multilib_is_native_abi && python_foreach_impl libxslt_py_emake test
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
# "default" does not work here - docs are installed by multilib_src_install_all
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if use python && multilib_is_native_abi; then
|
||||
python_foreach_impl libxslt_py_emake DESTDIR="${D}" install
|
||||
python_foreach_impl python_optimize
|
||||
mv "${ED}"/usr/share/doc/${PN}-python-${PV} "${ED}"/usr/share/doc/${PF}/python
|
||||
fi
|
||||
|
||||
prune_libtool_files --modules
|
||||
}
|
||||
|
||||
libxslt_py_emake() {
|
||||
pushd "${BUILD_DIR}/python" > /dev/null || die
|
||||
emake \
|
||||
PYTHON="${PYTHON}" \
|
||||
PYTHON_INCLUDES="${EPREFIX}/usr/include/${EPYTHON}" \
|
||||
PYTHON_LIBS="$(python-config --ldflags)" \
|
||||
PYTHON_SITE_PACKAGES="${EPREFIX}$(python_get_sitedir)" \
|
||||
pythondir="${EPREFIX}$(python_get_sitedir)" \
|
||||
PYTHON_VERSION=${EPYTHON/python} "$@"
|
||||
popd > /dev/null
|
||||
}
|
@ -1,111 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit autotools eutils python-r1 toolchain-funcs multilib-minimal
|
||||
|
||||
DESCRIPTION="XSLT libraries and tools"
|
||||
HOMEPAGE="http://www.xmlsoft.org/"
|
||||
SRC_URI="ftp://xmlsoft.org/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
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 ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="crypt debug python static-libs"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND=">=dev-libs/libxml2-2.9.1-r4:2[${MULTILIB_USEDEP}]
|
||||
crypt? ( >=dev-libs/libgcrypt-1.5.3:0=[${MULTILIB_USEDEP}] )
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
dev-libs/libxml2:2[python,${PYTHON_USEDEP}] )
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20131008-r20
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
DOCS=( AUTHORS ChangeLog FEATURES NEWS README TODO )
|
||||
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=684621
|
||||
epatch "${FILESDIR}"/${PN}.m4-${PN}-1.1.26.patch
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-1.1.26-disable_static_modules.patch
|
||||
|
||||
# use AC_PATH_TOOL for libgcrypt-config for sane cross-compile and multilib support
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=725635
|
||||
epatch "${FILESDIR}"/${PN}-1.1.28-libgcrypt-config.patch
|
||||
|
||||
eautoreconf
|
||||
# If eautoreconf'd with new autoconf, then epunt_cxx is not necessary
|
||||
# and it is propably otherwise too if upstream generated with new
|
||||
# autoconf
|
||||
# epunt_cxx
|
||||
# But Prefix always needs elibtoolize if not eautoreconf'd.
|
||||
# elibtoolize
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
libxslt_configure() {
|
||||
ECONF_SOURCE=${S} econf \
|
||||
$(use_enable static-libs static) \
|
||||
--with-html-dir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
--with-html-subdir=html \
|
||||
$(use_with crypt crypto) \
|
||||
$(use_with debug) \
|
||||
$(use_with debug mem-debug) \
|
||||
"$@"
|
||||
}
|
||||
|
||||
libxslt_py_configure() {
|
||||
mkdir -p "${BUILD_DIR}" || die # ensure python build dirs exist
|
||||
run_in_build_dir libxslt_configure "--with-python=${PYTHON}" # odd build system
|
||||
}
|
||||
|
||||
libxslt_configure --without-python # build python bindings separately
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
python_parallel_foreach_impl libxslt_py_configure
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
default
|
||||
multilib_is_native_abi && use python && libxslt_foreach_py_emake all
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
default
|
||||
multilib_is_native_abi && use python && libxslt_foreach_py_emake test
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
# "default" does not work here - docs are installed by multilib_src_install_all
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
libxslt_foreach_py_emake DESTDIR="${D}" install
|
||||
python_foreach_impl python_optimize
|
||||
mv "${ED}"/usr/share/doc/${PN}-python-${PV} "${ED}"/usr/share/doc/${PF}/python
|
||||
fi
|
||||
|
||||
prune_libtool_files --modules
|
||||
}
|
||||
|
||||
libxslt_foreach_py_emake() {
|
||||
libxslt_py_emake() {
|
||||
pushd "${BUILD_DIR}/python" > /dev/null || die
|
||||
emake "$@"
|
||||
popd > /dev/null
|
||||
}
|
||||
local native_builddir=${BUILD_DIR}
|
||||
python_foreach_impl libxslt_py_emake top_builddir="${native_builddir}" "$@"
|
||||
}
|
@ -1 +1 @@
|
||||
DIST LZF-1.6.2.tgz 13204 SHA256 b381ac66cd12cc753e768c602f87d542fcd9718039cec4947d37f1229a7b93e3 SHA512 d0def45eed1fac1e091d0bc0ee367757420aaf19dba6f8f3043c1c14bf0c91ec843aa829f907f2b15ec8fe22cfd2aa03b6f6c306bb2c851cd10e1ce4f926fc84 WHIRLPOOL e1ba89d4aefab2c6d6f9db2d88540fcb9b15e45f143be6d6ad55356c3aa07df9547168dc45c4d002b0ab41ea8beddd7832d10180113cc40cd5c379d2cf2294b3
|
||||
DIST LZF-1.6.3.tgz 15545 SHA256 42ec458ea10128a801e8d39736b519ba81fa75d2a617d2777b7d6b3276601a5d SHA512 e9e27d338b5615e71883ad3d239832837256af16a165060c33f41d58ec71ad12795a33ccdd1dea0939453554ff447fa8c5a1e25151653f7c4605342906a551ce WHIRLPOOL 972e629958c978a771ee2e786af76e9d3c0f5297da48e5438207edd4ec5e24975df81d5b9962169d83b7f78720d5a118e07fae19ad784676f37ff88d34e75a2b
|
||||
|
@ -1 +1 @@
|
||||
DIST sphinx-1.3.2.tgz 15282 SHA256 0c3ada36833a44a8147d2dd1b907548010ae53de0a05041a77e68dee036130e6 SHA512 bcfe4aa5ea4ac4b3fb14f78114c1c55645148c5e599a9757d3a575b2a61d44287a98da6527f3eee1567ce2b6ae4451680b9ef5e5754bae925d905715c5e61c85 WHIRLPOOL 52dce1e14834bbafe48d2e48f7c058aa4bc0487385c611f8a5c112a54ca62e135b6e883cd9e6367222dd3d3522be24bff6a40e86bb9b845c43607e37919486d2
|
||||
DIST sphinx-1.3.3.tgz 15555 SHA256 d9718365da38f9641917c6ef30f356cc5b807549efd154a033d3e8f9145d618d SHA512 86e40660bc3be346f23eaa98eb49552c2e51385c41e5c0ac04ba26776375816d777e470765e103d771bd46206ced1778ffb80747a6656c4948f047e61a4112b7 WHIRLPOOL 917c43a047444592e1940c1ccf296272d20c859788d6f139b9e409eb83f7d13d4bf5e394c247c818ed822bbd91475147aa864ec503cdcb0b16d39a6db458fffb
|
||||
|
@ -1 +1 @@
|
||||
DIST stomp-1.0.6.tgz 20052 SHA256 79bf86542a167134fc9b264c90d811c06bed7ec52cdefc36e44ff933dd7d0918 SHA512 0ad521f759bdc64ef50a7d81fb1c289aae466edd605a9f5f916d104a255caf1685c60687b7582608d3fe48ea321f4975d2c7d950d6de35a28b4ec0f99c4d9c50 WHIRLPOOL 1f0fcac0ed7fd76c7e4aa832a8326ce8e0d8f8b97aba6345bf87f6e7f3f96aa1638d22eddc6996b12c97a66c3fe60422f58c032e186d6d58ab96d4fbab4ae608
|
||||
DIST stomp-1.0.8.tgz 21837 SHA256 4e75c7baeff1de84b806a3fc17f486f773a8fd94797390c0678a11f71abf16c1 SHA512 5d74b1ce230305728be91808921a4c9a0408618bcd1a896f8bb4dc35d06fc4577f3aa15ec6252685a48891a302809651a055bf5e40548ef995a256f02a59c9e7 WHIRLPOOL e453ea95274933c136452759a660f045c300876c8a75c71085b4602e76e38ae4efbbfb0857e7da4429065f6a7e6dadf020dc6db239666a796770569b5f2fa04a
|
||||
|
@ -1 +1 @@
|
||||
DIST yaml-1.1.1.tgz 37862 SHA256 762ec3d9eb163ac0d063118df8c5e2ee6746dbe8566d32055e7e066e590937c3 SHA512 cb00ba7bbccc99e0e70ad439e1d0bb11e24a623d00d864f559476d17ff0a6c24e4f6faaffd9da7ecf9a07eaac9cd88609491543546e81ed69b73cfe55536328e WHIRLPOOL 35406331f50b07a18d383e6d114e88c891cfa5a60f963b5a9b2f18d56000acdca07e92d4ddcc2f6deff69346ec3db5ae811c31003cc497cc26d0e991524c4a72
|
||||
DIST yaml-1.2.0.tgz 38606 SHA256 fdf0eec6bf16b0c45e58076a2048f96140a778463724fb82ab49ab5fb4c7e19a SHA512 bd67e98afea42f0ab803cbb88ec59f1979b1bd9338f000d3b452ba620f2751b25873f531bd2309c59eb524c275883f01ff3106e796bb56d42f29b1a756be1b4c WHIRLPOOL da4f1e015bb5e96f057de6347edc382d9c1c4ee980125703b587135d19412dce69fd49ebd3ae85cc2755704192a4c9aa61cc7067d077a263517233088e81e7c1
|
||||
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PHP_EXT_NAME="yaml"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS="CREDITS EXPERIMENTAL README"
|
||||
|
||||
USE_PHP="php5-5 php5-4"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="Support for YAML 1.1 (YAML Ain't Markup Language) serialization
|
||||
using the LibYAML library."
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-libs/libyaml-0.1.0"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,3 +1,4 @@
|
||||
DIST cffi-0.8.6.tar.gz 196835 SHA256 2532d9e3af9e3c6d0f710fc98b0295b563c7f39cfd97dd2242bd36fbf4900610 SHA512 b913d459bf0d355f0cb42fa0587a940c227d6765450033b14ab4d5281173cd1875cd6872911bb4f0b567cc1c5b0ca330615ec5f6ba205b25c41b683ae8c77790 WHIRLPOOL 4a03a077f15f943e0f06acf1bc10572b19680379e36805dbfc3dfffb8a5d735d28d9bab38e2d233f3a347fc03cede8126cc2ce017c6e3a0896b9baecddfae39f
|
||||
DIST cffi-0.9.2.tar.gz 209160 SHA256 1988ce7ff9c64ecd5077776175e90fd8f0a8c827cb241a23647175ce08126bb2 SHA512 93371a1189955d3f794915f8e7c6f6b9ab36cd531ff0ddeeb2108364c94dbf4dbe5d7d3f75e0aa52576d1a59559c13ec3e0f68dec4d52e6221e683ac519b850c WHIRLPOOL dcdf3a35b35607a4982035e75332c0e2f87d2df5cca9df77c48c5d57cc783d341b77fd95f71681877695b03a12564f8f28717a975bd51e832f496b71f73c3736
|
||||
DIST cffi-1.1.2.tar.gz 326758 SHA256 390970b602708c91ddc73953bb6929e56291c18a4d80f360afa00fad8b6f3339 SHA512 d146984013b63382ea64bd2d6188cdbf9154cf83d66bf4dbb9353f1daea66f9eae07c6da47e152c5758d3458a742adde0310f71c792eb0a80950d7f857bfb943 WHIRLPOOL 02b92f0d13b02e351ba63e55a731c0b5480ae0b376c99a8dc1a256b3b55bf0119b4238dca88171605c1348b0847a6ff305ba4ec69cd1b42b9950708f42d6067e
|
||||
DIST cffi-1.2.1.tar.gz 335778 SHA256 eab571deb0a152e2f53c404c08a94870a131526896cad08cd43bf86ce3771e3d SHA512 26ab695d34ef1895f38c735b2c6400cbf6325d622ce93799513130791365bb71d656288e991b86861ac8e899872504c1f4368d27104c4ac9b881c83c7f8dad88 WHIRLPOOL a8bbe3c24be660946c1f31fbb8b1f50810f78b9485a32aadfb091a624b5386641bde71981c58792f8e95e8e77cfce7d9959eb197c417464cf5351e568aa6336d
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Foreign Function Interface for Python calling C code"
|
||||
HOMEPAGE="http://cffi.readthedocs.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="virtual/libffi
|
||||
dev-python/pycparser[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# Avoid race on _configtest.c (distutils/command/config.py:_gen_temp_sourcefile)
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test -x -v --ignore testing/test_zintegration.py c/ testing/ || die "Testing failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
use doc && dohtml -r doc/build/
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST decorator-3.4.2.tar.gz 6115 SHA256 7320002ce61dea6aa24adc945d9d7831b3669553158905cdd12f5d0027b54b44 SHA512 48e5c65ba4243310267e4a75660a55091d5d354e35f31c3c37d886bdf2f8bf915b54d829b9a0a8affe35920e1c981c41a06bcac0eaa8930b47a6ed1c68a71566 WHIRLPOOL 51b7afd6e91967783ffccab73b9a26fb53e103da5e9116621268828874bd6ace55c37f6ba5881bbdfd3593d017b5eaa42c9017c0cbaa88360af69a2368b7eef7
|
||||
DIST decorator-4.0.2.tar.gz 64850 SHA256 1a089279d5de2471c47624d4463f2e5b3fc6a2cf65045c39bf714fc461a25206 SHA512 9f135c9c624557a90619e46002f12d54f8c53045420f524bbc52dee0b488268501467b207ea8f4445a8aa7d119af3e615cd76cbc25c1d1335d3bb581a1045ab3 WHIRLPOOL 1a4a31fe67d4cdfc58cb5486f83ee059a9211af5c5e48d57c9b22a24e08e5659a2e8b4519ecaba68fa603ef6e5a0756f69ee10fbe173d07ffe23204b579f2f18
|
||||
DIST decorator-4.0.4.tar.gz 67150 SHA256 5ad0c10fad31648cffa15ee0640eee04bbb1b843a02de26ad3700740768cc3e1 SHA512 2c59091c41afdebd76ce0057a7183a969cd6cdadae5839d2ea5773814d435ab6f528acd6fccb02074ae23382e26fe73f8dab2b0b4c523de99b43d666292a23cf WHIRLPOOL e6ed224735839bc8232a6c94b674c1ecd4fb5558414219a54d56bc77536c467558ad8c5209c839622b590129136dfc33fa53ae85cc6b102c6e94b03fe2ed0285
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_{3,4}} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Simplifies the usage of decorators for the average programmer"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/decorator https://code.google.com/p/micheles/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND=""
|
||||
# This release is missing no less than 8 files
|
||||
|
||||
#python_test() {
|
||||
# local t=documentation.py
|
||||
# python_is_python3 && t=documentation3.py
|
||||
#
|
||||
# "${PYTHON}" ${t} || die "Tests fail with ${EPYTHON}"
|
||||
#}
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Simplifies the usage of decorators for the average programmer"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/decorator https://github.com/micheles/decorator"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
DOCS=( docs/README.rst )
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" src/tests/test.py || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && dodoc documentation.pdf
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,5 +1,4 @@
|
||||
DIST flake8-2.0.tar.gz 10511 SHA256 8dce4f7e64cc202cc6da93eab84b2ce660110ff684b6738bba64a0a431b3bc69 SHA512 6e3d8030562c4489dce8d4b17464ea8c0239b7c28fcefb7c67bff645e18628bc3074ff0ff197ab54228544d0ff85c2ff9509502c8f98371d8dc5df6f1e3ec047 WHIRLPOOL 46dabf0120b97cf20b58d76745dd0c23aec69f4eeb25b8605944c7ca4f8a05580c6c9df3ce7ec4e507f2402ddb53da2a6730cf6b246eec8472562ec33fcbb9e2
|
||||
DIST flake8-2.1.0.tar.gz 25010 SHA256 098ab7991067c08cfaa4716de20066d90f66dbc71502114ea8cad9a9fd5c9512 SHA512 bf961d76ed08dafe7c2a9b767594577a57a2276166e515f1d84654223aa50879c5ee1e20919b3a4c7576c7d549037c8cfe67c11ab1f6648a0205200f5060950b WHIRLPOOL 48982d33cd32f557796ef103da441f46d3a6ddbf1d1cace66f3ceac8b31bf78389c72df4a717881fe3735f6301b8ce0831908d32010f94ce72fc5414404261d4
|
||||
DIST flake8-2.2.5.tar.gz 28333 SHA256 285e8bd730c0b6fdfbe23c32d2936bffba401f23cab132e8722c68be80d6f182 SHA512 fe5e06d3a7699e3f348181108f1ab3ee9eb1f2b0422de582a172d3a4aed42a5cf839ef8a5b5b113da1e0c3c2b53ed7b43af1ca24314ea842d0d3d3735eba1dee WHIRLPOOL 6c1e737a760876d410fd116bf2b8104f932b6751b5970096ddadcead5937fba21772fb28c1addf8026eda5ec573eb07cd920e46fb711d79f46de559d229c8705
|
||||
DIST flake8-2.4.0.tar.gz 67257 SHA256 d26a9d0252da9f831b8277b824961bb10b1f9d79f4752d32e4814b7bcd1e089b SHA512 fda9b8478550cc1b3cb05a0de0c8a008a41e8842c8d27268baa3114abb7358445267bb114942a155b089582314fe952f0714e34d738c054ab8bf46869a2c1b98 WHIRLPOOL f8a516f0d6cabe67484afd0393f0ca13b9cb9e89f28304ea1ea01aaab4b7ccf5d332cdefcf209eb7847e0616c72fe3d152f6f280029d45dbacd7f4d067d92b0f
|
||||
DIST flake8-2.4.1.tar.gz 50324 SHA256 2e7ebbe59d8c85e626e36d99f0db2f578394313d3f7ce9dc9f1da57ef6cd7537 SHA512 8ddd07d6be53b06efcf7dd9aa2daa070ab209f7177e46f32a3bcae545acbb5e020aa27aeab54426798ae6c3722b38928b06dc3e53115cc624a16fa0fa97f4840 WHIRLPOOL 9a653900523eded448c5cbeca0b111ba220be39ad307e46ded35a1454904cb59f5e0765425d90e99ae0c853b2931fbe910c4412e73771098bb0a3543adb8cabb
|
||||
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A wrapper around PyFlakes, pep8 & mccabe"
|
||||
HOMEPAGE="https://bitbucket.org/tarek/flake8 https://pypi.python.org/pypi/flake8"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
# requires.txt inc. mccabe however that creates a circular dep
|
||||
RDEPEND=">=dev-python/pyflakes-0.8.1[${PYTHON_USEDEP}]
|
||||
<dev-python/pyflakes-0.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/pep8-1.5.7[${PYTHON_USEDEP}]
|
||||
<dev-python/pep8-1.6.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
PDEPEND=">=dev-python/mccabe-0.2.1[${PYTHON_USEDEP}]
|
||||
<dev-python/mccabe-0.4[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( ${PDEPEND}
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7) )"
|
||||
|
||||
python_prepare_all() {
|
||||
# This tests requires / assumes this version is already installed.
|
||||
sed -e 's:test_register_extensions:_&:' -i flake8/tests/test_engine.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1,5 +1,2 @@
|
||||
DIST lxml-3.3.5.tar.gz 3467344 SHA256 6ad6949dc7eea744a30fba77a968dd5910f545220e58bcc813b9df5c793e318a SHA512 b6692565e95ae8856347a2cbef4d1a1614cbc34aa47fbea10cfb49f5d5690a21e577e53e7cfbe73db18190a6919a1055fe5ee5ccaf1d03dc2bc0c5cf2c81ef2e WHIRLPOOL f9e875085701264128d37458f5c03a1e6dfb0a6d3e49f88cfc90031a40f17dfb06ff57151729bb03f96d2959b1bae40b0617076ace7d695433fcd857d13ec697
|
||||
DIST lxml-3.4.1.tar.gz 3524523 SHA256 069594837d0376a1bacf5cc42aa9a1be2e1c1396dc62f7d07f7358afecd34adf SHA512 ab669d1f9833e43b43ece4ef2481eebe22e9084ab07139f5c5c1fa6ea478177069d6ce96ece7eddef86982da418ec55a3785c4b78958f49f6ed415dc63af45ed WHIRLPOOL 5390f23aec3b7c07b9541f85ee5c674f267b99a9ef035cc5024d5f6defe6ee8ded500703b97b3f742f7630d25dbc538534654c8a3cddafb1ff37f5c5494bffb5
|
||||
DIST lxml-3.4.2.tar.gz 3526862 SHA256 c7d5990298af6ffb00312973a25f0cc917a6368126dd40eaab41d78d3e1ea25d SHA512 de57da48813cb6920937b23a82cf8fe389e0f215e3e5c4a873fae7a223d8df7fe693d835163cccedd23b538857ed8e5eb3f0d8e4e2c5ed33065c6fbb74604f10 WHIRLPOOL 0601d6474dad0b2dc6c47a906acc546e91e72b3e15bbf3d56d7f6c1ad2d46ae9e4007d775911ce2fef71ff06dba01d70d671379a079c92191aad13600a4e6a31
|
||||
DIST lxml-3.4.3.tar.gz 3541740 SHA256 6ce4a11ab485a67a899aa3e080c97b22a9df40c7077bd9146a821d3872cf2037 SHA512 9ce34fef03e19b13fd78f13562dba570018c6588c187452fa1a0e3db441c5583333e85386a56c243db6f0f03875b4be514f4e6084a386aa83a6e436fec992e4f WHIRLPOOL cfebfaa0a1cdb4cf9e451b0d3c7246fbf104bccd0511d4f4060862fdd88bd0699ce2b4e604afc5ae65cc037182565d8590cfe451c361ddecc4177fe09db0ffd7
|
||||
DIST lxml-3.4.4.tar.gz 3537508 SHA256 b3d362bac471172747cda3513238f115cbd6c5f8b8e6319bf6a97a7892724099 SHA512 94453ff0562fc18a4b43555271e2469556255b69daf5f801d1a0f1ff29fd73f4b46d4faba9bfe86b42cfdac31005a0d3cfcbf230e0c7593dd5fc6461afcad906 WHIRLPOOL 6debafb391c94bd57510498c8261a511759f52feb3065c8bdf3103b177b1ddcbad54968f1eceac07b97e42087a1c59a060a3719f9ea9d25a662da34bf314b89e
|
||||
|
@ -1,14 +0,0 @@
|
||||
--- build/lib/lxml/tests/test_etree.py.orig 2015-03-15 17:01:51.337909343 +0100
|
||||
+++ build/lib/lxml/tests/test_etree.py 2015-03-15 17:04:25.059318388 +0100
|
||||
@@ -1225,6 +1225,11 @@
|
||||
root[0].attrib, {'default': 'valueB'})
|
||||
|
||||
def test_resolve_filename_dtd_relative(self):
|
||||
+ # This test is broken as it tries to resolve a file path
|
||||
+ # with the file:// path convention and will fail.
|
||||
+ # So let's not waste our time here and return straight away.
|
||||
+ return
|
||||
+
|
||||
parse = self.etree.parse
|
||||
parser = self.etree.XMLParser(attribute_defaults=True)
|
||||
assertEqual = self.assertEqual
|
@ -1,77 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_{3,4}} )
|
||||
inherit distutils-r1 eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries"
|
||||
HOMEPAGE="http://lxml.de/ https://pypi.python.org/pypi/lxml/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD ElementTree GPL-2 PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="beautifulsoup3 doc examples +threads"
|
||||
|
||||
# Note: lib{xml2,xslt} are used as C libraries, not Python modules.
|
||||
RDEPEND="
|
||||
>=dev-libs/libxml2-2.7.2
|
||||
>=dev-libs/libxslt-1.1.15
|
||||
beautifulsoup3? (
|
||||
$(python_gen_cond_dep 'dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}]' 'python2*')
|
||||
$(python_gen_cond_dep 'dev-python/beautifulsoup:python-3[${PYTHON_USEDEP}]' 'python3*')
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
# lxml tarball contains files pregenerated by Cython.
|
||||
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_prepare_all() {
|
||||
# avoid replacing PYTHONPATH in tests.
|
||||
sed -i -e '/sys\.path/d' test.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
if [[ ${EPYTHON} != python3* ]]; then
|
||||
local CFLAGS=${CFLAGS}
|
||||
append-cflags -fno-strict-aliasing
|
||||
fi
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cp -r -l src/lxml/tests "${BUILD_DIR}"/lib/lxml/ || die
|
||||
cp -r -l src/lxml/html/tests "${BUILD_DIR}"/lib/lxml/html/ || die
|
||||
ln -s "${S}"/doc "${BUILD_DIR}"/ || die
|
||||
|
||||
OLDPWD=$(pwd)
|
||||
cd "${BUILD_DIR}" || die "can't cd into ${BUILD_DIR}"
|
||||
|
||||
# Patching test files has to happen at this precise moment.
|
||||
# Not before, not after but now.
|
||||
epatch "${FILESDIR}"/lxml-3.3.x-test_etree.py.patch
|
||||
|
||||
cd "${OLDPWD}"
|
||||
|
||||
local test
|
||||
for test in test.py selftest.py selftest2.py; do
|
||||
einfo "Running ${test}"
|
||||
"${PYTHON}" ${test} || die "Test ${test} fails with ${EPYTHON}"
|
||||
done
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use doc; then
|
||||
local DOCS=( *.txt doc/*.txt )
|
||||
local HTML_DOCS=( doc/html/. )
|
||||
fi
|
||||
use examples && local EXAMPLES=( samples/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries"
|
||||
HOMEPAGE="http://lxml.de/ https://pypi.python.org/pypi/lxml/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD ElementTree GPL-2 PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris ~arm64"
|
||||
IUSE="beautifulsoup3 doc examples +threads"
|
||||
|
||||
# Note: lib{xml2,xslt} are used as C libraries, not Python modules.
|
||||
RDEPEND="
|
||||
>=dev-libs/libxml2-2.7.2
|
||||
>=dev-libs/libxslt-1.1.23
|
||||
beautifulsoup3? (
|
||||
$(python_gen_cond_dep 'dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}]' 'python2*')
|
||||
$(python_gen_cond_dep 'dev-python/beautifulsoup:python-3[${PYTHON_USEDEP}]' 'python3*')
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
# lxml tarball contains files pregenerated by Cython.
|
||||
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_prepare_all() {
|
||||
# avoid replacing PYTHONPATH in tests.
|
||||
sed -i '/sys\.path/d' test.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
if [[ ${EPYTHON} != python3* ]]; then
|
||||
local CFLAGS=${CFLAGS}
|
||||
append-cflags -fno-strict-aliasing
|
||||
fi
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cp -r -l src/lxml/tests "${BUILD_DIR}"/lib/lxml/ || die
|
||||
cp -r -l src/lxml/html/tests "${BUILD_DIR}"/lib/lxml/html/ || die
|
||||
ln -s "${S}"/doc "${BUILD_DIR}"/ || die
|
||||
|
||||
local test
|
||||
for test in test.py selftest.py selftest2.py; do
|
||||
einfo "Running ${test}"
|
||||
"${PYTHON}" ${test} || die "Test ${test} fails with ${EPYTHON}"
|
||||
done
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use doc; then
|
||||
local DOCS=( *.txt doc/*.txt )
|
||||
local HTML_DOCS=( doc/html/. )
|
||||
fi
|
||||
use examples && local EXAMPLES=( samples/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} )
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries"
|
||||
HOMEPAGE="http://lxml.de/ https://pypi.python.org/pypi/lxml/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD ElementTree GPL-2 PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris ~arm64"
|
||||
IUSE="beautifulsoup3 doc examples +threads test"
|
||||
|
||||
# Note: lib{xml2,xslt} are used as C libraries, not Python modules.
|
||||
RDEPEND="
|
||||
>=dev-libs/libxml2-2.7.2
|
||||
>=dev-libs/libxslt-1.1.23
|
||||
beautifulsoup3? (
|
||||
$(python_gen_cond_dep 'dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}]' 'python2*')
|
||||
$(python_gen_cond_dep 'dev-python/beautifulsoup:python-3[${PYTHON_USEDEP}]' 'python3*')
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/cssselect[${PYTHON_USEDEP}] )
|
||||
"
|
||||
# lxml tarball contains files pregenerated by Cython.
|
||||
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_prepare_all() {
|
||||
# avoid replacing PYTHONPATH in tests.
|
||||
sed -i '/sys\.path/d' test.py || die
|
||||
|
||||
# seems to be broken
|
||||
rm src/lxml/tests/test_elementpath.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
if [[ ${EPYTHON} != python3* ]]; then
|
||||
local CFLAGS=${CFLAGS}
|
||||
append-cflags -fno-strict-aliasing
|
||||
fi
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cp -r -l src/lxml/tests "${BUILD_DIR}"/lib/lxml/ || die
|
||||
cp -r -l src/lxml/html/tests "${BUILD_DIR}"/lib/lxml/html/ || die
|
||||
ln -s "${S}"/doc "${BUILD_DIR}"/ || die
|
||||
|
||||
local test
|
||||
for test in test.py selftest.py selftest2.py; do
|
||||
einfo "Running ${test}"
|
||||
"${PYTHON}" ${test} -vv -p || die "Test ${test} fails with ${EPYTHON}"
|
||||
done
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use doc; then
|
||||
local DOCS=( *.txt doc/*.txt )
|
||||
local HTML_DOCS=( doc/html/. )
|
||||
fi
|
||||
use examples && local EXAMPLES=( samples/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,69 @@
|
||||
commit 435d1cbf995a659a82d1d4b42d25e3459556ef21
|
||||
Author: Ian Lee <IanLee1521@gmail.com>
|
||||
Date: Tue Mar 17 21:52:23 2015 -0700
|
||||
|
||||
Reverted fix for #368 which had unintended repurcussions in flake8 and other places.
|
||||
|
||||
This fix reverts to the parsing of user config (~/.config/pep8), then local directory
|
||||
config files, and finally overrides with cli options as was the behavior back in 1.5.7
|
||||
|
||||
diff --git a/CHANGES.txt b/CHANGES.txt
|
||||
index 85eb043..5499abd 100644
|
||||
--- a/CHANGES.txt
|
||||
+++ b/CHANGES.txt
|
||||
@@ -5,6 +5,12 @@ Changelog
|
||||
1.6.x (unreleased)
|
||||
------------------
|
||||
|
||||
+Changes:
|
||||
+
|
||||
+* Reverted the fix in #368, "options passed on command line are only ones
|
||||
+ accepted" feature. This has many unintended consequences in pep8 and flake8
|
||||
+ and needs to be reworked when I have more time.
|
||||
+
|
||||
1.6.2 (2015-02-15)
|
||||
------------------
|
||||
|
||||
diff --git a/pep8.py b/pep8.py
|
||||
index 9f40381..4d993da 100755
|
||||
--- a/pep8.py
|
||||
+++ b/pep8.py
|
||||
@@ -1984,24 +1984,24 @@ def read_config(options, args, arglist, parser):
|
||||
|
||||
local_dir = os.curdir
|
||||
|
||||
+ if USER_CONFIG and os.path.isfile(USER_CONFIG):
|
||||
+ if options.verbose:
|
||||
+ print('user configuration: %s' % USER_CONFIG)
|
||||
+ config.read(USER_CONFIG)
|
||||
+
|
||||
+ parent = tail = args and os.path.abspath(os.path.commonprefix(args))
|
||||
+ while tail:
|
||||
+ if config.read(os.path.join(parent, fn) for fn in PROJECT_CONFIG):
|
||||
+ local_dir = parent
|
||||
+ if options.verbose:
|
||||
+ print('local configuration: in %s' % parent)
|
||||
+ break
|
||||
+ (parent, tail) = os.path.split(parent)
|
||||
+
|
||||
if cli_conf and os.path.isfile(cli_conf):
|
||||
if options.verbose:
|
||||
print('cli configuration: %s' % cli_conf)
|
||||
config.read(cli_conf)
|
||||
- else:
|
||||
- if USER_CONFIG and os.path.isfile(USER_CONFIG):
|
||||
- if options.verbose:
|
||||
- print('user configuration: %s' % USER_CONFIG)
|
||||
- config.read(USER_CONFIG)
|
||||
-
|
||||
- parent = tail = args and os.path.abspath(os.path.commonprefix(args))
|
||||
- while tail:
|
||||
- if config.read(os.path.join(parent, fn) for fn in PROJECT_CONFIG):
|
||||
- local_dir = parent
|
||||
- if options.verbose:
|
||||
- print('local configuration: in %s' % parent)
|
||||
- break
|
||||
- (parent, tail) = os.path.split(parent)
|
||||
|
||||
pep8_section = parser.prog
|
||||
if config.has_section(pep8_section):
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python style guide checker"
|
||||
HOMEPAGE="https://github.com/jcrocholl/pep8 https://pypi.python.org/pypi/pep8"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-restore-flake8-compatibility.patch" )
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
PYTHONPATH="${S}" "${PYTHON}" pep8.py -v --testsuite=testsuite || die
|
||||
PYTHONPATH="${S}" "${PYTHON}" pep8.py --doctest -v || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST python-gnupg-0.3.7.tar.gz 48728 SHA256 2bf59ff55c036e49d5da12d370447679f14d242567df4c2c0fc61b4601ca0d59 SHA512 6166cef11307dd4782000ab7263778436998a816a45e4471fcbe244b123703bf9ded5bc6ef5cd47ed0c561ef42660980576edf57c62029bb0326642b7c538dd3 WHIRLPOOL 93770439486689dfcaf296d158c3978a71c72d32ba9f0e5b4ec4c97dfda16177ee5e06f0b616112cdfb9cd96c3a93700a0d4302116401c6146f3cd7437b7e29b
|
||||
DIST python-gnupg-0.3.8.tar.gz 38993 SHA256 3872ced77d69203f31817107b324b0dd33d4437a330dc58eca140c8758d26b5a SHA512 128ba1f89e8baf0d1ae53153d7cbe73bfc99617a1aadfd9a02e2e2e2c5f0bb9c7482023bf54f32989e92cc14a9eb32325e4c358c63bce48a70a78d068103ed4f WHIRLPOOL 9080ceeade7e4c614a532eccbd4e9818d62233a6d1751acb159e8e0f13c71edf177d2c1592f0685c7e4139ba59826b8cb13864c11c37e33445a176c693d84f52
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python wrapper for GNU Privacy Guard"
|
||||
HOMEPAGE="http://pythonhosted.org/python-gnupg/ https://github.com/vsajip/python-gnupg/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="app-crypt/gnupg"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.3.6-skip-search-keys-tests.patch )
|
||||
|
||||
python_test() {
|
||||
# Note; 1 test fails under pypy only
|
||||
"${PYTHON}" test_gnupg.py || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST pry-0.10.1.tar.gz 204021 SHA256 c04af53883e742d6cf44c3923a6e397b14f14520f73da0d3f68dfc0855e8645b SHA512 cbb850d5bc9012da376ed87a894c939e20f0c1992565e3f9c282a85fd3026c2eb71a487672e2dc141a8f1ac0016f467782448e318012ef761e5cc21edb376b92 WHIRLPOOL 1b320e9e6956121b4b51d9d56b09deec823e00b3384b74065047bf2c32fc7d145bb34e63906cd1b0093f160c3e7b5a449f1ae1cecaeed5d36a388cb053786780
|
||||
DIST pry-0.10.2.tar.gz 204207 SHA256 d0bb0f89d13f623cedcc772110666156f930ff36c663927d4e54f846385efcdf SHA512 11438b4935adf9541bcd10bd9b1894179f0ad05db3361e6ad6589421bc60a80071773c0188c277f0bd44208dffa1694696649f79be28cd33164d2a7efe6ac2b9 WHIRLPOOL f866ade6961f2ac7a57ad7e1c1ac4d3dbf304f30cb46b06b2383649a47d3a3ed80e9500a434ff7123204c12c58eedda1a9bbc9a407752700f34213c20f90008d
|
||||
DIST pry-0.9.12.6.gem 198144 SHA256 0107730b35bdd4fd042fa9c92263174a38f975844230bc5c583fd4816c55af72 SHA512 451da80d9224f3c826bdcb0492d1880005143ae489dc1de0021ed73fd3d34ef3bab7c06dd631cf9737c7b4d9b031d1ee7be05c4e4d99ab9af24231ce388ac3b9 WHIRLPOOL c04d80c3e2a357dbdab549be0d5b83ce319dcfbac286dd5b7e156e1a800cd87d89974a5213e8fb0860819a606a5633295ed0b645ab049a68674cf68a2d1a947d
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="yard"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md"
|
||||
RUBY_FAKEGEM_GEMSPEC=${PN}.gemspec
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Pry is a powerful alternative to the standard IRB shell for Ruby"
|
||||
HOMEPAGE="https://github.com/pry/pry/wiki"
|
||||
SRC_URI="https://github.com/pry/pry/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
IUSE=""
|
||||
SLOT="ruby19"
|
||||
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/coderay-1.1.0 =dev-ruby/coderay-1.1*
|
||||
>=dev-ruby/slop-3.4.1:3
|
||||
>=dev-ruby/method_source-0.8.1 =dev-ruby/method_source-0.8*"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/open4-1.3
|
||||
>=dev-ruby/rake-0.9
|
||||
>=dev-ruby/mocha-1.0
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid unneeded dependency on git.
|
||||
# Loosen coderay dependency.
|
||||
sed -e '/git ls-files/d' \
|
||||
-e '/coderay/s/~>/>=/' \
|
||||
-e '/bundler/d' \
|
||||
-i ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
sed -e '/[Bb]undler/d' -e "1irequire 'mocha/api'\ " -i spec/helper.rb || die
|
||||
sed -e "1irequire 'ostruct'\ " -i spec/hooks_spec.rb || die
|
||||
sed -e '/of Class after the singleton classes/,+4d' -i spec/method_spec.rb || die
|
||||
# Out of date tests
|
||||
rm spec/commands/gist_spec.rb || die
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue