parent
fe3342f274
commit
3b3fecad8c
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/haskell-updater/haskell-updater-1.2.8.ebuild,v 1.2 2015/01/04 12:52:01 slyfox Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
CABAL_FEATURES="bin nocabaldep"
|
||||
inherit eutils haskell-cabal
|
||||
|
||||
DESCRIPTION="Rebuild Haskell dependencies in Gentoo"
|
||||
HOMEPAGE="http://haskell.org/haskellwiki/Gentoo#haskell-updater"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.12.1"
|
||||
|
||||
# Need a lower version for portage to get --keep-going
|
||||
RDEPEND="|| ( >=sys-apps/portage-2.1.6
|
||||
sys-apps/pkgcore
|
||||
sys-apps/paludis )"
|
||||
|
||||
src_prepare() {
|
||||
if use prefix; then
|
||||
sed -i -e "s,/var/db/pkg,${EPREFIX}&,g" \
|
||||
"${S}/Distribution/Gentoo/Packages.hs" || die
|
||||
|
||||
sed -i -e 's,"/","'"${EPREFIX}"'/",g' \
|
||||
"${S}/Distribution/Gentoo/GHC.hs" || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cabal_src_configure \
|
||||
--bindir="${EPREFIX}/usr/sbin" \
|
||||
--constraint="Cabal == $(cabal-version)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cabal_src_install
|
||||
|
||||
dodoc TODO
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
auth sufficient pam_securityserver.so
|
||||
auth sufficient pam_unix.so
|
||||
auth required pam_deny.so
|
||||
auth required pam_permit.so
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/monit-5.11-r1.ebuild,v 1.1 2015/01/03 14:40:09 polynomial-c Exp $
|
||||
|
||||
EAPI="5"
|
||||
inherit pam systemd
|
||||
|
||||
DESCRIPTION="a utility for monitoring and managing daemons or similar programs running on a Unix system"
|
||||
HOMEPAGE="http://mmonit.com/monit/"
|
||||
SRC_URI="http://mmonit.com/monit/dist/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
|
||||
IUSE="pam ssl"
|
||||
|
||||
RDEPEND="ssl? ( dev-libs/openssl )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/flex
|
||||
sys-devel/bison
|
||||
pam? ( virtual/pam )"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/^INSTALL_PROG/s/-s//' Makefile.in || die "sed failed in Makefile.in"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with ssl) $(use_with pam)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dodoc README*
|
||||
dohtml -r doc/*
|
||||
|
||||
insinto /etc; insopts -m600; doins monitrc
|
||||
newinitd "${FILESDIR}"/monit.initd-5.0-r1 monit
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||
|
||||
use pam && newpamd "${FILESDIR}"/${PN}.pamd ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Sample configurations are available at:"
|
||||
elog "http://mmonit.com/monit/documentation/"
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST pbzip2-1.1.10.tar.gz 46585 SHA256 9d489191edd010e4c8f7bc86de88268cdc3da5a9f7904b257fda56941615a0c2 SHA512 7601370c8d212124bccd3387ae1155c4a1e753d0ff93f6274bf1ae90e4d661fc73c890fc15c46d86f4a6b2487e788b29664e0f6571365dc1777f0aa3ced477df WHIRLPOOL 2c6d3aae7f5e371ab4f0b06dbbd797d3b3c8df93c24cdd35f2af7fbb25051cbaa6310df57cbf8d057f696067975a91807cffe413d23859683119b24f2758a976
|
||||
DIST pbzip2-1.1.11.tar.gz 47723 SHA256 b4861389bd99c73d304a03b0dc0731a8a26905da8e94ca4cef873b96e1ab0e7f SHA512 542bb52fc9a39cc7d0245d569984afcff967dc0affaf4c5abd4ae7ab03a480df84321f0366b76989cbf438e022e8d38e5120561cefea67079b1038e5c8f096f3 WHIRLPOOL 37894164110a56c8e0f480ea9175c476ab562d48a55d993b3e3828fd3b0d1dfb96ff67c3d5376fbe7cf855c2a955bbeb9266c0d514f135b09770717a5a618a16
|
||||
DIST pbzip2-1.1.12.tar.gz 47826 SHA256 573bb358a5a7d3bf5f42f881af324cedf960c786e8d66dd03d448ddd8a0166ee SHA512 bb68e87867295b89ee6fb76a8b72834daebf0ca6c16b2f10bce67fe7386716a728acd28bf46a9732087202ca0cc774f02c741b0b58801184bb7550f6fd119cd6 WHIRLPOOL e7e9cd45b51aaf227e5bcb6e8df37b2fc05b2e3b8b666fcf213e05dc21d6df7392918e97d95379d25231832a9cfae938fdf5590ae7a7d3e6ad1968a9b2c25393
|
||||
DIST pbzip2-1.1.8.tar.gz 54429 SHA256 d2da7e65d2a2ba5426d6d9bcd15d86cc5f90038efabd5dbc1ef9bded21371f53 SHA512 a3314d1f465e6016bf79ca8bd734fc1485515e9688319ee5a6a837058599546848018f28e2e2cef2afde68ee8f3c26d16e4e6da4c74c75d1cb12068f1d1e1a83 WHIRLPOOL bd24e6102db6425978c5ac8e762b37f4df4bcdcc84f44e06e6b4c652b1f9e3128382af1558a1ebc9f68dba3a89be08d42bf92577eab73b3d748f6ff941b415bf
|
||||
DIST pbzip2-1.1.9.tar.gz 47477 SHA256 bd421be03e6e24a24a121ba2355bfd11571356a25ee64fcfa76330750ec5f9c4 SHA512 0c08230858e14d8880cd0ae96f8d9484dbf7e6739c5c3374376ebe25fa331f4b1bc6df0330dd735bef686263d41cc993b032c09da0d7ee1957637b7a61618f21 WHIRLPOOL fdd174690cadcdab07848ba03daeb006306ea5588a1bef6f9d18d6bffe102350621269f256495228a337772101b2157a2d57f46e8d877fe6953f8f1d10b88ce2
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/pbzip2/pbzip2-1.1.12.ebuild,v 1.1 2015/01/04 01:55:59 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit flag-o-matic eutils
|
||||
|
||||
DESCRIPTION="Parallel bzip2 (de)compressor using libbz2"
|
||||
HOMEPAGE="http://compression.ca/pbzip2/ https://launchpad.net/pbzip2"
|
||||
SRC_URI="https://launchpad.net/pbzip2/${PV:0:3}/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="BZIP2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="static symlink"
|
||||
|
||||
LIB_DEPEND="app-arch/bzip2[static-libs(+)]"
|
||||
RDEPEND="
|
||||
!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
|
||||
symlink? ( !app-arch/lbzip2[symlink] )"
|
||||
DEPEND="${RDEPEND}
|
||||
static? ( ${LIB_DEPEND} )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.1.10-makefile.patch
|
||||
tc-export CXX
|
||||
use static && append-ldflags -static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin pbzip2
|
||||
dodoc AUTHORS ChangeLog README
|
||||
doman pbzip2.1
|
||||
dosym pbzip2 /usr/bin/pbunzip2
|
||||
|
||||
if use symlink ; then
|
||||
local s
|
||||
for s in bzip2 bunzip2 bzcat ; do
|
||||
dosym pbzip2 /usr/bin/${s}
|
||||
done
|
||||
fi
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST openssl-blacklist_0.4.1.tar.gz 32928403 SHA256 1fc13066cbdf65bec886e989c35d74abbfde19ea936a1b909d69129720c7b313 SHA512 9b7c8b20f02416ebf8d7bf5cfed7e5bd6a19b5245f9f9acae72dba966c4747f867bb67d3fabcf9d7ea7717389783e33df48dbf303012a9d9763871c4cd69a327 WHIRLPOOL e5ffe55aee50032a7e48c608134f630d96dcaa482d1b60f35e86f51f1d934327d4d41e11a2fd8a20061f45682a1209c5d4ddecf67287096795389ca6080e17eb
|
||||
DIST openssl-blacklist_0.4.2.tar.gz 32928454 SHA256 2eab66bfbcf12de78d7188d3dc41eaa3bf4bc04866c0228ab8e313842920988b SHA512 03d53e0b3b33645e4a06c2fc50972bf8674cd7818cd2a92d2eb097387790fbbbf49057e529b2d9434c04e211d85fa55a549bf1f97728c38232cee93a4fcf9b14 WHIRLPOOL 39f14ea963dacf1d90f09e0d4c6cd453ef7f0d95e0632f58fa8383b45b50df22dd4da852add8b6b1f5bcaad7946ffec760e36f03ddee8e8e6ada1a28be589010
|
||||
DIST openssl-blacklist_0.5-3.diff.gz 20228 SHA256 caf34380fce6f4b31d958a176f8f5d0a4d1e9da66ceaed2e5a20c7929d341942 SHA512 5e5b7fdc97248ccc44f3ffa306a23f9d3ed9585cee15f1ad55dffcf4e70a50463c05382b393bc07e4bd18ea530eea7d36a508f40c1e03b0932eb3cde43f886bd WHIRLPOOL 4d7dd96e4c0b8ff780d64848cf15e1be9c0c97651b4aeefb502093a4436ab706f23f0399972e8f3fea28413efd7c76964034d335ca1c0a1b23153bbf1d6d8cd5
|
||||
DIST openssl-blacklist_0.5.orig.tar.gz 32908393 SHA256 d194cafbbad9ba10b6dd1721ee241c1a645552d206203f764fe4f059b29175bb SHA512 b0ecab15f4357b56508b048a0648263f118aa8eeda8ad6a15caab8c38b2270a5daf897026daf376a561b292c64c2651269182732e0ae3e4bbac455cc1d3985ab WHIRLPOOL dbbcd44db10dba96390ae7d32ca008ce62a43c2764aa582009b4b8d809be8241553cab5a8cb778401b88ad88da1edd1125775d74ada61b73a2d3b812a1ed8b5f
|
||||
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/openssl-blacklist/openssl-blacklist-0.4.1.ebuild,v 1.3 2008/10/02 18:16:52 jer Exp $
|
||||
|
||||
DESCRIPTION="Detection of weak ssl keys produced by certain debian versions between 2006 and 2008"
|
||||
HOMEPAGE="https://launchpad.net/ubuntu/+source/openssl-blacklist/"
|
||||
SRC_URI="mirror://debian/pool/main/o/${PN}/${PN}_${PV}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 hppa x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
DEPEND="dev-lang/python"
|
||||
S="${WORKDIR}/trunk"
|
||||
|
||||
src_compile() {
|
||||
einfo nothing to compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin openssl-vulnkey || die "dobin failed"
|
||||
doman openssl-vulnkey.1 || die "doman failed"
|
||||
dodir /usr/share/openssl-blacklist/
|
||||
for keysize in 512 1024 2048 4096; do \
|
||||
cat "${S}/debian/blacklist.prefix" > "${D}/usr/share/openssl-blacklist/blacklist.RSA-$keysize"
|
||||
cat "${S}"/blacklists/*/blacklist-$keysize.db \
|
||||
| cut -d ' ' -f 5 | cut -b21- | sort \
|
||||
>> "${D}/usr/share/openssl-blacklist/blacklist.RSA-$keysize"
|
||||
done
|
||||
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/openssl-blacklist/openssl-blacklist-0.4.2.ebuild,v 1.1 2009/04/15 08:05:43 hanno Exp $
|
||||
|
||||
DESCRIPTION="Detection of weak ssl keys produced by certain debian versions between 2006 and 2008"
|
||||
HOMEPAGE="https://launchpad.net/ubuntu/+source/openssl-blacklist/"
|
||||
SRC_URI="mirror://debian/pool/main/o/${PN}/${PN}_${PV}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
DEPEND="dev-lang/python"
|
||||
RDEPEND="${DEPEND}"
|
||||
S="${WORKDIR}/trunk"
|
||||
|
||||
src_compile() {
|
||||
einfo nothing to compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin openssl-vulnkey || die "dobin failed"
|
||||
doman openssl-vulnkey.1 || die "doman failed"
|
||||
dodir /usr/share/openssl-blacklist/
|
||||
for keysize in 512 1024 2048 4096; do \
|
||||
cat "${S}/debian/blacklist.prefix" > "${D}/usr/share/openssl-blacklist/blacklist.RSA-$keysize"
|
||||
cat "${S}"/blacklists/*/blacklist-$keysize.db \
|
||||
| cut -d ' ' -f 5 | cut -b21- | sort \
|
||||
>> "${D}/usr/share/openssl-blacklist/blacklist.RSA-$keysize"
|
||||
done
|
||||
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST emacs-25.0.50_pre20141031.tar.xz 24539480 SHA256 ff6af35edc35441465e4b41893573ff72cb85218ebe1c02b211286c72aefe645 SHA512 2abbde5906be73f2b4ca0375a9f138a08c671cbdfecb96e92f4b606ac05177dfbc7afe9409f0b6774497800eb4efe1a461c9c6d64f2a2494a8b27aa0b26e1c44 WHIRLPOOL ac12e7f4577d0b1f42fbe46a333ab0d67eddaf1ab5e723ab9fc3f7c305db453f77fdb4e5919049fe297f3bf2e273b35627c88d8e447d2b335f52ae6fa15ace39
|
||||
DIST emacs-25.0.50_pre20141110.tar.xz 24564108 SHA256 ed5a3600a2434fa6c43fbbb711c9ad682f76bcaeba5632031a0053d1fa7c0020 SHA512 db2add52e31be1d696e3634c92f993db124eaa8f3a727d04603cf47ed4c581643594571177d812d6c86584dce357eec6c86a7c9df1b07b09cb6faac4c699daf2 WHIRLPOOL 91cdba50d7ad9f41859d3247b1b839d1a42cb8004e209b1afe8d86f3c27abdfd3f2b1cf767b480f2ea271871b79886c878a899918056c1abb100bfa0eab87668
|
||||
DIST emacs-25.0.50_pre20141130.tar.xz 24635536 SHA256 0d7627d217c7b90051af4a0cffe23fe12ddaf79f18a55651627bf5fdf4ce5d0e SHA512 57b8a57a8f46c9ef34b7f5575b6062fb3ac6b47cf913599ecd10187925acf15569cc3cdf35f5775510809886841d9f803ef423ac3c5c600058bfe10aa190d4bd WHIRLPOOL 3dd946dce4f23009a7021de65764f085e7ef1732fcbbd174e1530a0e2274ac32045987016335e11d6e9af2f4c911ce6848f06b8915b56650785a2a06003964c3
|
||||
DIST emacs-25.0.50_pre20141231.tar.xz 24688612 SHA256 15bc6b8e1923bb6c1e18e3a8d89652c6594d72fbd1e3c15898ab9df03d19ad77 SHA512 b544f3530c707927c8ef4614b0804505e6cb32d8d6cef45f7aff56f67d632906d447d381a374ef37c6c46660cba1bb53dc7adead308bd902951abcc475593c75 WHIRLPOOL 0f373c4ef413a88e91e41b707686413a93661121453f3a80bff1cba75a17271dd30cd8dc64037487d2dcb2e3f4681af3bc989668c931b006a1bb2742eb5a9d5b
|
||||
|
@ -0,0 +1,363 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-25.0.50_pre20141231.ebuild,v 1.1 2015/01/03 12:17:36 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools elisp-common eutils flag-o-matic multilib readme.gentoo
|
||||
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://git.sv.gnu.org/emacs.git"
|
||||
EGIT_BRANCH="master"
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/emacs"
|
||||
S="${EGIT_CHECKOUT_DIR}"
|
||||
else
|
||||
SRC_URI="http://dev.gentoo.org/~ulm/distfiles/emacs-${PV}.tar.xz
|
||||
mirror://gnu-alpha/emacs/pretest/emacs-${PV}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
# FULL_VERSION keeps the full version number, which is needed in
|
||||
# order to determine some path information correctly for copy/move
|
||||
# operations later on
|
||||
FULL_VERSION="${PV%%_*}"
|
||||
#S="${WORKDIR}/emacs-${FULL_VERSION}"
|
||||
S="${WORKDIR}/emacs"
|
||||
fi
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="http://www.gnu.org/software/emacs/"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
|
||||
SLOT="25"
|
||||
IUSE="acl alsa aqua athena dbus games gconf gfile gif gnutls gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm zlib"
|
||||
REQUIRED_USE="?? ( aqua X )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
>=app-admin/eselect-emacs-1.16
|
||||
>=app-emacs/emacs-common-gentoo-1.4-r1[games?,X?]
|
||||
net-libs/liblockfile
|
||||
acl? ( virtual/acl )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
dbus? ( sys-apps/dbus )
|
||||
gfile? ( >=dev-libs/glib-2.28.6 )
|
||||
gnutls? ( net-libs/gnutls )
|
||||
gpm? ( sys-libs/gpm )
|
||||
hesiod? ( net-dns/hesiod )
|
||||
kerberos? ( virtual/krb5 )
|
||||
libxml2? ( >=dev-libs/libxml2-2.2.0 )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
zlib? ( sys-libs/zlib )
|
||||
X? (
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
x11-misc/xbitmaps
|
||||
gconf? ( >=gnome-base/gconf-2.26.2 )
|
||||
gsettings? ( >=dev-libs/glib-2.28.6 )
|
||||
gif? ( media-libs/giflib )
|
||||
jpeg? ( virtual/jpeg:0= )
|
||||
png? ( >=media-libs/libpng-1.4:0= )
|
||||
svg? ( >=gnome-base/librsvg-2.0 )
|
||||
tiff? ( media-libs/tiff )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
imagemagick? ( >=media-gfx/imagemagick-6.6.2 )
|
||||
xft? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
x11-libs/libXft
|
||||
m17n-lib? (
|
||||
>=dev-libs/libotf-0.9.4
|
||||
>=dev-libs/m17n-lib-1.5.1
|
||||
)
|
||||
)
|
||||
gtk? (
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
!gtk3? ( x11-libs/gtk+:2 )
|
||||
)
|
||||
!gtk? (
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
!motif? (
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? ( athena? ( x11-libs/libXaw ) )
|
||||
)
|
||||
)
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
gzip-el? ( app-arch/gzip )
|
||||
pax_kernel? (
|
||||
sys-apps/attr
|
||||
sys-apps/paxctl
|
||||
)"
|
||||
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
DEPEND="${DEPEND}
|
||||
sys-apps/texinfo"
|
||||
fi
|
||||
|
||||
EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}"
|
||||
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
FULL_VERSION=$(sed -n 's/^AC_INIT([^,]*,[ \t]*\([^ \t,)]*\).*/\1/p' \
|
||||
configure.ac)
|
||||
[[ ${FULL_VERSION} ]] || die "Cannot determine current Emacs version"
|
||||
einfo "Emacs branch: ${EGIT_BRANCH}"
|
||||
einfo "Commit: ${EGIT_VERSION}"
|
||||
einfo "Emacs version number: ${FULL_VERSION}"
|
||||
[[ ${FULL_VERSION} =~ ^${PV%.*}(\..*)?$ ]] \
|
||||
|| die "Upstream version number changed to ${FULL_VERSION}"
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
|
||||
# Fix filename reference in redirected man page
|
||||
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 \
|
||||
|| die "unable to sed ctags.1"
|
||||
|
||||
AT_M4DIR=m4 eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
strip-flags
|
||||
filter-flags -pie #526948
|
||||
|
||||
if use sh; then
|
||||
replace-flags "-O[1-9]" -O0 #262359
|
||||
elif use ia64; then
|
||||
replace-flags "-O[2-9]" -O1 #325373
|
||||
else
|
||||
replace-flags "-O[3-9]" -O2
|
||||
fi
|
||||
|
||||
local myconf
|
||||
|
||||
if use alsa; then
|
||||
use sound || ewarn \
|
||||
"USE flag \"alsa\" overrides \"-sound\"; enabling sound support."
|
||||
myconf+=" --with-sound=alsa"
|
||||
else
|
||||
myconf+=" --with-sound=$(usex sound oss)"
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
myconf+=" --with-x --without-ns"
|
||||
myconf+=" $(use_with gconf)"
|
||||
myconf+=" $(use_with gsettings)"
|
||||
myconf+=" $(use_with toolkit-scroll-bars)"
|
||||
myconf+=" $(use_with gif)"
|
||||
myconf+=" $(use_with jpeg)"
|
||||
myconf+=" $(use_with png)"
|
||||
myconf+=" $(use_with svg rsvg)"
|
||||
myconf+=" $(use_with tiff)"
|
||||
myconf+=" $(use_with xpm)"
|
||||
myconf+=" $(use_with imagemagick)"
|
||||
|
||||
if use xft; then
|
||||
myconf+=" --with-xft"
|
||||
myconf+=" $(use_with m17n-lib libotf)"
|
||||
myconf+=" $(use_with m17n-lib m17n-flt)"
|
||||
else
|
||||
myconf+=" --without-xft"
|
||||
myconf+=" --without-libotf --without-m17n-flt"
|
||||
use m17n-lib && ewarn \
|
||||
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
||||
fi
|
||||
|
||||
local f
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
myconf+=" --with-x-toolkit=$(usex gtk3 gtk3 gtk2)"
|
||||
for f in motif Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"gtk\" is set."
|
||||
done
|
||||
elif use motif; then
|
||||
einfo "Configuring to build with Motif toolkit"
|
||||
myconf+=" --with-x-toolkit=motif"
|
||||
for f in Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"motif\" is set."
|
||||
done
|
||||
elif use athena || use Xaw3d; then
|
||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||
else
|
||||
einfo "Configuring to build with no toolkit"
|
||||
myconf+=" --with-x-toolkit=no"
|
||||
fi
|
||||
elif use aqua; then
|
||||
einfo "Configuring to build with Nextstep (Cocoa) support"
|
||||
myconf+=" --with-ns --disable-ns-self-contained"
|
||||
myconf+=" --without-x"
|
||||
else
|
||||
myconf+=" --without-x --without-ns"
|
||||
fi
|
||||
|
||||
# Save version information in the Emacs binary. It will be available
|
||||
# in variable "system-configuration-options".
|
||||
myconf+=" GENTOO_PACKAGE=${CATEGORY}/${PF}"
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
myconf+=" EGIT_BRANCH=${EGIT_BRANCH} EGIT_VERSION=${EGIT_VERSION}"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--program-suffix="-${EMACS_SUFFIX}" \
|
||||
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
||||
--localstatedir="${EPREFIX}"/var \
|
||||
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
||||
--with-gameuser="${GAMES_USER_DED:-games}" \
|
||||
--without-compress-install \
|
||||
--with-file-notification=$(usev gfile || usev inotify || echo no) \
|
||||
$(use_enable acl) \
|
||||
$(use_with dbus) \
|
||||
$(use_with gnutls) \
|
||||
$(use_with gpm) \
|
||||
$(use_with hesiod) \
|
||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||
$(use_with libxml2 xml2) \
|
||||
$(use_with selinux) \
|
||||
$(use_with wide-int) \
|
||||
$(use_with zlib) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
|
||||
emake
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" NO_BIN_LINK=t install
|
||||
|
||||
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} \
|
||||
|| die "moving emacs executable failed"
|
||||
mv "${ED}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 \
|
||||
|| die "moving emacs man page failed"
|
||||
|
||||
# move info dir to avoid collisions with the dir file generated by portage
|
||||
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \
|
||||
|| die "moving info dir failed"
|
||||
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
|
||||
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
|
||||
|
||||
# avoid collision between slots, see bug #169033 e.g.
|
||||
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
|
||||
rm -rf "${ED}"/usr/share/{appdata,applications,icons}
|
||||
rm -rf "${ED}"/var
|
||||
|
||||
# remove unused <version>/site-lisp dir
|
||||
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
|
||||
|
||||
# remove COPYING file (except for etc/COPYING used by describe-copying)
|
||||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING
|
||||
|
||||
if use gzip-el; then
|
||||
# compress .el files when a corresponding .elc exists
|
||||
find "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp -type f \
|
||||
-name "*.elc" -print | sed 's/\.elc$/.el/' | xargs gzip -9n
|
||||
assert "gzip .el failed"
|
||||
fi
|
||||
|
||||
local cdir
|
||||
if use source; then
|
||||
cdir="/usr/share/emacs/${FULL_VERSION}/src"
|
||||
insinto "${cdir}"
|
||||
# This is not meant to install all the source -- just the
|
||||
# C source you might find via find-function
|
||||
doins src/*.{c,h,m}
|
||||
elif has installsources ${FEATURES}; then
|
||||
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
|
||||
fi
|
||||
|
||||
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF
|
||||
X
|
||||
;;; ${PN}-${SLOT} site-lisp configuration
|
||||
X
|
||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||
Y (setq find-function-C-source-directory
|
||||
Y "${EPREFIX}${cdir}")
|
||||
X (let ((path (getenv "INFOPATH"))
|
||||
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
|
||||
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
|
||||
X (and path
|
||||
X ;; move Emacs Info dir before anything else in /usr/share/info
|
||||
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
||||
X (while (and (cdr q) (not (string-match re (cadr q))))
|
||||
X (setq q (cdr q)))
|
||||
X (setcdr q (cons dir (delete dir (cdr q))))
|
||||
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
|
||||
EOF
|
||||
elisp-site-file-install "${T}/${SITEFILE}" || die
|
||||
|
||||
dodoc README BUGS CONTRIBUTE
|
||||
|
||||
if use aqua; then
|
||||
dodir /Applications/Gentoo
|
||||
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
|
||||
mv nextstep/Emacs.app \
|
||||
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
|
||||
fi
|
||||
|
||||
DOC_CONTENTS="You can set the version to be started by /usr/bin/emacs
|
||||
through the Emacs eselect module, which also redirects man and info
|
||||
pages. Therefore, several Emacs versions can be installed at the
|
||||
same time. \"man emacs.eselect\" for details.
|
||||
\\n\\nIf you upgrade from Emacs version 24.2 or earlier, then it is
|
||||
strongly recommended that you use app-admin/emacs-updater to rebuild
|
||||
all byte-compiled elisp files of the installed Emacs packages."
|
||||
use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
|
||||
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
|
||||
machine would satisfy basic Emacs requirements under X11.
|
||||
See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
|
||||
for how to enable anti-aliased fonts."
|
||||
use aqua && DOC_CONTENTS+="\\n\\nEmacs${EMACS_SUFFIX#emacs}.app is in
|
||||
\"${EPREFIX}/Applications/Gentoo\". You may want to copy or symlink
|
||||
it into /Applications by yourself."
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# move Info dir file to correct name
|
||||
local infodir=/usr/share/info/${EMACS_SUFFIX} f
|
||||
if [[ -f ${ED}${infodir}/dir.orig ]]; then
|
||||
mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
|
||||
elif [[ -d "${ED}"${infodir} ]]; then
|
||||
# this should not happen in EAPI 4
|
||||
ewarn "Regenerating Info directory index in ${infodir} ..."
|
||||
rm -f "${ED}"${infodir}/dir{,.*}
|
||||
for f in "${ED}"${infodir}/*; do
|
||||
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
|
||||
install-info --info-dir="${ED}"${infodir} "${f}" \
|
||||
|| die "install-info failed"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
|
||||
local pvr
|
||||
for pvr in ${REPLACING_VERSIONS}; do
|
||||
[[ ${pvr%%[-_]*} = 24.[12] ]] && FORCE_PRINT_ELOG=1
|
||||
done
|
||||
readme.gentoo_print_elog
|
||||
|
||||
if use livecd; then
|
||||
# force an update of the emacs symlink for the livecd/dvd,
|
||||
# because some microemacs packages set it with USE=livecd
|
||||
eselect emacs update
|
||||
elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then
|
||||
# refresh symlinks in case any installed files have changed
|
||||
eselect emacs set ${EMACS_SUFFIX}
|
||||
else
|
||||
eselect emacs update ifunset
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
@ -0,0 +1,415 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/gvim/gvim-7.4.560.ebuild,v 1.1 2015/01/04 05:46:45 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
PYTHON_REQ_USE=threads
|
||||
inherit eutils vim-doc flag-o-matic fdo-mime versionator bash-completion-r1 prefix python-single-r1
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://vim.googlecode.com/hg/"
|
||||
EHG_PROJECT="vim"
|
||||
else
|
||||
VIM_ORG_PATCH="vim-${PV}.patch.xz"
|
||||
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCH}
|
||||
http://dev.gentoo.org/~radhermit/vim/vim-7.4.542-gentoo-patches.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="GUI version of the Vim text editor"
|
||||
HOMEPAGE="http://www.vim.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="vim"
|
||||
IUSE="acl aqua cscope debug gnome gtk lua luajit motif neXt netbeans nls perl python racket ruby selinux session tcl"
|
||||
REQUIRED_USE="
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
luajit? ( lua )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
~app-editors/vim-core-${PV}
|
||||
>=app-admin/eselect-vi-1.1
|
||||
>=sys-libs/ncurses-5.2-r2
|
||||
x11-libs/libXext
|
||||
x11-libs/libXt
|
||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
||||
!aqua? (
|
||||
gtk? (
|
||||
>=x11-libs/gtk+-2.6:2
|
||||
x11-libs/libXft
|
||||
gnome? ( >=gnome-base/libgnomeui-2.6 )
|
||||
)
|
||||
!gtk? (
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
!motif? (
|
||||
neXt? ( x11-libs/neXtaw )
|
||||
!neXt? ( x11-libs/libXaw )
|
||||
)
|
||||
)
|
||||
)
|
||||
cscope? ( dev-util/cscope )
|
||||
lua? (
|
||||
luajit? ( dev-lang/luajit )
|
||||
!luajit? ( dev-lang/lua[deprecated] )
|
||||
)
|
||||
nls? ( virtual/libintl )
|
||||
perl? ( dev-lang/perl:= )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
racket? ( dev-scheme/racket )
|
||||
ruby? ( || ( dev-lang/ruby:2.1 dev-lang/ruby:2.0 dev-lang/ruby:1.9 ) )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
session? ( x11-libs/libSM )
|
||||
tcl? ( dev-lang/tcl )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/ctags
|
||||
sys-devel/autoconf
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/vim${VIM_VERSION/.}
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug 82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
# Gnome sandbox silliness. bug #114475.
|
||||
mkdir -p "${T}"/home
|
||||
export HOME="${T}"/home
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCH%.xz} ]] ; then
|
||||
# Apply any patches available from vim.org for this version
|
||||
epatch "${WORKDIR}"/${VIM_ORG_PATCH%.xz}
|
||||
fi
|
||||
|
||||
if [[ -d "${WORKDIR}"/patches/ ]]; then
|
||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches/
|
||||
fi
|
||||
fi
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|
||||
|| die "mve.awk sed failed"
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
||||
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]] ; then
|
||||
sed -i '/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile
|
||||
fi
|
||||
|
||||
if version_is_at_least 7.3.122 ; then
|
||||
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
|
||||
fi
|
||||
|
||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||
if version_is_at_least 7.3 ; then
|
||||
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=()
|
||||
|
||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.in is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
||||
rm -f src/auto/configure
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
|
||||
[[ -e ${file} ]] && addwrite $file
|
||||
done
|
||||
|
||||
use debug && append-flags "-DDEBUG"
|
||||
|
||||
myconf=(
|
||||
--with-features=huge
|
||||
--disable-gpm
|
||||
--enable-multibyte
|
||||
$(use_enable acl)
|
||||
$(use_enable cscope)
|
||||
$(use_enable lua luainterp)
|
||||
$(use_with luajit)
|
||||
$(use_enable netbeans)
|
||||
$(use_enable nls)
|
||||
$(use_enable perl perlinterp)
|
||||
$(use_enable racket mzschemeinterp)
|
||||
$(use_enable ruby rubyinterp)
|
||||
$(use_enable selinux)
|
||||
$(use_enable session xsmp)
|
||||
$(use_enable tcl tclinterp)
|
||||
)
|
||||
|
||||
if use python ; then
|
||||
if [[ ${EPYTHON} == python3* ]] ; then
|
||||
myconf+=( --enable-python3interp )
|
||||
export vi_cv_path_python3="${PYTHON}"
|
||||
else
|
||||
myconf+=( --enable-pythoninterp )
|
||||
export vi_cv_path_python="${PYTHON}"
|
||||
fi
|
||||
else
|
||||
myconf+=(
|
||||
--disable-pythoninterp
|
||||
--disable-python3interp
|
||||
)
|
||||
fi
|
||||
|
||||
# --with-features=huge forces on cscope even if we --disable it. We need
|
||||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
||||
if ! use cscope ; then
|
||||
sed -i '/# define FEAT_CSCOPE/d' src/feature.h || \
|
||||
die "couldn't disable cscope"
|
||||
fi
|
||||
|
||||
# gvim's GUI preference order is as follows:
|
||||
# aqua CARBON (not tested)
|
||||
# -aqua gtk gnome GNOME2
|
||||
# -aqua gtk -gnome GTK2
|
||||
# -aqua -gtk motif MOTIF
|
||||
# -aqua -gtk -motif neXt NEXTAW
|
||||
# -aqua -gtk -motif -neXt ATHENA
|
||||
echo ; echo
|
||||
if use aqua ; then
|
||||
einfo "Building gvim with the Carbon GUI"
|
||||
myconf+=(
|
||||
--enable-darwin
|
||||
--enable-gui=carbon
|
||||
)
|
||||
elif use gtk ; then
|
||||
myconf+=( --enable-gtk2-check )
|
||||
if use gnome ; then
|
||||
einfo "Building gvim with the Gnome 2 GUI"
|
||||
myconf+=( --enable-gui=gnome2 )
|
||||
else
|
||||
einfo "Building gvim with the gtk+-2 GUI"
|
||||
myconf+=( --enable-gui=gtk2 )
|
||||
fi
|
||||
elif use motif ; then
|
||||
einfo "Building gvim with the MOTIF GUI"
|
||||
myconf+=( --enable-gui=motif )
|
||||
elif use neXt ; then
|
||||
einfo "Building gvim with the neXtaw GUI"
|
||||
myconf+=( --enable-gui=nextaw )
|
||||
else
|
||||
einfo "Building gvim with the Athena GUI"
|
||||
myconf+=( --enable-gui=athena )
|
||||
fi
|
||||
echo ; echo
|
||||
|
||||
# Let Portage do the stripping. Some people like that.
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=( --without-local-dir )
|
||||
|
||||
if [[ ${CHOST} == *-interix* ]]; then
|
||||
# avoid finding of this function, to avoid having to patch either
|
||||
# configure or the source, which would be much more hackish.
|
||||
# after all vim does it right, only interix is badly broken (again)
|
||||
export ac_cv_func_sigaction=no
|
||||
fi
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
--with-vim-name=gvim \
|
||||
--with-x \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo
|
||||
einfo "Starting vim tests. Several error messages will be shown"
|
||||
einfo "while the tests run. This is normal behaviour and does not"
|
||||
einfo "indicate a fault."
|
||||
echo
|
||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
||||
ewarn "state. Usually, running 'reset' will fix this."
|
||||
echo
|
||||
|
||||
# Don't let vim talk to X
|
||||
unset DISPLAY
|
||||
|
||||
# We've got to call make test from within testdir, since the Makefiles
|
||||
# don't pass through our VIMPROG argument
|
||||
cd "${S}"/src/testdir
|
||||
|
||||
# Test 49 won't work inside a portage environment
|
||||
einfo "Test 49 isn't sandbox-friendly, so it will be skipped."
|
||||
sed -i 's~test49.out~~g' Makefile
|
||||
|
||||
# We don't want to rebuild vim before running the tests
|
||||
sed -i 's,: \$(VIMPROG),: ,' Makefile
|
||||
|
||||
# Make gvim not try to connect to X. See :help gui-x11-start
|
||||
# in vim for how this evil trickery works.
|
||||
ln -s "${S}"/src/gvim "${S}"/src/testvim
|
||||
|
||||
# Don't try to do the additional GUI test
|
||||
emake -j1 VIMPROG=../testvim nongui
|
||||
}
|
||||
|
||||
# Make convenience symlinks, hopefully without stepping on toes. Some
|
||||
# of these links are "owned" by the vim ebuild when it is installed,
|
||||
# but they might be good for gvim as well (see bug 45828)
|
||||
update_vim_symlinks() {
|
||||
has "${EAPI:-0}" 0 1 2 && use !prefix && EROOT="${ROOT}"
|
||||
local f syms
|
||||
syms="vimdiff rvim rview"
|
||||
einfo "Calling eselect vi update..."
|
||||
# Call this with --if-unset to respect user's choice (bug 187449)
|
||||
eselect vi update --if-unset
|
||||
|
||||
# Make or remove convenience symlink, vim -> gvim
|
||||
if [[ -f "${EROOT}"/usr/bin/gvim ]]; then
|
||||
ln -s gvim "${EROOT}"/usr/bin/vim 2>/dev/null
|
||||
elif [[ -L "${EROOT}"/usr/bin/vim && ! -f "${EROOT}"/usr/bin/vim ]]; then
|
||||
rm "${EROOT}"/usr/bin/vim
|
||||
fi
|
||||
|
||||
# Make or remove convenience symlinks to vim
|
||||
if [[ -f "${EROOT}"/usr/bin/vim ]]; then
|
||||
for f in ${syms}; do
|
||||
ln -s vim "${EROOT}"/usr/bin/${f} 2>/dev/null
|
||||
done
|
||||
else
|
||||
for f in ${syms}; do
|
||||
if [[ -L "${EROOT}"/usr/bin/${f} && ! -f "${EROOT}"/usr/bin/${f} ]]; then
|
||||
rm -f "${EROOT}"/usr/bin/${f}
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# This will still break if you merge then remove the vi package,
|
||||
# but there's only so much you can do, eh? Unfortunately we don't
|
||||
# have triggers like are done in rpm-land.
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||
|
||||
dobin src/gvim
|
||||
dosym gvim /usr/bin/gvimdiff
|
||||
dosym gvim /usr/bin/evim
|
||||
dosym gvim /usr/bin/eview
|
||||
dosym gvim /usr/bin/gview
|
||||
dosym gvim /usr/bin/rgvim
|
||||
dosym gvim /usr/bin/rgview
|
||||
|
||||
dodir /usr/share/man/man1
|
||||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gvim.1
|
||||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gview.1
|
||||
echo ".so vimdiff.1" > "${ED}"/usr/share/man/man1/gvimdiff.1
|
||||
|
||||
insinto /etc/vim
|
||||
newins "${FILESDIR}"/gvimrc-r1 gvimrc
|
||||
eprefixify "${ED}"/etc/vim/gvimrc
|
||||
|
||||
newmenu "${FILESDIR}"/gvim.desktop-r2 gvim.desktop
|
||||
doicon "${FILESDIR}"/gvim.xpm
|
||||
|
||||
# bash completion script, bug #79018.
|
||||
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
|
||||
|
||||
# We shouldn't be installing the ex or view man page symlinks, as they
|
||||
# are managed by eselect-vi
|
||||
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# Update fdo mime stuff, bug #78394
|
||||
fdo-mime_mime_database_update
|
||||
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
echo
|
||||
elog "Vim 7 includes an integrated spell checker. You need to install"
|
||||
elog "word list files before you can use it. There are ebuilds for"
|
||||
elog "some of these named app-vim/vim-spell-*. If your language of"
|
||||
elog "choice is not included, please consult vim-spell.eclass for"
|
||||
elog "instructions on how to make a package."
|
||||
echo
|
||||
ewarn "Note that the English word lists are no longer installed by"
|
||||
ewarn "default."
|
||||
echo
|
||||
fi
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# Update fdo mime stuff, bug #78394
|
||||
fdo-mime_mime_database_update
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
@ -0,0 +1,230 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim-core/vim-core-7.4.560.ebuild,v 1.1 2015/01/04 05:45:17 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
||||
inherit eutils vim-doc flag-o-matic versionator bash-completion-r1 prefix
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://vim.googlecode.com/hg/"
|
||||
EHG_PROJECT="vim"
|
||||
else
|
||||
VIM_ORG_PATCH="vim-${PV}.patch.xz"
|
||||
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCH}
|
||||
http://dev.gentoo.org/~radhermit/vim/vim-7.4.542-gentoo-patches.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="vim and gvim shared files"
|
||||
HOMEPAGE="http://www.vim.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="vim"
|
||||
IUSE="nls acl minimal"
|
||||
|
||||
DEPEND="sys-devel/autoconf"
|
||||
PDEPEND="!minimal? ( app-vim/gentoo-syntax )"
|
||||
|
||||
S=${WORKDIR}/vim${VIM_VERSION/.}
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug 82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
# Gnome sandbox silliness. bug #114475.
|
||||
mkdir -p "${T}"/home
|
||||
export HOME="${T}"/home
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCH%.xz} ]] ; then
|
||||
# Apply any patches available from vim.org for this version
|
||||
epatch "${WORKDIR}"/${VIM_ORG_PATCH%.xz}
|
||||
fi
|
||||
|
||||
if [[ -d "${WORKDIR}"/patches/ ]]; then
|
||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches/
|
||||
fi
|
||||
fi
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|
||||
|| die "mve.awk sed failed"
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
||||
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]] ; then
|
||||
sed -i -e \
|
||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile
|
||||
fi
|
||||
|
||||
if version_is_at_least 7.3.122 ; then
|
||||
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
|
||||
fi
|
||||
|
||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||
if version_is_at_least 7.3 ; then
|
||||
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.in is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
||||
rm -f src/auto/configure
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
|
||||
[[ -e ${file} ]] && addwrite $file
|
||||
done
|
||||
|
||||
# Let Portage do the stripping. Some people like that.
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=" --without-local-dir"
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
--enable-gui=no \
|
||||
--without-x \
|
||||
--disable-darwin \
|
||||
--disable-perlinterp \
|
||||
--disable-pythoninterp \
|
||||
--disable-rubyinterp \
|
||||
--disable-gpm \
|
||||
--disable-selinux \
|
||||
$(use_enable nls) \
|
||||
$(use_enable acl) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake tools
|
||||
}
|
||||
|
||||
src_test() { :; }
|
||||
|
||||
src_install() {
|
||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||
|
||||
dodir /usr/{bin,share/{man/man1,vim}}
|
||||
cd src || die "cd src failed"
|
||||
emake \
|
||||
installruntime \
|
||||
installmanlinks \
|
||||
installmacros \
|
||||
installtutor \
|
||||
installtutorbin \
|
||||
installtools \
|
||||
install-languages \
|
||||
install-icons \
|
||||
DESTDIR="${D}" \
|
||||
BINDIR="${EPREFIX}"/usr/bin \
|
||||
MANDIR="${EPREFIX}"/usr/share/man \
|
||||
DATADIR="${EPREFIX}"/usr/share
|
||||
|
||||
keepdir ${vimfiles}/keymap
|
||||
|
||||
# default vimrc is installed by vim-core since it applies to
|
||||
# both vim and gvim
|
||||
insinto /etc/vim/
|
||||
newins "${FILESDIR}"/vimrc-r4 vimrc
|
||||
eprefixify "${ED}"/etc/vim/vimrc
|
||||
|
||||
if use minimal ; then
|
||||
# To save space, install only a subset of the files.
|
||||
# Helps minimalize the livecd, bug 65144.
|
||||
eshopts_push -s extglob
|
||||
|
||||
rm -fr "${ED}${vimfiles}"/{compiler,doc,ftplugin,indent}
|
||||
rm -fr "${ED}${vimfiles}"/{macros,print,tools,tutor}
|
||||
rm "${ED}"/usr/bin/vimtutor
|
||||
|
||||
local keep_colors="default"
|
||||
ignore=$(rm -fr "${ED}${vimfiles}"/colors/!(${keep_colors}).vim )
|
||||
|
||||
local keep_syntax="conf|crontab|fstab|inittab|resolv|sshdconfig"
|
||||
# tinkering with the next line might make bad things happen ...
|
||||
keep_syntax="${keep_syntax}|syntax|nosyntax|synload"
|
||||
ignore=$(rm -fr "${ED}${vimfiles}"/syntax/!(${keep_syntax}).vim )
|
||||
|
||||
eshopts_pop
|
||||
fi
|
||||
|
||||
# These files might have slight security issues, so we won't
|
||||
# install them. See bug #77841. We don't mind if these don't
|
||||
# exist.
|
||||
rm "${ED}${vimfiles}"/tools/{vimspell.sh,tcltags} 2>/dev/null
|
||||
|
||||
newbashcomp "${FILESDIR}"/xxd-completion xxd
|
||||
|
||||
# We shouldn't be installing the ex or view man page symlinks, as they
|
||||
# are managed by eselect-vi
|
||||
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
}
|
@ -0,0 +1,389 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim/vim-7.4.560.ebuild,v 1.1 2015/01/04 05:46:13 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
PYTHON_REQ_USE=threads
|
||||
inherit eutils vim-doc flag-o-matic fdo-mime versionator bash-completion-r1 python-single-r1
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://vim.googlecode.com/hg/"
|
||||
EHG_PROJECT="vim"
|
||||
else
|
||||
VIM_ORG_PATCH="vim-${PV}.patch.xz"
|
||||
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCH}
|
||||
http://dev.gentoo.org/~radhermit/vim/vim-7.4.542-gentoo-patches.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Vim, an improved vi-style text editor"
|
||||
HOMEPAGE="http://www.vim.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="vim"
|
||||
IUSE="X acl cscope debug gpm lua luajit minimal nls perl python racket ruby selinux tcl vim-pager"
|
||||
REQUIRED_USE="
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
luajit? ( lua )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=app-admin/eselect-vi-1.1
|
||||
>=sys-libs/ncurses-5.2-r2
|
||||
nls? ( virtual/libintl )
|
||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
||||
cscope? ( dev-util/cscope )
|
||||
gpm? ( >=sys-libs/gpm-1.19.3 )
|
||||
lua? (
|
||||
luajit? ( dev-lang/luajit )
|
||||
!luajit? ( dev-lang/lua[deprecated] )
|
||||
)
|
||||
!minimal? (
|
||||
~app-editors/vim-core-${PV}
|
||||
dev-util/ctags
|
||||
)
|
||||
perl? ( dev-lang/perl:= )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
racket? ( dev-scheme/racket )
|
||||
ruby? ( || ( dev-lang/ruby:2.1 dev-lang/ruby:2.0 dev-lang/ruby:1.9 ) )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
tcl? ( dev-lang/tcl )
|
||||
X? ( x11-libs/libXt )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/autoconf
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/vim${VIM_VERSION/.}
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug 82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
# Gnome sandbox silliness. bug #114475.
|
||||
mkdir -p "${T}"/home
|
||||
export HOME="${T}"/home
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCH%.xz} ]] ; then
|
||||
# Apply any patches available from vim.org for this version
|
||||
epatch "${WORKDIR}"/${VIM_ORG_PATCH%.xz}
|
||||
fi
|
||||
|
||||
if [[ -d "${WORKDIR}"/patches/ ]]; then
|
||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches/
|
||||
fi
|
||||
fi
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|
||||
|| die "mve.awk sed failed"
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
||||
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
|
||||
|
||||
# conditionally make the manpager.sh script
|
||||
if use vim-pager ; then
|
||||
cat <<-END > "${S}"/runtime/macros/manpager.sh
|
||||
#!/bin/sh
|
||||
sed -e 's/\x1B\[[[:digit:]]\+m//g' | col -b | \\
|
||||
vim \\
|
||||
-c 'let no_plugin_maps = 1' \\
|
||||
-c 'set nolist nomod ft=man' \\
|
||||
-c 'let g:showmarks_enable=0' \\
|
||||
-c 'runtime! macros/less.vim' -
|
||||
END
|
||||
fi
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]] ; then
|
||||
sed -i '/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile
|
||||
fi
|
||||
|
||||
if version_is_at_least 7.3.122 ; then
|
||||
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
|
||||
fi
|
||||
|
||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||
if version_is_at_least 7.3 ; then
|
||||
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=()
|
||||
|
||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.in is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
||||
rm -f src/auto/configure
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
|
||||
[[ -e ${file} ]] && addwrite $file
|
||||
done
|
||||
|
||||
if use minimal ; then
|
||||
myconf=(
|
||||
--with-features=tiny
|
||||
--disable-nls
|
||||
--disable-multibyte
|
||||
--disable-acl
|
||||
--enable-gui=no
|
||||
--without-x
|
||||
--disable-darwin
|
||||
--disable-luainterp
|
||||
--disable-perlinterp
|
||||
--disable-pythoninterp
|
||||
--disable-mzschemeinterp
|
||||
--disable-rubyinterp
|
||||
--disable-selinux
|
||||
--disable-tclinterp
|
||||
--disable-gpm
|
||||
)
|
||||
else
|
||||
use debug && append-flags "-DDEBUG"
|
||||
|
||||
myconf=(
|
||||
--with-features=huge
|
||||
--enable-multibyte
|
||||
$(use_enable acl)
|
||||
$(use_enable cscope)
|
||||
$(use_enable gpm)
|
||||
$(use_enable lua luainterp)
|
||||
$(usex lua "--with-lua-prefix=${EPREFIX}/usr" "")
|
||||
$(use_with luajit)
|
||||
$(use_enable nls)
|
||||
$(use_enable perl perlinterp)
|
||||
$(use_enable racket mzschemeinterp)
|
||||
$(use_enable ruby rubyinterp)
|
||||
$(use_enable selinux)
|
||||
$(use_enable tcl tclinterp)
|
||||
)
|
||||
|
||||
if use python ; then
|
||||
if [[ ${EPYTHON} == python3* ]] ; then
|
||||
myconf+=( --enable-python3interp )
|
||||
export vi_cv_path_python3="${PYTHON}"
|
||||
else
|
||||
myconf+=( --enable-pythoninterp )
|
||||
export vi_cv_path_python="${PYTHON}"
|
||||
fi
|
||||
else
|
||||
myconf+=(
|
||||
--disable-pythoninterp
|
||||
--disable-python3interp
|
||||
)
|
||||
fi
|
||||
|
||||
# --with-features=huge forces on cscope even if we --disable it. We need
|
||||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
||||
if ! use cscope ; then
|
||||
sed -i '/# define FEAT_CSCOPE/d' src/feature.h || \
|
||||
die "couldn't disable cscope"
|
||||
fi
|
||||
|
||||
# don't test USE=X here ... see bug #19115
|
||||
# but need to provide a way to link against X ... see bug #20093
|
||||
myconf+=(
|
||||
--enable-gui=no
|
||||
--disable-darwin
|
||||
$(use_with X x)
|
||||
)
|
||||
fi
|
||||
|
||||
# Let Portage do the stripping. Some people like that.
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=( --without-local-dir )
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo
|
||||
einfo "Starting vim tests. Several error messages will be shown"
|
||||
einfo "while the tests run. This is normal behaviour and does not"
|
||||
einfo "indicate a fault."
|
||||
echo
|
||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
||||
ewarn "state. Usually, running 'reset' will fix this."
|
||||
echo
|
||||
|
||||
# Don't let vim talk to X
|
||||
unset DISPLAY
|
||||
|
||||
# We've got to call make test from within testdir, since the Makefiles
|
||||
# don't pass through our VIMPROG argument
|
||||
cd "${S}"/src/testdir
|
||||
|
||||
# Test 49 won't work inside a portage environment
|
||||
einfo "Test 49 isn't sandbox-friendly, so it will be skipped."
|
||||
sed -i 's~test49.out~~g' Makefile
|
||||
|
||||
# We don't want to rebuild vim before running the tests
|
||||
sed -i 's,: \$(VIMPROG),: ,' Makefile
|
||||
|
||||
# Don't try to do the additional GUI test
|
||||
emake -j1 VIMPROG=../vim nongui
|
||||
}
|
||||
|
||||
# Make convenience symlinks, hopefully without stepping on toes. Some
|
||||
# of these links are "owned" by the vim ebuild when it is installed,
|
||||
# but they might be good for gvim as well (see bug 45828)
|
||||
update_vim_symlinks() {
|
||||
has "${EAPI:-0}" 0 1 2 && use !prefix && EROOT="${ROOT}"
|
||||
local f syms
|
||||
syms="vimdiff rvim rview"
|
||||
einfo "Calling eselect vi update..."
|
||||
# Call this with --if-unset to respect user's choice (bug 187449)
|
||||
eselect vi update --if-unset
|
||||
|
||||
# Make or remove convenience symlink, vim -> gvim
|
||||
if [[ -f "${EROOT}"/usr/bin/gvim ]]; then
|
||||
ln -s gvim "${EROOT}"/usr/bin/vim 2>/dev/null
|
||||
elif [[ -L "${EROOT}"/usr/bin/vim && ! -f "${EROOT}"/usr/bin/vim ]]; then
|
||||
rm "${EROOT}"/usr/bin/vim
|
||||
fi
|
||||
|
||||
# Make or remove convenience symlinks to vim
|
||||
if [[ -f "${EROOT}"/usr/bin/vim ]]; then
|
||||
for f in ${syms}; do
|
||||
ln -s vim "${EROOT}"/usr/bin/${f} 2>/dev/null
|
||||
done
|
||||
else
|
||||
for f in ${syms}; do
|
||||
if [[ -L "${EROOT}"/usr/bin/${f} && ! -f "${EROOT}"/usr/bin/${f} ]]; then
|
||||
rm -f "${EROOT}"/usr/bin/${f}
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# This will still break if you merge then remove the vi package,
|
||||
# but there's only so much you can do, eh? Unfortunately we don't
|
||||
# have triggers like are done in rpm-land.
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||
|
||||
# Note: Do not install symlinks for 'vi', 'ex', or 'view', as these are
|
||||
# managed by eselect-vi
|
||||
dobin src/vim
|
||||
dosym vim /usr/bin/vimdiff
|
||||
dosym vim /usr/bin/rvim
|
||||
dosym vim /usr/bin/rview
|
||||
if use vim-pager ; then
|
||||
dosym ${vimfiles}/macros/less.sh /usr/bin/vimpager
|
||||
dosym ${vimfiles}/macros/manpager.sh /usr/bin/vimmanpager
|
||||
insinto ${vimfiles}/macros
|
||||
doins runtime/macros/manpager.sh
|
||||
fperms a+x ${vimfiles}/macros/manpager.sh
|
||||
fi
|
||||
|
||||
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
|
||||
# keep in sync with 'complete ... -F' list
|
||||
bashcomp_alias vim ex vi view rvim rview vimdiff
|
||||
|
||||
# We shouldn't be installing the ex or view man page symlinks, as they
|
||||
# are managed by eselect-vi
|
||||
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
if use X ; then
|
||||
echo
|
||||
elog "The 'X' USE flag enables vim <-> X communication, like"
|
||||
elog "updating the xterm titlebar. It does not install a GUI."
|
||||
fi
|
||||
echo
|
||||
elog "To install a GUI version of vim, use the app-editors/gvim"
|
||||
elog "package."
|
||||
echo
|
||||
elog "Vim 7 includes an integrated spell checker. You need to install"
|
||||
elog "word list files before you can use it. There are ebuilds for"
|
||||
elog "some of these named app-vim/vim-spell-*. If your language of"
|
||||
elog "choice is not included, please consult vim-spell.eclass for"
|
||||
elog "instructions on how to make a package."
|
||||
echo
|
||||
ewarn "Note that the English word lists are no longer installed by"
|
||||
ewarn "default."
|
||||
fi
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST dts-mode-0.1.0_pre20141014.tar.xz 1944 SHA256 9882970b6be92f088a81d233f7ef9c23c697ddd231ec41e8fd73feab196782c5 SHA512 81679f83dfe8e9d2f5b9314cd16615ca79c16e36468c41f5d499584f08ddda73f6cd3c6b6bef3251129e292884e18b8615a0a5cec2c2ea0146718e784f0c210c WHIRLPOOL 46296d6a9e84e4e6944bf7852583b980ed99e141040981e0a15c78e1f14222462d9cc2067d1768aa7e6f15bcbc7b3981e769e17eec9ecfcb148ee9eaff0e9596
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/dts-mode/dts-mode-0.1.0_pre20141014.ebuild,v 1.1 2015/01/03 16:24:33 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Emacs major mode for devicetree sources"
|
||||
HOMEPAGE="https://github.com/bgamari/dts-mode"
|
||||
SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
DOCS="README.mkd"
|
@ -0,0 +1,6 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(autoload 'dts-mode "dts-mode" "Major mode for editing Devicetrees" t)
|
||||
|
||||
;; Separate entries in dts-mode.el itself, don't merge them into a single one.
|
||||
(add-to-list 'auto-mode-alist '("\\.dts\\'" . dts-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.dtsi\\'" . dts-mode))
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>emacs</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-opengl/emul-linux-x86-opengl-20140508-r1.ebuild,v 1.1 2015/01/03 22:51:23 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit emul-linux-x86
|
||||
|
||||
SRC_URI="!abi_x86_32? ( ${SRC_URI} )"
|
||||
LICENSE="!abi_x86_32? ( BSD MIT LGPL-3 SGI-B-2.0 ) abi_x86_32? ( metapackage )"
|
||||
KEYWORDS="-* ~amd64 ~amd64-linux"
|
||||
IUSE="abi_x86_32"
|
||||
|
||||
DEPEND="
|
||||
!abi_x86_32? (
|
||||
>=app-admin/eselect-opengl-1.3
|
||||
>=app-admin/eselect-mesa-0.0.9
|
||||
)"
|
||||
RDEPEND="
|
||||
!abi_x86_32? (
|
||||
>=app-emulation/emul-linux-x86-xlibs-20100611
|
||||
!<app-emulation/emul-linux-x86-xlibs-20100611
|
||||
media-libs/mesa
|
||||
|
||||
!media-libs/freeglut[abi_x86_32(-)]
|
||||
!media-libs/glew[abi_x86_32(-)]
|
||||
!media-libs/glu[abi_x86_32(-)]
|
||||
!media-libs/mesa[abi_x86_32(-)]
|
||||
)
|
||||
abi_x86_32? (
|
||||
>=media-libs/freeglut-2.8.1[abi_x86_32(-)]
|
||||
>=media-libs/glew-1.10.0-r1[abi_x86_32(-)]
|
||||
>=media-libs/glu-9.0.0-r1[abi_x86_32(-)]
|
||||
>=media-libs/mesa-9.1.6[abi_x86_32(-)]
|
||||
)"
|
||||
|
||||
src_prepare() {
|
||||
use abi_x86_32 && return
|
||||
emul-linux-x86_src_prepare
|
||||
rm -f "${S}/usr/lib32/libGL.so" || die
|
||||
rm -f "${S}/usr/lib32/libGL.so.1" || die
|
||||
|
||||
# move opengl files for new eselect-opengl design
|
||||
cd "${S}/usr/lib32/opengl/xorg-x11/lib" || die
|
||||
mv * "${S}/usr/lib32/" || die
|
||||
rm -r "${S}/usr/lib32/opengl" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use abi_x86_32 || emul-linux-x86_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use abi_x86_32 && return
|
||||
# Update GL symlinks
|
||||
eselect opengl set --use-old || die
|
||||
# And the same for mesa (bug #355393)
|
||||
eselect mesa set 32bit --auto || die
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST ktoblzcheck-1.33.tar.gz 579013 SHA256 ecebd9713f0ed9a81df7d77d32625d6955ca8323a8ea4e7aac639fbc7696ec6e SHA512 d2cdbd8d6760c03c8b43f30cadd0226c46b1efe71c57e6f7d1de661f1a09a7af860bdc082aab6ae8ce88c2f09b67baf6c13cf214048ef22fcae248633683dfaf WHIRLPOOL 3bac64a20c1ef7103b5ba84fdbf29c8b394be9f69002bf0fec32e4abd1f64cda333893ab24827f4cf454be31861286abec43ef864192c846fffa452d5562d6be
|
||||
DIST ktoblzcheck-1.39.tar.gz 547649 SHA256 c7017be79b58d0b6c2e919877b7d320da5dcba92d558f36f437da34d9b2dcb41 SHA512 d393fef7aba5af7a0f3901b9a646f5869e66116c1ac065f091d0c6d10bb8fd305ade2acdc1ad64c3f4cecd1ed4162a0b1b5ddc92cd557aa0f9bdfa3dd6225734 WHIRLPOOL 33fd63878ff88c15090aa4eceed30c8edc4021a7bed851068fe6d244b6ce26714616c75ab8821568e13b27a5dec4e4ed8b2b2be8834b24c7ce8c2b42f930496e
|
||||
DIST ktoblzcheck-1.45.tar.gz 572929 SHA256 f5be987c7f7c6935ad8ef80349beea6852f16dd9e16fd1494c9864ce3394a289 SHA512 07c8ed763961c245f55e739d6d821d09d7fe8965365dd74f1e14d5a634eb55dcb8e7abc50700a905450510c2491a1776cc03bf343391147e373e238d30fbb5d8 WHIRLPOOL 2a9304e4052c79d76708823bfdd21b90d7c5206ca6612b6e3b79b5965612d6b4eb7f25b6a45284aafe8b7ac860e6185f3bedd1df4b195cbc7c135d1faf317fba
|
||||
DIST ktoblzcheck-1.48.tar.gz 561054 SHA256 0f4e66d3a880355b1afc88870d224755e078dfaf192242d9c6acb8853f5bcf58 SHA512 897a98b7f39cee43f46fb34009e5d51b06fc0734f4c6e50adf888e9663114c7f927ba5b34cfe8786cb4558621828a580076cd975512a253f247b1e4ce5cfb089 WHIRLPOOL 71a4734aecc042ac2ca6a1cea84fbd70303df3666a76b09696c53ff883c7e0de7588b7eb393774327dd601fb6a4e23aa13b116da2995d006f6b8777f4de8f42d
|
||||
|
@ -0,0 +1,35 @@
|
||||
From d93be02c09575926bc3c4d64a122b81df80c243d Mon Sep 17 00:00:00 2001
|
||||
From: "Andreas K. Huettel (dilfridge)" <dilfridge@gentoo.org>
|
||||
Date: Sun, 4 Jan 2015 15:33:35 +0100
|
||||
Subject: [PATCH] Replace bash-specific code from configure.ac, fixes build for
|
||||
sh=dash users
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Original patch by Rémi Cardona <remi@gentoo.org>
|
||||
|
||||
Change-Id: I815567df8a868c3997e8ac357b8529fded28c950
|
||||
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=525454
|
||||
---
|
||||
configure.ac | 3 +--
|
||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 8aa33d0..5dbe640 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -11483,9 +11483,8 @@ test_font_map()
|
||||
FONTFILE_LOWER="$(echo $FONTFILE | $AWK '{print tolower($0)}')"
|
||||
|
||||
TESTEXPR="'${FONTFILE_LOWER}' = '$(echo $FONT | $AWK '{print tolower($0)}').ttf'"
|
||||
- while true ; do
|
||||
+ while test "$#" -ge 1 ; do
|
||||
MAPPING="$(echo $1 | $AWK '{print tolower($0)}')"; shift
|
||||
- test -n "$MAPPING" || break
|
||||
TESTEXPR="${TESTEXPR} -o '${FONTFILE_LOWER}' = '$MAPPING-regular.ttf'"
|
||||
done
|
||||
if test $TESTEXPR
|
||||
--
|
||||
2.2.1
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST texstudio-2.8.4.tar.gz 25126093 SHA256 b4a867f9cce1af962069f4429bc774e30b0f7d79b4297b71667ab5b8fa2d9e3f SHA512 f27a7eb0bad205d8a8155c40ce95d5a45565c261267073200d91430bb982385fced21dcaf0d2a43c554cc9194ea6a511ae7e2147584c20b67c075a0f298452cd WHIRLPOOL 333b1c3409e9e645eaae7773d2b5556b931ff9763211c242570711f6630411f316bbd0d7dd91613106b88a74ef0eba3c198c69bd295224b63d2d2ad69fa046e3
|
||||
DIST texstudio-2.8.6.tar.gz 25183578 SHA256 b665040c34ad6cd98d8f6e041393028f115da4dfb5bb8829b49dfa5a96fa755f SHA512 af8b4dd54c57c1f34fc316095075c3beee13f323cef0db9b364e7c929ff6d7bfe1d6d66bd7e6bf1127b8394ad6e452510248e11b5c009d6ffba355edffdf064d WHIRLPOOL 6707398bb405c820c3e0591bc0a0f58ad152f01950c4aa4a4a4aeba12d078f29087ef5dac3274f745ebf26c17049bc1dc168b51c53c8a6e9a1626eae41994413
|
||||
DIST texstudio-2.8.8.tar.gz 25198033 SHA256 5d00c42425c0d1464438c0c1701508fef281f5dbdd0fbcebdbba9de60ac6db95 SHA512 b4f50368ac4a145ad6cb6c764d2d84ac0c3b0b08903b53390e34fb3a8d2e2c12b72cdf77cf97ea22df94a29438be6db3004f8663e04c5254ae40bf28bc2be152 WHIRLPOOL 08d4af41163ebfa85539001fe540a5f48b86e341d93983a42da03015d00460b30280f5fa08c50c90c97d7e1ed38d324efea666c6640b6bba421cffd832031e27
|
||||
|
@ -0,0 +1,84 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/texstudio/texstudio-2.8.4.ebuild,v 1.5 2015/01/04 15:34:39 jlec Exp $
|
||||
|
||||
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 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
|
||||
>=dev-qt/qtsvg-4.6.1:4
|
||||
>=dev-qt/qttest-4.6.1:4
|
||||
video? ( media-libs/phonon )"
|
||||
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
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST gentoo-zsh-completions-20141115.tar.xz 19672 SHA256 8da688b38065728056a0557971894668657c029bf1127521eb088268c421bc27 SHA512 23debde6227574285ba123ad312db535d40813de686ef4c89f1e4cd9acb3c1ab63f5094194a50e6d272ad9ce3fa1ec6ef0bf4cf93424e2ec7adcb4c74572e420 WHIRLPOOL d22a5e897d4eb48e7191172f9da40c23b84f9fade10fb383e251562522b7b96c918af2de047a1a88ac385e13a6d0dc86fc1292dc9b7d5ad42696d48b618f6c21
|
||||
DIST gentoo-zsh-completions-20150103.tar.gz 23759 SHA256 b9636fe7a2d9b586437688c30b53efc6c005d2e4599a001af72ebb6cef772631 SHA512 4d87edda071d98672df79e3dbb9565757c0738bc50751d31e5dfefab4f17523387fb2342906ecc0600ce86d888ab4a785756bbb1daf37ca56a3ce1af9e5ae173 WHIRLPOOL 8b685bd0838f14feaed7a23c47b9af884a509fbf99db9d91cac39604671405f2e5a2e9e3945c6bd049f85a2ecde244c92bc8db2e72d4a9b852b021dd78fe8900
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/gentoo-zsh-completions/gentoo-zsh-completions-20150103.ebuild,v 1.1 2015/01/04 05:07:03 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/radhermit/gentoo-zsh-completions.git"
|
||||
else
|
||||
SRC_URI="https://github.com/radhermit/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc64-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Gentoo specific zsh completion support (includes emerge and ebuild commands)"
|
||||
HOMEPAGE="https://github.com/radhermit/gentoo-zsh-completions"
|
||||
|
||||
LICENSE="ZSH"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND=">=app-shells/zsh-4.3.5"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins src/_*
|
||||
|
||||
dodoc AUTHORS
|
||||
}
|
@ -1,7 +1,6 @@
|
||||
DIST unrtf-0.19.3.tar.gz 127770 SHA256 5aaede80baf733a79deb13210ff332c138f0add9611a51f12ef752298838e24f SHA512 873f1320a85fa6501b65402724e6aef95051138eb5fbcd4cc48c151618c2f61fe254ee8001c5ba2928a358fa0d451852d918456099334e4197d98001e230b555 WHIRLPOOL d445fd0abc0fb2826a56f6ce888e9956d0801a782002f440342b53df9870e82a225a0988ffa5e6318802986dd944e8fac8c754f353b7942861f87ccd7ccfddbc
|
||||
DIST unrtf-0.20.5.tar.gz 425417 SHA256 ad484e0fc573482c586177627d7c79f2a94deb022caae3a04a0c56af10b3ff92 SHA512 5a67568772bb5c7c1dc5d983187a0e707435316c719f1d2a979a23fec0af6894f349b69674104b9e98c933e3fbe5165f230ce58fd7c8fad7ea90b96904a4052c WHIRLPOOL b03e9a688a135459d581a87953d6c7a4f311b50aa05441b4a897b80467f6b6d46e198393a3dc3393e1648bf91640b79b2281189b7e0e2fb0db7bed5f4e020136
|
||||
DIST unrtf-0.21.1.tar.gz 609261 SHA256 f0db720484c3d371e3448f9ab35f9c158a0488a9f38181780b8a755fde28a53d SHA512 e4402ef88ff12b5f86b79ec778c46aa1a7f908c3ba01b8824427820a9ee5b3a238e09a852079c37fbc552df188148008e5faf164df2dec449666e85c6e87e85a WHIRLPOOL 4402462a4643a0559b70afdb1d09f6b7482f6724ad6d821a9863b453cedbfddcedca82947668cdecd7fc99d8e0dee089b242f3f4c15a1e3c0cb7294a5eb0330a
|
||||
DIST unrtf-0.21.2.tar.gz 617656 SHA256 acb1b093dd2c7485fc43b128ccaf665d6188f568752cec96d54b693374caddb0 SHA512 491d2cc667a1e94a00f6961a9ba89af895ed567ee4d6e93d011bc9f807b1a8f0d578e1aa840fd7788c62a15cd5bdeb5660ce5dd7ade3d2a83768fcda3e070023 WHIRLPOOL ce054feb3305fc40b8b4533664fde48bbce9c8fb529c03db1631f8b435ecbdee2d38b94c047fbe9e61632ea72c167f9b8da0e9c96fb1f80dfaaae67f568aa708
|
||||
DIST unrtf-0.21.8.tar.gz 773920 SHA256 05786bc5ec364b177ea8ff1e1766ba094a2c81b0f70e8e881a2eb021906e6956 SHA512 f96c03a9e8101bd6d7978c720cc7380a4473646e0aacbb9c717ce517a7ebf41c72a98ad665e6ff37613523120b8d60e70481c70e4e70912d6acaf666e721b3f1 WHIRLPOOL 6cc9aee087aa8728e9f17dba2722da35fd7e18addf354f806bc6fadbb3ebdd855e9ab8123245889b472f5526d3566f22f74e68c1649706658b69f22e381af3e9
|
||||
DIST unrtf-0.21.9.tar.gz 828590 SHA256 22a37826f96d754e335fb69f8036c068c00dd01ee9edd9461a36df0085fb8ddd SHA512 56d279ba8c8c20b8e39705dd4313c2b1607273d02ca2cdaeca5771bdbb3d99c338b816671dba1037961879be8ac6efddcd1af4cecb5c337f899575cae2989c03 WHIRLPOOL 05524fd8d4b66d08fdbd1e2e55c2e07b5865b64970bf452e4cd3379421a6d2f6d9aed432337e78490bae23c7801c371d1460cba9abc44ffb5a4a6aa1c809004c
|
||||
DIST unrtf_0.19.9.tar.gz 79573 SHA256 ebccf7951c8d9c033046c4c15eab3d3f2e24ea49d83228141494b0097bea10bf SHA512 9d06727041d1b6941cb5352169480400032065e80509b2a55e9c3e4e621562a479793292f22fa5e28e339e1f90847513587e77e5b91286fa59b1d41606cc70ff WHIRLPOOL 7d77084ee46b2bb5a4df9d3e09b6164420445230199c573b2c8877e6c8cb81387fba60ebf56b95b72a591e588ea6a4699d06e85e3c900015c8afbe2af82a2a91
|
||||
DIST unrtf_0.20.1.tar.gz 153124 SHA256 7fe6cc73320205d8c375980c547e8b8a7c1fcee0a73fd0086445646017722df5 SHA512 36816599de994f47a12d8fb59c3f2529f85589bb94029a7bae194d2441cc1da2c4e5cc3d01d16abea24213df4091185516257bedd818eda594d56f38e2f279f8 WHIRLPOOL a0d5cef887bfcbd15318aaf479768d1fc0f491fd940ebc5bc8ea36172920679ef23fe757563f6f9409cbc0ddb4f460fddb59eff34ee4bdd98e8d1e1d399ae3a9
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2005 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/unrtf/unrtf-0.19.3-r1.ebuild,v 1.9 2005/05/31 00:04:36 robbat2 Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Converts RTF files to various formats"
|
||||
HOMEPAGE="http://www.gnu.org/software/unrtf/unrtf.html"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc s390 x86 ~sparc"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
epatch ${FILESDIR}/${P}-final.patch
|
||||
# in 0.19.3 it's a tar file of 0.19.2
|
||||
rm ${S}/AUTHORS
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CFLAGS="${CFLAGS}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin unrtf || die
|
||||
doman unrtf.1
|
||||
dohtml doc/unrtf.html
|
||||
dodoc CHANGES README TODO
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/unrtf/unrtf-0.21.1.ebuild,v 1.2 2010/03/09 11:19:14 grobian Exp $
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="Converts RTF files to various formats"
|
||||
HOMEPAGE="http://www.gnu.org/software/unrtf/unrtf.html"
|
||||
SRC_URI="http://www.gnu.org/software/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
epatch "${FILESDIR}"/unrtf-0.21.1-automake-fix.patch
|
||||
sed -i \
|
||||
-e 's,/usr/local/lib/,/usr/share/,g' \
|
||||
"${S}"/src/*.h || die "failed to sed"
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-iconv-detection.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc ChangeLog NEWS README AUTHORS
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/unrtf/unrtf-0.21.2.ebuild,v 1.1 2011/12/20 04:16:22 robbat2 Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="Converts RTF files to various formats"
|
||||
HOMEPAGE="http://www.gnu.org/software/unrtf/unrtf.html"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/unrtf-0.21.1-automake-fix.patch
|
||||
sed -i \
|
||||
-e 's,/usr/local/lib/,/usr/share/,g' \
|
||||
"${S}"/src/*.h || die "failed to sed"
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${PN}-0.21.2-iconv-detection.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc ChangeLog NEWS README AUTHORS
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/unrtf/unrtf-0.21.9.ebuild,v 1.1 2015/01/03 14:34:49 polynomial-c Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="Converts RTF files to various formats"
|
||||
HOMEPAGE="http://www.gnu.org/software/unrtf/unrtf.html"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
# eautoreconf fails when automake-1.14* is installed. Please check with
|
||||
# next version bump if we still need this workaround.
|
||||
rm aclocal.m4 || die
|
||||
|
||||
epatch "${FILESDIR}"/unrtf-0.21.8-automake-fix.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.21.8-iconv-detection.patch
|
||||
eautoreconf
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST conduit-extra-1.1.1.tar.gz 24216 SHA256 e29bad31e8da3b1ccd33ab07d57b61634b914b46a457190fd5ea81f5cf9be6a0 SHA512 a8771addd9650b55d0ad98a188229314003d915a027ed37b8639a9217177afee3440029aeb0337036445a0b22212e2d5558027eb57c4c1e36d4f3953b980a018 WHIRLPOOL 18c4af4d6365c1b8a5c26282458c0a384a8ffff5e32e76e240fb51a0e31e7c8e27d1f8aa9a49dfe832150ee4e2a4907c8ca4f926522ebaf6ed58bdd79c0eda30
|
||||
DIST conduit-extra-1.1.4.2.tar.gz 27321 SHA256 2f7c1de24befbafbdc711c2e4312b8d969de410276e6457d23208867147b4f68 SHA512 4c2095379da921a31e0620884b863a4e94b063227ca8c2e27dcf9c084c0a426694f44abd82ca12a88d4854360ca04b8398b48e21c38734e6b8d0927723ad906a WHIRLPOOL fe5941570db22e32347b6a091991de8c389e55b063049659652ea61326c0b7522c6445fa66848bb8a8fa56d0d94a74322b16c1b511015f4504ae4f564968f93a
|
||||
DIST conduit-extra-1.1.5.1.tar.gz 27559 SHA256 81a1461b102bc25620f4123b1e3c0e037d1c57511e79e718b07734c7cc33631a SHA512 71cc13689f7230a70c72482ad61eb8f791088e48bfa136dc4058db736f6b895e5e40e96e27d603c1689b196a56b0f042e526a3106678632bbfdbabb261b5d6d3 WHIRLPOOL b79516758771244857a3d077e4bc1d572749445d8a8f0970e93c95c9692e0b8f8c82906dd9a988f892775f167fefc6b5202b580041c90b5ccacc74ee01082c5c
|
||||
DIST conduit-extra-1.1.6.2.tar.gz 27608 SHA256 0c86f624c6546b9cab09622703b92018aaa5f51784a1e4da496d9fd66bbf66ce SHA512 e79858e96e5c5afc372ebb7dca9d9ef8b587a5cd69df1e35eb2935a94ad52af470d67abf74ee8237bcac1d37c06ceba42f309be3c33199cae3f8fc02e5583b9e WHIRLPOOL 818f56a5137ae8c2b5f8154c8762cec915976306fe503257f1191275839602b9ef3daa50abd74d346015aa512d164badc81380c10b0a7420698c7bb4924d58c9
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/conduit-extra/conduit-extra-1.1.6.2.ebuild,v 1.1 2015/01/04 13:28:54 gienah Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.4.4.9999
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Batteries included conduit: adapters for common libraries"
|
||||
HOMEPAGE="http://github.com/snoyberg/conduit"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-haskell/attoparsec-0.10:=[profile?]
|
||||
>=dev-haskell/blaze-builder-0.3:=[profile?]
|
||||
>=dev-haskell/conduit-1.1:=[profile?] <dev-haskell/conduit-1.3:=[profile?]
|
||||
dev-haskell/monad-control:=[profile?]
|
||||
>=dev-haskell/network-2.3:=[profile?]
|
||||
>=dev-haskell/primitive-0.5:=[profile?]
|
||||
>=dev-haskell/resourcet-1.1:=[profile?]
|
||||
dev-haskell/stm:=[profile?]
|
||||
>=dev-haskell/streaming-commons-0.1.8:=[profile?]
|
||||
dev-haskell/text:=[profile?]
|
||||
dev-haskell/transformers:=[profile?]
|
||||
dev-haskell/transformers-base:=[profile?]
|
||||
>=dev-lang/ghc-7.4.1:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.8
|
||||
test? ( dev-haskell/async
|
||||
dev-haskell/exceptions
|
||||
>=dev-haskell/hspec-1.3 )
|
||||
"
|
@ -0,0 +1,70 @@
|
||||
commit 24e6f45408083745080ff2f3710f58209041113c
|
||||
Author: Luite Stegeman <stegeman@gmail.com>
|
||||
Date: Sun Dec 28 21:33:22 2014 +0100
|
||||
|
||||
updates for GHC 7.10 and Template Haskell 2.10
|
||||
|
||||
diff --git a/haskell-src-meta.cabal b/haskell-src-meta.cabal
|
||||
index de6a022..42d9619 100644
|
||||
--- a/haskell-src-meta.cabal
|
||||
+++ b/haskell-src-meta.cabal
|
||||
@@ -18,14 +18,14 @@ description: The translation from haskell-src-exts abstract syntax
|
||||
extra-source-files: ChangeLog README examples/*.hs
|
||||
|
||||
library
|
||||
- build-depends: base >= 4.2 && < 4.8,
|
||||
+ build-depends: base >= 4.2 && < 4.9,
|
||||
haskell-src-exts == 1.16.*,
|
||||
pretty >= 1.0 && < 1.2,
|
||||
syb >= 0.1 && < 0.5,
|
||||
th-orphans >= 0.5 && < 0.9
|
||||
|
||||
if impl(ghc >= 7.4)
|
||||
- Build-depends: template-haskell >= 2.7 && < 2.10
|
||||
+ Build-depends: template-haskell >= 2.7 && < 2.11
|
||||
else
|
||||
Build-depends: template-haskell >= 2.4 && < 2.7,
|
||||
uniplate >= 1.3 && < 1.7
|
||||
diff --git a/src/Language/Haskell/Meta/Syntax/Translate.hs b/src/Language/Haskell/Meta/Syntax/Translate.hs
|
||||
index 189d32e..36a08f1 100644
|
||||
--- a/src/Language/Haskell/Meta/Syntax/Translate.hs
|
||||
+++ b/src/Language/Haskell/Meta/Syntax/Translate.hs
|
||||
@@ -384,9 +384,15 @@ a .->. b = AppT (AppT ArrowT a) b
|
||||
toCxt :: Hs.Context -> Cxt
|
||||
toCxt = fmap toPred
|
||||
where
|
||||
+#if MIN_VERSION_template_haskell(2,10,0)
|
||||
+ toPred (Hs.ClassA n ts) = foldl' AppT (ConT (toName n)) (fmap toType ts)
|
||||
+ toPred (Hs.InfixA t1 n t2) = foldl' AppT (ConT (toName n)) (fmap toType [t1,t2])
|
||||
+ toPred (Hs.EqualP t1 t2) = foldl' AppT EqualityT (fmap toType [t1,t2])
|
||||
+#else
|
||||
toPred (Hs.ClassA n ts) = ClassP (toName n) (fmap toType ts)
|
||||
toPred (Hs.InfixA t1 n t2) = ClassP (toName n) (fmap toType [t1, t2])
|
||||
toPred (Hs.EqualP t1 t2) = EqualP (toType t1) (toType t2)
|
||||
+#endif
|
||||
toPred a@Hs.IParam{} = noTH "toCxt" a
|
||||
|
||||
foldAppT :: Type -> [Type] -> Type
|
||||
diff --git a/src/Language/Haskell/Meta/Utils.hs b/src/Language/Haskell/Meta/Utils.hs
|
||||
index 36f7e96..d194f3e 100644
|
||||
--- a/src/Language/Haskell/Meta/Utils.hs
|
||||
+++ b/src/Language/Haskell/Meta/Utils.hs
|
||||
@@ -166,6 +166,9 @@ renameT env new (ForallT ns cxt t) =
|
||||
unVarT (VarT n) = PlainTV n
|
||||
renamePreds = renameThings renamePred
|
||||
|
||||
+#if MIN_VERSION_template_haskell(2,10,0)
|
||||
+ renamePred = renameT
|
||||
+#else
|
||||
renamePred env new (ClassP n ts) = let
|
||||
(ts', env', new') = renameTs env new [] ts
|
||||
in (ClassP (normaliseName n) ts', env', new')
|
||||
@@ -174,7 +177,7 @@ renameT env new (ForallT ns cxt t) =
|
||||
(t1', env1, new1) = renameT env new t1
|
||||
(t2', env2, new2) = renameT env1 new1 t2
|
||||
in (EqualP t1' t2', env2, new2)
|
||||
-
|
||||
+#endif
|
||||
|
||||
-- | Remove qualification, etc.
|
||||
normaliseName :: Name -> Name
|
@ -0,0 +1,282 @@
|
||||
commit 2d8649d85bb1c728e8521b3a9aa6ebb2ff09586f
|
||||
Author: Gabor Greif <ggreif@gmail.com>
|
||||
Date: Mon Jun 16 15:43:51 2014 +0200
|
||||
|
||||
M-x whitespace-cleanup
|
||||
|
||||
diff --git a/Language/Haskell/TH/ExpandSyns.hs b/Language/Haskell/TH/ExpandSyns.hs
|
||||
index 1110124..cc0dccf 100644
|
||||
--- a/Language/Haskell/TH/ExpandSyns.hs
|
||||
+++ b/Language/Haskell/TH/ExpandSyns.hs
|
||||
@@ -7,9 +7,9 @@ module Language.Haskell.TH.ExpandSyns(-- * Expand synonyms
|
||||
,substInType
|
||||
,substInCon
|
||||
,evades,evade) where
|
||||
-
|
||||
+
|
||||
import Language.Haskell.TH hiding(cxt)
|
||||
-import qualified Data.Set as Set
|
||||
+import qualified Data.Set as Set
|
||||
import Data.Generics
|
||||
import Control.Monad
|
||||
|
||||
@@ -20,26 +20,26 @@ import Control.Monad
|
||||
|
||||
packagename :: String
|
||||
packagename = "th-expand-syns"
|
||||
-
|
||||
-
|
||||
+
|
||||
+
|
||||
-- Compatibility layer for TH >=2.4 vs. 2.3
|
||||
tyVarBndrGetName :: TyVarBndr -> Name
|
||||
mapPred :: (Type -> Type) -> Pred -> Pred
|
||||
bindPred :: (Type -> Q Type) -> Pred -> Q Pred
|
||||
tyVarBndrSetName :: Name -> TyVarBndr -> TyVarBndr
|
||||
-
|
||||
+
|
||||
#if MIN_VERSION_template_haskell(2,4,0)
|
||||
tyVarBndrGetName (PlainTV n) = n
|
||||
tyVarBndrGetName (KindedTV n _) = n
|
||||
-
|
||||
+
|
||||
mapPred f (ClassP n ts) = ClassP n (f <$> ts)
|
||||
mapPred f (EqualP t1 t2) = EqualP (f t1) (f t2)
|
||||
-
|
||||
+
|
||||
bindPred f (ClassP n ts) = ClassP n <$> mapM f ts
|
||||
bindPred f (EqualP t1 t2) = EqualP <$> f t1 <*> f t2
|
||||
-
|
||||
+
|
||||
tyVarBndrSetName n (PlainTV _) = PlainTV n
|
||||
-tyVarBndrSetName n (KindedTV _ k) = KindedTV n k
|
||||
+tyVarBndrSetName n (KindedTV _ k) = KindedTV n k
|
||||
#else
|
||||
|
||||
type TyVarBndr = Name
|
||||
@@ -48,7 +48,7 @@ tyVarBndrGetName = id
|
||||
mapPred = id
|
||||
bindPred = id
|
||||
tyVarBndrSetName n _ = n
|
||||
-
|
||||
+
|
||||
#endif
|
||||
|
||||
|
||||
@@ -70,29 +70,29 @@ nameIsSyn n = do
|
||||
#if MIN_VERSION_template_haskell(2,7,0)
|
||||
FamilyI (FamilyD flavour name _ _) _ -> maybeWarnTypeFamily flavour name >> return Nothing
|
||||
#endif
|
||||
- _ -> do
|
||||
+ _ -> do
|
||||
warn ("Don't know how to interpret the result of reify "++show n++" (= "++show i++").\n"++
|
||||
"I will assume that "++show n++" is not a type synonym.")
|
||||
return Nothing
|
||||
-
|
||||
+
|
||||
|
||||
|
||||
warn :: String -> Q ()
|
||||
-warn msg =
|
||||
+warn msg =
|
||||
#if MIN_VERSION_template_haskell(2,8,0)
|
||||
reportWarning
|
||||
#else
|
||||
- report False
|
||||
+ report False
|
||||
#endif
|
||||
(packagename ++": "++"WARNING: "++msg)
|
||||
|
||||
|
||||
#if MIN_VERSION_template_haskell(2,4,0)
|
||||
maybeWarnTypeFamily :: FamFlavour -> Name -> Q ()
|
||||
-maybeWarnTypeFamily flavour name =
|
||||
+maybeWarnTypeFamily flavour name =
|
||||
case flavour of
|
||||
TypeFam ->
|
||||
- warn ("Type synonym families (and associated type synonyms) are currently not supported (they won't be expanded). Name of unsupported family: "++show name)
|
||||
+ warn ("Type synonym families (and associated type synonyms) are currently not supported (they won't be expanded). Name of unsupported family: "++show name)
|
||||
|
||||
DataFam -> return ()
|
||||
-- Nothing to expand for data families, so no warning
|
||||
@@ -129,8 +129,8 @@ expandSyns = \t ->
|
||||
|
||||
-- If @go args t = (args', t')@,
|
||||
--
|
||||
- -- Precondition:
|
||||
- -- All elements of `args' are expanded.
|
||||
+ -- Precondition:
|
||||
+ -- All elements of `args' are expanded.
|
||||
-- Postcondition:
|
||||
-- All elements of `args'' and `t'' are expanded.
|
||||
-- `t' applied to `args' equals `t'' applied to `args'' (up to expansion, of course)
|
||||
@@ -141,22 +141,22 @@ expandSyns = \t ->
|
||||
go acc x@ArrowT = passThrough acc x
|
||||
go acc x@(TupleT _) = passThrough acc x
|
||||
go acc x@(VarT _) = passThrough acc x
|
||||
-
|
||||
+
|
||||
go [] (ForallT ns cxt t) = do
|
||||
cxt' <- mapM (bindPred expandSyns) cxt
|
||||
t' <- expandSyns t
|
||||
return ([], ForallT ns cxt' t')
|
||||
|
||||
- go acc x@(ForallT _ _ _) =
|
||||
+ go acc x@(ForallT _ _ _) =
|
||||
fail (packagename++": Unexpected application of the local quantification: "
|
||||
++show x
|
||||
++"\n (to the arguments "++show acc++")")
|
||||
-
|
||||
- go acc (AppT t1 t2) =
|
||||
+
|
||||
+ go acc (AppT t1 t2) =
|
||||
do
|
||||
r <- expandSyns t2
|
||||
go (r:acc) t1
|
||||
-
|
||||
+
|
||||
go acc x@(ConT n) =
|
||||
do
|
||||
i <- nameIsSyn n
|
||||
@@ -165,20 +165,20 @@ expandSyns = \t ->
|
||||
Just (vars,body) ->
|
||||
if length acc < length vars
|
||||
then fail (packagename++": expandSyns: Underapplied type synonym: "++show(n,acc))
|
||||
- else
|
||||
+ else
|
||||
let
|
||||
substs = zip vars acc
|
||||
expanded = foldr subst body substs
|
||||
in
|
||||
go (drop (length vars) acc) expanded
|
||||
-
|
||||
+
|
||||
|
||||
#if MIN_VERSION_template_haskell(2,4,0)
|
||||
- go acc (SigT t kind) =
|
||||
+ go acc (SigT t kind) =
|
||||
do
|
||||
(acc',t') <- go acc t
|
||||
- return
|
||||
- (acc',
|
||||
+ return
|
||||
+ (acc',
|
||||
SigT t' kind
|
||||
-- No expansion needed in kinds (todo: is this correct?)
|
||||
)
|
||||
@@ -213,11 +213,11 @@ instance SubstTypeVariable Type where
|
||||
| otherwise = s
|
||||
go ArrowT = ArrowT
|
||||
go ListT = ListT
|
||||
- go (ForallT vars cxt body) =
|
||||
+ go (ForallT vars cxt body) =
|
||||
commonForallCase (v,t) (vars,cxt,body)
|
||||
-
|
||||
+
|
||||
go s@(TupleT _) = s
|
||||
-
|
||||
+
|
||||
#if MIN_VERSION_template_haskell(2,4,0)
|
||||
go (SigT t1 kind) = SigT (go t1) kind
|
||||
#endif
|
||||
@@ -237,23 +237,23 @@ instance SubstTypeVariable Type where
|
||||
#endif
|
||||
|
||||
-- testCapture :: Type
|
||||
--- testCapture =
|
||||
--- let
|
||||
+-- testCapture =
|
||||
+-- let
|
||||
-- n = mkName
|
||||
-- v = VarT . mkName
|
||||
-- in
|
||||
-- substInType (n "x", v "y" `AppT` v "z")
|
||||
--- (ForallT
|
||||
--- [n "y",n "z"]
|
||||
+-- (ForallT
|
||||
+-- [n "y",n "z"]
|
||||
-- [ConT (mkName "Show") `AppT` v "x" `AppT` v "z"]
|
||||
-- (v "x" `AppT` v "y"))
|
||||
|
||||
-
|
||||
+
|
||||
#if MIN_VERSION_template_haskell(2,4,0)
|
||||
instance SubstTypeVariable Pred where
|
||||
subst s = mapPred (subst s)
|
||||
#endif
|
||||
-
|
||||
+
|
||||
|
||||
-- | Make a name (based on the first arg) that's distinct from every name in the second arg
|
||||
--
|
||||
@@ -268,7 +268,7 @@ instance SubstTypeVariable Pred where
|
||||
-- AST using 'mkName' to ensure a collision.
|
||||
--
|
||||
evade :: Data d => Name -> d -> Name
|
||||
-evade n t =
|
||||
+evade n t =
|
||||
let
|
||||
vars :: Set.Set Name
|
||||
vars = everything Set.union (mkQ Set.empty Set.singleton) t
|
||||
@@ -276,11 +276,11 @@ evade n t =
|
||||
go n1 = if n1 `Set.member` vars
|
||||
then go (bump n1)
|
||||
else n1
|
||||
-
|
||||
+
|
||||
bump = mkName . ('f':) . nameBase
|
||||
in
|
||||
go n
|
||||
-
|
||||
+
|
||||
-- | Make a list of names (based on the first arg) such that every name in the result
|
||||
-- is distinct from every name in the second arg, and from the other results
|
||||
evades :: (Data t) => [Name] -> t -> [Name]
|
||||
@@ -300,7 +300,7 @@ instance SubstTypeVariable Con where
|
||||
go (NormalC n ts) = NormalC n [(x, st y) | (x,y) <- ts]
|
||||
go (RecC n ts) = RecC n [(x, y, st z) | (x,y,z) <- ts]
|
||||
go (InfixC (y1,t1) op (y2,t2)) = InfixC (y1,st t1) op (y2,st t2)
|
||||
- go (ForallC vars cxt body) =
|
||||
+ go (ForallC vars cxt body) =
|
||||
commonForallCase (v,t) (vars,cxt,body)
|
||||
|
||||
|
||||
@@ -316,18 +316,18 @@ instance HasForallConstruct Con where
|
||||
|
||||
|
||||
|
||||
-commonForallCase :: (SubstTypeVariable a, HasForallConstruct a) =>
|
||||
+commonForallCase :: (SubstTypeVariable a, HasForallConstruct a) =>
|
||||
|
||||
- (Name,Type)
|
||||
+ (Name,Type)
|
||||
-> ([TyVarBndr],Cxt,a)
|
||||
-> a
|
||||
commonForallCase vt@(v,t) (bndrs,cxt,body)
|
||||
|
||||
- -- If a variable with the same name as the one to be replaced is bound by the forall,
|
||||
+ -- If a variable with the same name as the one to be replaced is bound by the forall,
|
||||
-- the variable to be replaced is shadowed in the body, so we leave the whole thing alone (no recursion)
|
||||
- | v `elem` (tyVarBndrGetName <$> bndrs) = mkForall bndrs cxt body
|
||||
+ | v `elem` (tyVarBndrGetName <$> bndrs) = mkForall bndrs cxt body
|
||||
|
||||
- | otherwise =
|
||||
+ | otherwise =
|
||||
let
|
||||
-- prevent capture
|
||||
vars = tyVarBndrGetName <$> bndrs
|
||||
@@ -336,11 +336,11 @@ commonForallCase vt@(v,t) (bndrs,cxt,body)
|
||||
substs = zip vars (VarT <$> freshes)
|
||||
doSubsts :: SubstTypeVariable b => b -> b
|
||||
doSubsts x = foldr subst x substs
|
||||
-
|
||||
+
|
||||
in
|
||||
- mkForall
|
||||
+ mkForall
|
||||
freshTyVarBndrs
|
||||
- (fmap (subst vt . doSubsts) cxt )
|
||||
+ (fmap (subst vt . doSubsts) cxt )
|
||||
( (subst vt . doSubsts) body)
|
||||
|
||||
|
@ -0,0 +1,69 @@
|
||||
commit dbf14af22edd0636d4f9c8b083e42565bfcf99c9
|
||||
Author: Gabor Greif <ggreif@gmail.com>
|
||||
Date: Mon Jun 16 16:15:39 2014 +0200
|
||||
|
||||
Support for GHC HEAD (v7.9, aka. template-haskell-2.10)
|
||||
|
||||
Pred is a type synonym now, and EqualityT is new.
|
||||
|
||||
diff --git a/Language/Haskell/TH/ExpandSyns.hs b/Language/Haskell/TH/ExpandSyns.hs
|
||||
index cc0dccf..7a18c17 100644
|
||||
--- a/Language/Haskell/TH/ExpandSyns.hs
|
||||
+++ b/Language/Haskell/TH/ExpandSyns.hs
|
||||
@@ -24,7 +24,9 @@ packagename = "th-expand-syns"
|
||||
|
||||
-- Compatibility layer for TH >=2.4 vs. 2.3
|
||||
tyVarBndrGetName :: TyVarBndr -> Name
|
||||
+#if !MIN_VERSION_template_haskell(2,10,0)
|
||||
mapPred :: (Type -> Type) -> Pred -> Pred
|
||||
+#endif
|
||||
bindPred :: (Type -> Q Type) -> Pred -> Q Pred
|
||||
tyVarBndrSetName :: Name -> TyVarBndr -> TyVarBndr
|
||||
|
||||
@@ -32,11 +34,15 @@ tyVarBndrSetName :: Name -> TyVarBndr -> TyVarBndr
|
||||
tyVarBndrGetName (PlainTV n) = n
|
||||
tyVarBndrGetName (KindedTV n _) = n
|
||||
|
||||
+#if MIN_VERSION_template_haskell(2,10,0)
|
||||
+bindPred = id
|
||||
+#else
|
||||
mapPred f (ClassP n ts) = ClassP n (f <$> ts)
|
||||
mapPred f (EqualP t1 t2) = EqualP (f t1) (f t2)
|
||||
|
||||
bindPred f (ClassP n ts) = ClassP n <$> mapM f ts
|
||||
bindPred f (EqualP t1 t2) = EqualP <$> f t1 <*> f t2
|
||||
+#endif
|
||||
|
||||
tyVarBndrSetName n (PlainTV _) = PlainTV n
|
||||
tyVarBndrSetName n (KindedTV _ k) = KindedTV n k
|
||||
@@ -198,6 +204,10 @@ expandSyns = \t ->
|
||||
go acc x@(LitT _) = passThrough acc x
|
||||
#endif
|
||||
|
||||
+#if MIN_VERSION_template_haskell(2,10,0)
|
||||
+ go acc x@EqualityT = passThrough acc x
|
||||
+#endif
|
||||
+
|
||||
class SubstTypeVariable a where
|
||||
-- | Capture-free substitution
|
||||
subst :: (Name, Type) -> a -> a
|
||||
@@ -236,6 +246,10 @@ instance SubstTypeVariable Type where
|
||||
go s@(LitT _) = s
|
||||
#endif
|
||||
|
||||
+#if MIN_VERSION_template_haskell(2,10,0)
|
||||
+ go s@EqualityT = s
|
||||
+#endif
|
||||
+
|
||||
-- testCapture :: Type
|
||||
-- testCapture =
|
||||
-- let
|
||||
@@ -249,7 +263,7 @@ instance SubstTypeVariable Type where
|
||||
-- (v "x" `AppT` v "y"))
|
||||
|
||||
|
||||
-#if MIN_VERSION_template_haskell(2,4,0)
|
||||
+#if MIN_VERSION_template_haskell(2,4,0) && !MIN_VERSION_template_haskell(2,10,0)
|
||||
instance SubstTypeVariable Pred where
|
||||
subst s = mapPred (subst s)
|
||||
#endif
|
@ -1,3 +1,4 @@
|
||||
DIST libebml-1.2.1.tar.bz2 60662 SHA256 8f9e06630eab83f337d280d38eff53e41e030530015a4c423d509a20f6ea81b2 SHA512 c8bd4d903fcd6ea70cd6aace2096768c7e62deb8ddd41d354b71527d6f4595f06b86169996f2ed56e1da0531b9f7ebcac4c9ccdd2e208614f7cd3271b8cf0f4d WHIRLPOOL 4d1207143fc618b8c0f3d93aecd9d1f063845486c9ddcdaa7cd697d9e27ff01dcd31526c52b33e46e4fc5191689009e7960ebc384321a90a34e7c4770f1d6b17
|
||||
DIST libebml-1.2.2.tar.bz2 60802 SHA256 476b08c6436a96c024a53e788e7c945ce9b41cd8654165763444aa7e5245b7a5 SHA512 aa9b446aadbfea6cd7031a08a8cd0251a764febb8ef43ee3ba44d066b945698311bda7db6bb2d983d5f0c1e24f108ae4cf1c6551b04337210b13daf7e2236135 WHIRLPOOL 5bfa5ee38b9e4bb6cbc8bc27e949e64621ecc8fe3cf76a0686c85b53579d80ee53bca520ef70b9af13bbf589fd51e5f20eae908928ee0b651d23951a532777e0
|
||||
DIST libebml-1.3.0.tar.gz 70425 SHA256 cd48a6d943905afe877e86f421647092956d71c7345dc9264a5123750ca8b158 SHA512 804b8e9e29add421304ef104f48170ee434cc97d6063dc4338b7fd6ad559733ed1bffd8440146674b70b3d6906f45ded4cc482d606c94c8c04bf424fd85c366e WHIRLPOOL b5656fa835753bee8b4cfa995db220de85d69604d7332e793c6b45c13100e4041e0fee8517940bde600909b529d3eee959340d3f997b174b249f13c4183ed5cd
|
||||
DIST libebml-1.3.1.tar.bz2 599116 SHA256 195894b31aaca55657c9bc157d744f23b0c25597606b97cfa5a9039c4b684295 SHA512 b42d198611e480a4938fe95b920f6ee6ca37453f9551990e4310ed82651f93284f1de1d871357b6280219634bbbf6a98d4ac988e25e7bd7b5bbf5c0ba5766334 WHIRLPOOL 10879d351eb66dce6e04b0a1635e370dc82a9215b1ee61ad4b300466257bb0b06219f3ea65b090e415aef354bb8e200e19e35859d25ec5d46fa3208501373801
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libebml/libebml-1.3.1.ebuild,v 1.1 2015/01/04 18:12:20 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="Extensible binary format library (kinda like XML)"
|
||||
HOMEPAGE="http://www.matroska.org/ https://github.com/Matroska-Org/libebml/"
|
||||
SRC_URI="http://dl.matroska.org/downloads/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0/4" # subslot = soname major version
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="debug static-libs"
|
||||
|
||||
src_prepare() {
|
||||
sed -i '/^AM_CXXFLAGS += -g/d' Makefile.am || die
|
||||
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable debug)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST maloc-0.2-1.tar.gz 739622 SHA256 9b29c4b6401adf20ce1ab3c47fe71066ca7952eb10db4b1e6b1440973f616cda SHA512 ffe7d3eb70a87521614da469d61300413d1f86010a369505065dadd9431fc74a9366223f60bf1461444e8c68ede5adebc60167cad4ca54a9860d987de6def5c4 WHIRLPOOL 3a1a36428bfc925caedaf14442e713fb6ba84bb7bf12c67312b57b217833bacc4804c303d6a56a31863eb0fd851d340070f114910543d59c970250bc5a13a461
|
||||
DIST maloc-1.4.tar.gz 797520 SHA256 cba0c6730f148bf7ddb77dac07e497655642f43b632256fcebf3192b45af1833 SHA512 6c1966334805a537d41d8f835be38e872dd4f8ba48ae9f52294c83677c1995bd455fcc2ac9a1ff4d5c08addb4bcf62f83e0106abd13ceaf9c5fb34fa1e90b8cc WHIRLPOOL 6236705ba8aaeea43e63d6c622c5359f77049178022185873ccf9eade659b38d86c61a9340621a7f3a21269bc284b2884ad98522272ba52cee34faca0547c138
|
||||
DIST maloc-1.5.tar.gz 794138 SHA256 58e1197fcd4c74d3cbb1d39d712eb0a3c5886a1e6629f22c5c78ce2bac983fc0 SHA512 9b50ffc0dd2a9c74808783fdc3bcad9dd6fb4ba0edcdad099eb7ab5e9a1f7d5c708db4b6e2a5373adfabd2a013b1cc4f92281905ef108df3fa6376726ca7a62c WHIRLPOOL 5b25dfc1db28712cb1bb4dbcefcfd5e462d1baa8029db462a8be5fa13baf08756804416c6d32231e5e2d42e5a31184f2a6ca255b860744a8a10a31915900781a
|
||||
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/maloc/maloc-1.4.ebuild,v 1.3 2011/04/16 06:56:06 jlec Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="Minimal Abstraction Layer for Object-oriented C/C++ programs"
|
||||
HOMEPAGE="http://www.fetk.org/codes/maloc/index.html"
|
||||
SRC_URI="http://www.fetk.org/codes/download/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
IUSE="doc mpi static-libs"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/readline
|
||||
mpi? ( virtual/mpi )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? (
|
||||
media-gfx/graphviz
|
||||
app-doc/doxygen )"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PV}-mpi.patch \
|
||||
"${FILESDIR}"/${PV}-asneeded.patch \
|
||||
"${FILESDIR}"/${PV}-doc.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use mpi && export CC="mpicc"
|
||||
use doc || myconf="${myconf} --with-doxygen= --with-dot="
|
||||
|
||||
econf \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
$(use_enable mpi) \
|
||||
$(use_enable static-libs static) \
|
||||
--disable-triplet \
|
||||
--enable-shared \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# install libs and headers
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
# install doc
|
||||
dohtml doc/index.html || die "failed to install html docs"
|
||||
}
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/maloc/maloc-1.5.ebuild,v 1.3 2012/05/02 10:38:42 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
AUTOTOOLS_AUTORECONF=yes
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="Minimal Abstraction Layer for Object-oriented C/C++ programs"
|
||||
HOMEPAGE="http://www.fetk.org/codes/maloc/index.html"
|
||||
SRC_URI="http://www.fetk.org/codes/download/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
IUSE="doc mpi static-libs"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/readline
|
||||
mpi? ( virtual/mpi )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? (
|
||||
media-gfx/graphviz
|
||||
app-doc/doxygen )"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/1.4-mpi.patch
|
||||
"${FILESDIR}"/1.4-asneeded.patch
|
||||
"${FILESDIR}"/1.4-doc.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs
|
||||
use mpi && export CC="mpicc"
|
||||
use doc || myeconfargs+=( --with-doxygen= --with-dot= )
|
||||
|
||||
myeconfargs+=(
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF}
|
||||
$(use_enable mpi)
|
||||
--disable-triplet
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
|
||||
# install doc
|
||||
dohtml doc/index.html
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST lua-zlib-0.3.tgz 11220 SHA256 c7d687e9fddc0a094cb47587e50bebf9fd632bf72f74b61b2dcf1a37dd8c4b3a SHA512 99711166637d394c806dd16b86a3588ff84eb9180d2da05725ff6d4e86458d1ded7a5fbb303284fa442fd0925bc94fe34772057e0190c1a3e00cbb853865941d WHIRLPOOL 6735aad7e34ca1b19548e2c130c02807e269329f3296664a5bf18577e678304b5a20040358966eed6b9c3a94756df5e82ffa878df956982effd3d1e447b1b643
|
||||
DIST lua-zlib-0.4.tgz 11257 SHA256 dba2590cae117f8ba1bc94319ac159cbeeddb3f9715d1528b982460721097178 SHA512 1c28be12b000cb729a82336a4cfc6d2f7367b2fb9941bd200d2aab561f51715f02b54858d38b3d1a65eced81d31d932dc45d214e3410e7f313238fddf5766a3a WHIRLPOOL 418a5afef4ff5b6ba49a3cb10c79a46f3d1e8aa472fb701d8d5a0e6238b2fddcb350bd25d3dafa9839909596458581f7dd9dcd1e6de852bab44046a563ba3619
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lua/lua-zlib/lua-zlib-0.4.ebuild,v 1.1 2015/01/03 12:26:40 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Lua bindings to zlib"
|
||||
HOMEPAGE="http://github.com/brimworks/lua-zlib"
|
||||
SRC_URI="https://github.com/brimworks/${PN}/tarball/v${PV} -> ${P}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/lua
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mv *-${PN}-* "${S}"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
MYCMAKEARGS="-DINSTALL_CMOD='$(pkg-config --variable INSTALL_CMOD lua)'"
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Config-AutoConf/Config-AutoConf-0.307.ebuild,v 1.1 2014/12/17 17:30:46 mrueg Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Config-AutoConf/Config-AutoConf-0.309.0.ebuild,v 1.1 2015/01/03 12:28:58 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1,2 +1,2 @@
|
||||
DIST Config-AutoConf-0.307.tar.gz 30838 SHA256 779a27bcd289b825a4143974350e18ebf317b9c14b67c7ce92798b670ca93157 SHA512 92a76c17ab12d39aea0916df22aafdc3b2d6d04e6e48530bea992b4cb52683a9ada0284123b1ef406f29fb03670dd131397935639131b4fadd8a03a49584f612 WHIRLPOOL e7f0f8549866194b0a1183e1e86eba33f64cca32fbbfbdbdb52280769b566814cfed7ec50d9d5451b0d6259d698b69faa1b347f6c604bb56de4a4f166e7ec2b0
|
||||
DIST Config-AutoConf-0.308.tar.gz 30887 SHA256 97052ebdc15b60667338c09f78e459452eb9582de011190c3e5d20e50a6444a7 SHA512 9e75569522b46ec66f2c5c54182ced9dbd2b7d97defc59fe0eafa3b3fdd5c3c6a71cae0bae45e304e8ddfb87748d18df509b7438aa5006d299388697de69dd52 WHIRLPOOL ad26a26e0538cf8bb9bdaf4baad876ad7b6d0054687d47cbe41fe121e1a62bbe45e50e765032b884fea16b9184691ac92462b845b9a29ea7d8af07fa3ba6280d
|
||||
DIST Config-AutoConf-0.309.tar.gz 30811 SHA256 b86d8f24d6520fb8fd6a85b51c6732ce96d2b7a6fe7ce87813c15b47153b0cdb SHA512 7e50f1c45698033385a725243602bbc7de26a8050d2965f939f4b66da52bda64e6e83b35da3a82a7c873d3a127ca9670708600a2a0590674f14d04dbe3d2b34b WHIRLPOOL c98cb5ecadd03b2ca15b9d72eb1e32dd4c9e853d34210eb94a0c5cc021c76969e38708ba68e360b183e247c61aac5c07f22a489ef138be3387e77cf1ae8d0d52
|
||||
|
@ -1,5 +1,4 @@
|
||||
DIST xdebug-2.2.0.tgz 247670 SHA256 19c8c03bd2c70a1edfef4ed9a2768af41eec5d678fe20bcdd984a4b1b9cd8309 SHA512 5c7e0918f04c0a34543c204e91027e5baec5d84687054774b9b6704e0e28577f8b7d05f32ed8f6ba0e1924872b70dd5263c10e67792308a1438b9b79e92e214b WHIRLPOOL ce71be23b8ba4b2f77eda438000b61773d39acca929acfea3276380488f345528811f20bb86343e5a98a514ebed7c75f68877c1f796c2427095a31c98b8dd628
|
||||
DIST xdebug-2.2.1.tgz 248057 SHA256 11d340eb7f87909a596bac054cc927df757dc2fc7c90b50a832c30e9bf84c9ad SHA512 3243041defb7a42b97c05efbaa547fe10a7aa03900d8628ea3f7066d4839e527ca94531c990ebc09d56a4ba101e31f1964248913b6e7f55fab8051a1299eb030 WHIRLPOOL 2b78e35fc599395a0cb2abe9a81106883bc13f2c2e794fc3d548d7965a3f438df0b14a1d8928f44cd9168b3290cf43b3a4e552446afb1dfe1c25ab6e2fe1fd32
|
||||
DIST xdebug-2.2.2.tgz 250184 SHA256 b143cb205a2a07ce50fc3c4d1e3c51958837927f97f1d9e912b99015e2c84f03 SHA512 22ace1b2635a9424e201b45252018035ef71d1e018d009eae31e2874c29fdceb8d7f016ee9d6da7bfdb81eec027a7988421d3c5c2088ba9371ceb86f016f7ed5 WHIRLPOOL c1af8e32ea90bc0deaf2463274342fc3cac5acd31e8226cfec1b40558857395ef009cec3da825024560c34a067af0891d5a6f19f52e23ef54792afcbe47e21a1
|
||||
DIST xdebug-2.2.3.tgz 250543 SHA256 b351872da46ed8378dff90a87673f5ec1e0bdd94324558ebc898e1d115e9d71c SHA512 2ba62010776a1bf05fbbc9bee086b88ce23d257814e309732e4ec3015079213a7a8cf855256edadd8566d564050a6e517ac9f3c239e3be3af0bfdcb3a79d21bc WHIRLPOOL 66c4da83a91ff6d838a72f2286b5e462e0e45c2ce8083b4826b454292c1d9d895e3b3b928ab7e0cec2cd7cd1a986cb3f13043ee80edb0915d52797f85ab0fc9d
|
||||
DIST xdebug-2.2.5.tgz 255840 SHA256 adc6fe92dcff2368be94d20a5997aadb4d46d74551e2dd6602a704a35a195a6f SHA512 19177fef02716beee172f68cb1ef26bdf7f949b06ade2047e7b9131d70b1f8794b8db7c115f2b6114a42d7568c0d4bc6d850a705627db83d5b3020aeee44ac40 WHIRLPOOL 6f6ce56acf0f09f846fd59818d81c1fdcf4e3cb74f234f427b7c7fd985578faeb982b3774bb7748ef6ea0876cea3d5f3d15550bfbe589557c787f4e433a951bd
|
||||
DIST xdebug-2.2.6.tgz 256161 SHA256 6dd1cba0605e75009331aa3625a19ef49ade5a75aa9fe2ff8a818108d2cce84e SHA512 18deac94f8f9c102dce83ed1accd0831e5b8c2f5d47ea60f89c8b493e5e180d0dfa153065089e1081276db8960ff2ea4082103f228f9191c572888180efa6f82 WHIRLPOOL 0e152ea5740bc8ca8cc6d0178bb59556f98ba0722a0b3cdaeecdc5aa551324cadf5f1c11b215058cf890c16eb7e9e108919a389a6c89d60a469396a20cc083ed
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/xdebug-client/xdebug-client-2.2.0.ebuild,v 1.10 2014/08/10 21:06:23 slyfox Exp $
|
||||
|
||||
KEYWORDS="alpha amd64 ~hppa ia64 ppc ppc64 sparc x86"
|
||||
|
||||
MY_PV="${PV/_/}"
|
||||
MY_PV="${MY_PV/rc/RC}"
|
||||
|
||||
DESCRIPTION="Xdebug client for the Common Debugger Protocol (DBGP)"
|
||||
HOMEPAGE="http://www.xdebug.org/"
|
||||
SRC_URI="http://pecl.php.net/get/xdebug-${MY_PV}.tgz"
|
||||
LICENSE="Xdebug"
|
||||
SLOT="0"
|
||||
IUSE="libedit"
|
||||
|
||||
S="${WORKDIR}/xdebug-${MY_PV}/debugclient"
|
||||
|
||||
DEPEND="libedit? ( dev-libs/libedit )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
chmod +x "${S}"/configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf $(use_with libedit) --disable-dependency-tracking
|
||||
emake || die "Build of debug client failed!"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin debugclient xdebug
|
||||
}
|
@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/xdebug-client/xdebug-client-2.2.1.ebuild,v 1.8 2014/08/10 21:06:23 slyfox Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/xdebug-client/xdebug-client-2.2.6.ebuild,v 1.1 2015/01/04 03:50:03 grknight Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
KEYWORDS="amd64 ~hppa ppc ppc64 x86"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
|
||||
|
||||
MY_PV="${PV/_/}"
|
||||
MY_PV="${MY_PV/rc/RC}"
|
@ -1,2 +1,3 @@
|
||||
DIST xdebug-2.2.3.tgz 250543 SHA256 b351872da46ed8378dff90a87673f5ec1e0bdd94324558ebc898e1d115e9d71c SHA512 2ba62010776a1bf05fbbc9bee086b88ce23d257814e309732e4ec3015079213a7a8cf855256edadd8566d564050a6e517ac9f3c239e3be3af0bfdcb3a79d21bc WHIRLPOOL 66c4da83a91ff6d838a72f2286b5e462e0e45c2ce8083b4826b454292c1d9d895e3b3b928ab7e0cec2cd7cd1a986cb3f13043ee80edb0915d52797f85ab0fc9d
|
||||
DIST xdebug-2.2.5.tgz 255840 SHA256 adc6fe92dcff2368be94d20a5997aadb4d46d74551e2dd6602a704a35a195a6f SHA512 19177fef02716beee172f68cb1ef26bdf7f949b06ade2047e7b9131d70b1f8794b8db7c115f2b6114a42d7568c0d4bc6d850a705627db83d5b3020aeee44ac40 WHIRLPOOL 6f6ce56acf0f09f846fd59818d81c1fdcf4e3cb74f234f427b7c7fd985578faeb982b3774bb7748ef6ea0876cea3d5f3d15550bfbe589557c787f4e433a951bd
|
||||
DIST xdebug-2.2.6.tgz 256161 SHA256 6dd1cba0605e75009331aa3625a19ef49ade5a75aa9fe2ff8a818108d2cce84e SHA512 18deac94f8f9c102dce83ed1accd0831e5b8c2f5d47ea60f89c8b493e5e180d0dfa153065089e1081276db8960ff2ea4082103f228f9191c572888180efa6f82 WHIRLPOOL 0e152ea5740bc8ca8cc6d0178bb59556f98ba0722a0b3cdaeecdc5aa551324cadf5f1c11b215058cf890c16eb7e9e108919a389a6c89d60a469396a20cc083ed
|
||||
|
@ -0,0 +1,89 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/xdebug/xdebug-2.2.6.ebuild,v 1.1 2015/01/04 04:03:40 grknight Exp $
|
||||
|
||||
EAPI="5"
|
||||
PHP_EXT_NAME="xdebug"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="yes"
|
||||
|
||||
USE_PHP="php5-5 php5-4"
|
||||
|
||||
MY_PV="${PV/_/}"
|
||||
MY_PV="${MY_PV/rc/RC}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
inherit php-ext-source-r2
|
||||
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
|
||||
|
||||
DESCRIPTION="A PHP debugging and profiling extension"
|
||||
HOMEPAGE="http://www.xdebug.org/"
|
||||
SRC_URI="http://pecl.php.net/get/${PN}-${MY_PV}.tgz"
|
||||
LICENSE="Xdebug"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
~dev-php/xdebug-client-${PV}"
|
||||
|
||||
src_install() {
|
||||
dodoc NEWS README CREDITS
|
||||
php-ext-source-r2_src_install
|
||||
|
||||
php-ext-source-r2_addtoinifiles "xdebug.auto_trace" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.trace_output_dir" '"/tmp"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.trace_output_name" '"trace.%c"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.trace_format" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.trace_options" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.collect_includes" '"1"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.collect_params" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.collect_return" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.collect_vars" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.default_enable" '"1"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.extended_info" '"1"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.manual_url" '"http://www.php.net"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.max_nesting_level" '"100"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.show_exception_trace" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.show_local_vars" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.show_mem_delta" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump.COOKIE" '"NULL"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump.ENV" '"NULL"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump.FILES" '"NULL"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump.GET" '"NULL"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump.POST" '"NULL"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump.REQUEST" '"NULL"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump.SERVER" '"NULL"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump.SESSION" '"NULL"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump_globals" '"1"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump_once" '"1"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump_undefined" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.profiler_enable" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.profiler_output_dir" '"/tmp"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.profiler_output_name" '"cachegrind.out.%p"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.profiler_enable_trigger" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.profiler_append" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.profiler_aggregate" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.remote_enable" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.remote_handler" '"dbgp"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.remote_host" '"localhost"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.remote_mode" '"req"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.remote_port" '"9000"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.remote_autostart" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.remote_log" '""'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.idekey" '""'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.var_display_max_data" '"512"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.var_display_max_depth" '"2"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.var_display_max_children" '"128"'
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "We have set xdebug.default_enable to 0 (off), as xdebug can be"
|
||||
ewarn "installed as a dependency, and not all users will want xdebug to be"
|
||||
ewarn "enabled by default. If you want to enable it, you should edit the"
|
||||
ewarn "ini file and set xdebug.default_enable to 1. Alternatively you can"
|
||||
ewarn "call xdebug_enable() in your code."
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST ConfigArgParse-0.9.3.tar.gz 18983 SHA256 141c57112e1f8eb7e594a9820e95af897a7fa2d186cef5cff7e08cb3f7252829 SHA512 27b5132e7a87a59e5bc650d6884859c5c9a2f2f3d8d05e123d00c726527db26e021b5413f8e6e54fb311696e6e30fc5c236e86b43a271a10362368818d2ea0a2 WHIRLPOOL 586b06c99dc3c064fb7b7e53a1906fcaac665547accac1e5d7d5e88adecd038d9b8247c4d53566c7bfdf58003292da1dcf3b1e283e9398341409463d04c3c5a6
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/configargparse/configargparse-0.9.3.ebuild,v 1.1 2015/01/04 04:46:44 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN=ConfigArgParse
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="A drop-in replacement for argparse that adds support for config files and/or environment variables"
|
||||
HOMEPAGE="https://github.com/zorro3/ConfigArgParse https://pypi.python.org/pypi/ConfigArgParse"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<maintainer>
|
||||
<email>radhermit@gentoo.org</email>
|
||||
<name>Tim Harder</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,3 +1,4 @@
|
||||
DIST netlib-0.10.1.tar.gz 299633 SHA256 ee22365f6aad99326fa83788e8f71ea940affea0df3142efde247c7d520fab7e SHA512 56df59b94b6dcd61809f7319dcfd6807294d0dd1011d64d6b26beb50e3217052a96b267f1facacf46cbd0379a29df7ad5f68ee025b64b7e8fbfd31a9b4d06469 WHIRLPOOL 7e2e48fb6204ae0efe1d0aa9698b7d50ab0802c06ef8478ddd80cf3f3268fdbf1f0de696d4e2110f15f0efd45cdb713c57c5b0fc24482f9d401da4955557a446
|
||||
DIST netlib-0.10.tar.gz 60256 SHA256 415e3db96f487177f372d47bc669dcc9068a435e49b8120ec8821026de36bd80 SHA512 e6897a1ba28942eb30f19b4876bf1fcc03a83ec619e162ee09d9c3ad3348cfaebf9b413fdc4c534c56342270c0c767f16b63b79efe51d6589e864e9b51742f4a WHIRLPOOL a6f3106870f30128c96d7f04ab8c5f0136c88217fe20c00f4a7791031ea6e176ef04785403324ac2ca63ce056957c3d53660bbb3cc143499b019ca7b33f3482c
|
||||
DIST netlib-0.11.1.tar.gz 43539 SHA256 5d752d93863cbccd8bb8d7990b62903e803490fa2de12c4fb79e028e20a7d309 SHA512 1682bd73d0ff592ad8ec4a79c1f4acd1267440ad0d120a5693f66fd94bfa10b40fdec69b4d43052952a3ecf64d27cb928fd3e5747f54acc419e50c3e1d3b4fbe WHIRLPOOL 8347395165b8d95f12ec81f9651e3dd9a9d71d2d039062fc9a2f6d2a81b0648a709424d83089203d98e3697b5cced511208a076ba524de1f04c6c0578fdce0a2
|
||||
DIST netlib-0.11.2.tar.gz 43569 SHA256 66dac408eccb528b284e6a6fa5bc52aa40d1c2a53d74179d3cb2253b3120851e SHA512 ef1b489c5affb4bd7d840af955c50fe6c180b179ebe0a4c67f8005a4e02f03e1ff0d47f3b40da9aae7fc7bc179f82203a4ab43798406a917ab1a1b29eebe5443 WHIRLPOOL a6961a57d6db07e36d2098ee56a303f2e8ebb742d7857f5ab02cd8950cdecd10cd7649a8ca88af5178d82fc8de903f166156306c7e4f3df47f58a1dbe25be457
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/netlib/netlib-0.11.2.ebuild,v 1.1 2015/01/04 04:13:09 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1 versionator
|
||||
|
||||
DESCRIPTION="Collection of network utility classes used by pathod and mitmproxy"
|
||||
HOMEPAGE="https://github.com/cortesi/netlib/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/passlib-1.6.2[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/nose-1.3.0[${PYTHON_USEDEP}]
|
||||
=www-servers/pathod-$(get_version_component_range 1-2)*[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
nosetests -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST pip-1.5.6.tar.gz 938120 SHA256 b1a4ae66baf21b7eb05a5e4f37c50c2706fa28ea1f8780ce8efe14dcd9f1726c SHA512 cecd1da900e95bf3e6164e6d0c8c989e8ce17ef892beb9581a567857fe69dd3490b45d366cbb8e3bc84cebcf62ecf34420bcc1fae3fd8cf448927438ae257b68 WHIRLPOOL d6b77000ec465f8ba15db9dd4ce23c491937d5c7ee8fa148cf1cc88d59e972ad0a4a86adeca0d6b5227e97e83c16ae6d14b76976b605db572c08ac7019a02e6d
|
||||
DIST pip-6.0.2.tar.gz 1191608 SHA256 6fa90667706a679e3dc75b27a51fddafa64401c45e96f8ae6c20978183290077 SHA512 12700739af2e21fd1cd9ad4c4d7f6cbbacd00b8c9fcf993b320ddbd4ced0ea9cc147db0f4b7ac8dfc3343115e18d947b21f074c6446393d68887dcfe782f89d1 WHIRLPOOL 778e2e1afa10c9d67812f79cbc956e6f1fa929119357d4441eb3e123ea38fec36564982ac9c63e4eee6d9c7866fcedf7e0e8c1d20b844268298ae8e54acec5bb
|
||||
DIST pip-6.0.3.tar.gz 1191776 SHA256 b091a35f5fa0faffac0b27b97e1e1e93ffe63b463c2ea8dbde0c1fb987933614 SHA512 659248cb9912d571ada5fb58287d84a82f8fc1126b4063ba75874ccf807f987c7208de3e69f7b67a5030cb12109964c7ab448b28ade090f584066fa47202f8bd WHIRLPOOL 3564dcad140a81570b770f162959b96bf7d010c6b6faf57b586054981a10fd0c35f04efa044366b2eb78484f9155c767385cbc2808ee9a037343efef1007c54f
|
||||
DIST pip-6.0.6.tar.gz 1193930 SHA256 3a14091299dcdb9bab9e9004ae67ac401f2b1b14a7c98de074ca74fdddf4bfa0 SHA512 7420c91be96ae6f9e93adbc7ed93ae38085a4256b7e54efc04a8e1e95e69df9b95d65530bca5663feaa6370f7482c797156feb726f0e6f1edaccb4b578b6bb71 WHIRLPOOL dad727b7a9d31e4f0291e92dda202987b2889c25583ca86beb8e690b96626d16fd193b72f8b8cb0565a079cf6d96d76799d5b9eae79f6426afd072c02822ef21
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pip/pip-6.0.6.ebuild,v 1.1 2015/01/04 01:25:05 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
DESCRIPTION="Installs python packages -- replacement for easy_install"
|
||||
HOMEPAGE="http://www.pip-installer.org/ http://pypi.python.org/pypi/pip/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# required test data isn't bundled with the tarball
|
||||
RESTRICT="test"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-6.0.2-disable-version-check.patch )
|
||||
|
||||
python_install_all() {
|
||||
local DOCS=( AUTHORS.txt docs/*.rst )
|
||||
distutils-r1_python_install_all
|
||||
|
||||
COMPLETION="${T}"/completion.tmp
|
||||
|
||||
${EPYTHON} pip/__init__.py completion --bash > "${COMPLETION}" || die
|
||||
newbashcomp "${COMPLETION}" ${PN}
|
||||
|
||||
${EPYTHON} pip/__init__.py completion --zsh > "${COMPLETION}" || die
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins "${COMPLETION}" _pip
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST pymetar-0.16.tar.gz 22653 SHA256 315f62db08df5745792a0e3a903528a4c02c66378c6a627fdc79cfa6499a13dc SHA512 e6f5a7507b4984ae299f819f4a93310b7645a03b9874af570a68a4fbe69ab5755d4bd95c5ed9c2056a7741415f4934fe0f1de6fb0867cba4afa017569ce8f998 WHIRLPOOL d3192b9a16f8db60881c6496dc42430bdc10a99aac83455794881d547c4f9f922664df0a64dcdddb35463073731d7dc91215cf936b90c37c221087612cc827cc
|
||||
DIST pymetar-0.19.tar.gz 22123 SHA256 2666c9bcb171bcc5cd6c174073a280836f049fbbd9c264ea24a2a023edb647c9 SHA512 2d6f93db41743eceee776f17dd57ce626b89e19d538a9e52a5a984c3ff858ae42abc5c6f129bceda6efccfd2ae7f1c9616f5b82d7e3795cc38d5ece430aec2a6 WHIRLPOOL cad04c3d8415ff67ff0a08070b787e61321eb7836aeafc3fe326382d9d81c46ac41045ead7100b9561d51dc268bd70522782c2d7937901843a3cf03605ad9a49
|
||||
|
@ -0,0 +1,14 @@
|
||||
entry for data_files cause unwanted duplicate entry @ install
|
||||
diff -u pymetar-0.19.orig/setup.py pymetar-0.19/setup.py
|
||||
--- setup.py 2012-01-25 22:01:19.000000000 +0800
|
||||
+++ setup.py 2015-01-04 10:57:14.698948559 +0800
|
||||
@@ -26,7 +26,5 @@
|
||||
packages= [ "" ],
|
||||
py_modules=["pymetar"],
|
||||
scripts = [ "bin/pymetar" ],
|
||||
- data_files = [("share/doc/pymetar-%s"%pymetar.__version__,
|
||||
- ['README', 'COPYING', 'THANKS', 'librarydoc.txt']),
|
||||
- ("share/man/man1", ['pymetar.1'])]
|
||||
+ data_files = [("share/man/man1", ['pymetar.1'])]
|
||||
)
|
||||
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pymetar/pymetar-0.16.ebuild,v 1.4 2013/11/06 05:21:10 patrick Exp $
|
||||
|
||||
EAPI="2"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Downloads, decodes and provides access to the weather report for a given station ID"
|
||||
HOMEPAGE="http://www.schwarzvogel.de/software-pymetar.shtml"
|
||||
SRC_URI="http://www.schwarzvogel.de/pkgs/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ppc ~sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
DOCS="librarydoc.txt THANKS"
|
||||
PYTHON_MODNAME="pymetar.py"
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
sed -e "s/'COPYING', //" -i setup.py || die "sed failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
doman pymetar.1
|
||||
rm -f pymetar.1
|
||||
distutils_src_install
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pymetar/pymetar-0.19-r1.ebuild,v 1.1 2015/01/04 03:27:18 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Downloads, decodes and provides access to the weather report for a given station ID"
|
||||
HOMEPAGE="http://www.schwarzvogel.de/software-pymetar.shtml"
|
||||
SRC_URI="http://www.schwarzvogel.de/pkgs/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
DOCS="librarydoc.txt README THANKS"
|
||||
|
||||
# Fix to install of data
|
||||
PATCHES=( "${FILESDIR}"/setup.patch )
|
@ -1,4 +1 @@
|
||||
DIST PyML-0.7.11.tar.gz 5869461 SHA256 9b2ba1657c2e90a94072d94f62ab605f1baa8ebde2cf9a798583dd300f7eb4b6 SHA512 bc00d87fe32f6211541ff3fecd66a2f5ca2005cbcd34455339a71e2f053727f624bf88e708b25cc9d71a08f71608a038f2f5b58f0bf610796a457235e30b3571 WHIRLPOOL e19f7094482fcc08f4c989e4869a295a4f17f50d5a8bfb57760cbde2c976af98d5faefc5af94ccdda060b424da7b456d968bb88c8a28a9ed8acf367f3ff6cddd
|
||||
DIST PyML-0.7.12.tar.gz 5880335 SHA256 4569fc76bd36a69c0ec469a31bf3625d5d63ae4bc097e20d8fcc756b14621456 SHA512 69535f529f9070dc3231dfcf2f7c2fd55c03e00c7e1072316a4d8b36402164c9aa22736fd21bd0aad626c55fe2cd5a8159b06a8a283337802ba3e744c1de87c5 WHIRLPOOL 37b930567716b58b65aae86bf80c82cc0254a6a1178e414e15fe3ebb19f0bc1c8ab95c1948d7a646e022bd00151635d89848820e9027cf69e54dd1f682094fe6
|
||||
DIST PyML-0.7.13.1.tar.gz 5880904 SHA256 42ad27d33bea9384e4963fe3c622079bcff9b81ba240ec83a878a9bd258b5a1d SHA512 af05f1fd93515bb43af40eb0b00c24a9bd9e7dd2278cfa74f243fee39a83ab39a7498f96cd4f57686d5724d966e8fae294dc5650ddef10e52c51cb2fb9d400b0 WHIRLPOOL 8ec07b3f6e4664a7a154b526756002b065acd99b79a1367c146b50c858747213b18ee99d2edbe0ec0fd39d2338ab3d6c6f706db30f24aadbb3ed8bbd78c51304
|
||||
DIST PyML-0.7.13.2.tar.gz 5880930 SHA256 daec23fb3293d8d00efcbb64464676c196807a81a959e6adac5aceb08b15503b SHA512 8a642cfc8744098e145cf6940c606f53034c3a04aa9665e23bfd30bbd4098bcceaf10508ea9c3b3be40f1b9d964aea793c7e20d4b48eb66656b5fd6b200fca5c WHIRLPOOL 9adbf1b4a75627bf10e93fcea93b9ab60a128a0ec3523fdd3f9ff1a58b8df1a1501617b4684dd56a04c518bbecb13a34b48d41c529057c17477f665f09612879
|
||||
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyml/pyml-0.7.11.ebuild,v 1.2 2012/12/07 17:00:50 bicatali Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-pypy-* *-jython"
|
||||
|
||||
inherit distutils
|
||||
|
||||
MYP=PyML-${PV}
|
||||
|
||||
DESCRIPTION="Python machine learning package"
|
||||
HOMEPAGE="http://pyml.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MYP}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="dev-python/numpy"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools"
|
||||
|
||||
S="${WORKDIR}/${MYP}"
|
||||
|
||||
src_test() {
|
||||
cd data
|
||||
testing() {
|
||||
PYTHONPATH="$(ls -d ${S}/build-${PYTHON_ABI}/lib*)" \
|
||||
"$(PYTHON)" -c "from PyML.demo import pyml_test; pyml_test.test('svm')" || return 1
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
use doc && dodoc doc/tutorial.pdf && dohtml -r doc/autodoc/*
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyml/pyml-0.7.12.ebuild,v 1.1 2013/09/02 04:43:55 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-pypy-* *-jython"
|
||||
|
||||
inherit distutils
|
||||
|
||||
MYP=PyML-${PV}
|
||||
|
||||
DESCRIPTION="Python machine learning package"
|
||||
HOMEPAGE="http://pyml.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MYP}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="dev-python/numpy"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools"
|
||||
|
||||
S="${WORKDIR}/${MYP}"
|
||||
|
||||
src_test() {
|
||||
cd data
|
||||
testing() {
|
||||
PYTHONPATH="$(ls -d ${S}/build-${PYTHON_ABI}/lib*)" \
|
||||
"$(PYTHON)" -c "from PyML.demo import pyml_test; pyml_test.test('svm')" || return 1
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
use doc && dodoc doc/tutorial.pdf && dohtml -r doc/autodoc/*
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyml/pyml-0.7.13.1.ebuild,v 1.1 2013/09/18 06:27:45 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-pypy-* *-jython"
|
||||
|
||||
inherit distutils
|
||||
|
||||
MYP=PyML-${PV}
|
||||
|
||||
DESCRIPTION="Python machine learning package"
|
||||
HOMEPAGE="http://pyml.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MYP}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="dev-python/numpy"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools"
|
||||
|
||||
S="${WORKDIR}/${MYP}"
|
||||
|
||||
src_test() {
|
||||
cd data
|
||||
testing() {
|
||||
PYTHONPATH="$(ls -d ${S}/build-${PYTHON_ABI}/lib*)" \
|
||||
"$(PYTHON)" -c "from PyML.demo import pyml_test; pyml_test.test('svm')" || return 1
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
use doc && dodoc doc/tutorial.pdf && dohtml -r doc/autodoc/*
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyml/pyml-0.7.13.2-r1.ebuild,v 1.1 2015/01/04 05:19:41 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MYP=PyML-${PV}
|
||||
|
||||
DESCRIPTION="Python machine learning package"
|
||||
HOMEPAGE="http://pyml.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MYP}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
S="${WORKDIR}/${MYP}"
|
||||
|
||||
python_test() {
|
||||
pushd data > /dev/null
|
||||
"${PYTHON}" -c "from PyML.demo import pyml_test; pyml_test.test('svm')" || die "tests failed"
|
||||
popd > /dev/null
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && dodoc doc/tutorial.pdf && dohtml -r doc/autodoc/*
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyml/pyml-0.7.13.2.ebuild,v 1.1 2013/10/01 01:12:55 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-pypy-* *-jython"
|
||||
|
||||
inherit distutils
|
||||
|
||||
MYP=PyML-${PV}
|
||||
|
||||
DESCRIPTION="Python machine learning package"
|
||||
HOMEPAGE="http://pyml.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MYP}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="dev-python/numpy"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools"
|
||||
|
||||
S="${WORKDIR}/${MYP}"
|
||||
|
||||
src_test() {
|
||||
cd data
|
||||
testing() {
|
||||
PYTHONPATH="$(ls -d ${S}/build-${PYTHON_ABI}/lib*)" \
|
||||
"$(PYTHON)" -c "from PyML.demo import pyml_test; pyml_test.test('svm')" || return 1
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
use doc && dodoc doc/tutorial.pdf && dohtml -r doc/autodoc/*
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyosd/pyosd-0.2.14-r1.ebuild,v 1.1 2015/01/04 07:02:46 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python module for displaying text on your X display, like the 'On Screen Displays' used on TVs"
|
||||
HOMEPAGE="http://ichi2.net/pyosd/"
|
||||
SRC_URI="http://ichi2.net/pyosd/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
DEPEND=">=x11-libs/xosd-2.2.4"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( pyosd.html )
|
||||
use examples && local EXAMPLES=( modules/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you want to run the included daemon, you will need to install dev-python/twisted-core."
|
||||
elog "Also note that the volume plugin requires media-sound/aumix."
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue