parent
64a355282a
commit
ba7b4c0faa
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/supervisor/supervisor-3.0.ebuild,v 1.1 2013/08/10 12:45:01 patrick Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
# xml.etree.ElementTree module required.
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
MY_PV="${PV/_beta/b}"
|
||||
|
||||
DESCRIPTION="A system for controlling process state under UNIX"
|
||||
HOMEPAGE="http://supervisord.org/ http://pypi.python.org/pypi/supervisor"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="repoze ZPL BSD HPND GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-python/meld3-0.6.10-r1[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/mock[${PYTHON_USEDEP}] )"
|
||||
|
||||
# package uses namespaces which makes tests use installed packages
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
DOCS=( CHANGES.txt TODO.txt )
|
||||
|
||||
python_prepare_all() {
|
||||
# write missing MANIFEST.in file, otherwise required files get lost due to
|
||||
# egg_info being passed to setup.py
|
||||
cat > MANIFEST.in << EOF
|
||||
include supervisor/*.txt
|
||||
recursive-include supervisor/skel *.conf
|
||||
recursive-include supervisor/ui *.html *.css *.gif *.png
|
||||
recursive-include supervisor/tests *.conf *.txt
|
||||
EOF
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newinitd "${FILESDIR}/init.d-r1" supervisord
|
||||
newconfd "${FILESDIR}/conf.d" supervisord
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST testdisk-6.12.tar.bz2 554633 SHA256 bdfbe679146518a1321d64f512d6ec8980ac3a9f2296ef27a46c7743d0f9ea16 SHA512 5cd17d1ad851515dcd1f3ef5dfb7435aff2f89e2b0467e84552809d203688a47731e23a602dc10355861414eb2d8c6b9edd48225ccc6229ab59810803a59da4c WHIRLPOOL f667fa6e61990cd6c6532301e461fc1cdcd9303a96566cc501dc1945fd9328b234b8c3f5a760a839a9d4b026da29d03c3189fa9afc58b7f7efa6e96b15008a49
|
||||
DIST testdisk-6.13.tar.bz2 560696 SHA256 48275ccddfc9445b6c3e6e181728dae9e49bd25b824a6b5670d58f1f88cdf220 SHA512 30889b8afed5b0fac93ce028e8c95bfa3e14b72d39cc4f86659edcce0b8820c5ce0c2b7e1d09f23f0da977b5d1cb275551069a87b109d05538e63e9b76200442 WHIRLPOOL b9bcf93df5b42a26b4206969ee968122f194338a28c6a500e540e3cafec2ae84d0734624c58b3581fc9ac71f2ea1038f2997e3f91278d6eed18abf786cd31200
|
||||
DIST testdisk-6.14.tar.bz2 620077 SHA256 a597c3ebc375acdf0ff60f44ed8935a301132aae78ec00f64f091637d055326c SHA512 f479c7863e1a39bf747a0b73b37eba1016e4762373b9b68747fed6141aa8faa7703c89dddc975df18904759292cd7d333ca0619eacb3c1eea76790a917e95774 WHIRLPOOL def7c9506747c68e5fb786ab0725c8ca2e15ccd53fc7f336d77f72067a6a6094c716c57ec3652a8386bf176b40e2fb1504925c6734bc3037799a4bbef3c8e67d
|
||||
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/testdisk/testdisk-6.14.ebuild,v 1.1 2013/08/10 05:28:20 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="Checks and undeletes partitions + PhotoRec, signature based recovery tool"
|
||||
HOMEPAGE="http://www.cgsecurity.org/wiki/TestDisk"
|
||||
SRC_URI="http://www.cgsecurity.org/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="jpeg ntfs reiserfs static"
|
||||
|
||||
# WARNING: reiserfs support does NOT work with reiserfsprogs
|
||||
# you MUST use progsreiserfs-0.3.1_rc8 (the last version ever released).
|
||||
DEPEND="
|
||||
sys-apps/util-linux
|
||||
>=sys-libs/ncurses-5.2
|
||||
jpeg? ( virtual/jpeg )
|
||||
ntfs? ( sys-fs/ntfs3g )
|
||||
reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8 )
|
||||
>=sys-fs/e2fsprogs-1.35
|
||||
sys-libs/zlib"
|
||||
RDEPEND="!static? ( ${DEPEND} )"
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# this is static method is the same used by upstream for their 'static' make
|
||||
# target, but better, as it doesn't break.
|
||||
use static && append-ldflags -static
|
||||
|
||||
# --with-foo are broken, any use of --with/--without disable the
|
||||
# functionality.
|
||||
# The following variation must be used.
|
||||
use reiserfs || myconf+=" --without-reiserfs"
|
||||
use ntfs || myconf+=" --without-ntfs"
|
||||
use jpeg || myconf+=" --without-jpeg"
|
||||
|
||||
econf \
|
||||
--docdir="${ED}/usr/share/doc/${PF}" \
|
||||
--without-ewf \
|
||||
--enable-sudo \
|
||||
${myconf}
|
||||
|
||||
# perform safety checks for NTFS, REISERFS and JPEG
|
||||
if use ntfs && ! egrep -q '^#define HAVE_LIBNTFS(3G)? 1$' "${S}"/config.h ; then
|
||||
die "Failed to find either NTFS or NTFS-3G library."
|
||||
fi
|
||||
if use reiserfs && egrep -q 'undef HAVE_LIBREISERFS\>' "${S}"/config.h ; then
|
||||
die "Failed to find reiserfs library."
|
||||
fi
|
||||
if use jpeg && egrep -q 'undef HAVE_LIBJPEG\>' "${S}"/config.h ; then
|
||||
die "Failed to find jpeg library."
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST whowatch-1.8.3.tar.gz 161240 SHA256 759bfe473f400958b6c9e5aadde73c12395ac3187d95b25ba3f00c54b3416ba3 SHA512 daa24cdcafdd3fa58f15fe18f904c8091116df090ca8810b712b4322099d6f44f009530511c6cd56b22c827aaf9c3f34ca0f24275dd2474bdc95507b421b424a WHIRLPOOL e00a6cf923e77ddc9032ab760678681837986933c2bc5151e573ca3de30cd50b5c08ef8dd496baae841d6f1b871f32b5b43b409c2206ddac18988481932367d4
|
||||
DIST whowatch-1.8.4.tar.gz 131750 SHA256 19d42b1d82ea7a9137618d7b55c8d9c91a76623909161a3b176cbf7888aa8026 SHA512 e7d7425d672d4c174b44d9d7cbd77659490aca866136ae33879b1f584caeda86a657e82a6844e066ac72d186918eaf044b7a13d647f1c050bf903565cd4530ec WHIRLPOOL fa491c7ce552f4f67fa4401ec60a2e0f8922e218c771de746ee2861eb62ea9046336e51f6ecd3500803bee4afc43b849ee2726d4ba65dffe2651c03c99f1af01
|
||||
|
@ -0,0 +1,19 @@
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -16,14 +16,8 @@
|
||||
dnl Replace `main' with a function in -lkvm:
|
||||
AC_CHECK_LIB(kvm, kvm_openfiles)
|
||||
dnl Replace `main' with a function in -lncurses:
|
||||
-CURS=0
|
||||
-AC_CHECK_LIB(ncurses, scrollok, [CURS=1 ; LIBS="$LIBS -lncurses"])
|
||||
-if test "$CURS" != "1"; then
|
||||
- AC_CHECK_LIB(curses, scrollok, [CURS=1 ; LIBS="$LIBS -lcurses"])
|
||||
-fi
|
||||
-if test "$CURS" != "1"; then
|
||||
- AC_MSG_ERROR([Could not find proper curses library])
|
||||
-fi
|
||||
+PKG_CHECK_MODULES(NCURSES, ncurses, [LIBS="$LIBS $NCURSES_LIBS"],
|
||||
+ AC_MSG_ERROR([Could not find proper curses library]))
|
||||
|
||||
dnl Checks for header files.
|
||||
AC_HEADER_DIRENT
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/whowatch/whowatch-1.8.4.ebuild,v 1.1 2013/08/10 13:57:40 jer Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="interactive who-like program that displays information about users currently logged on in real time"
|
||||
HOMEPAGE="http://wizard.ae.krakow.pl/~mike/"
|
||||
SRC_URI="http://wizard.ae.krakow.pl/~mike/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="sys-libs/ncurses"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-tinfo.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin src/${PN}
|
||||
doman ${PN}.1
|
||||
dodoc AUTHORS ChangeLog README TODO
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST pms-4_p20110118.pdf 348747 SHA256 6ceecaa392939e558b38f7f8ab80bbba3f706416c566d325bc658a90a66009ed SHA512 30a0339ed5bdfba161bbe33bde8fe008087e7bd86b3a79fee0db0331fe17a2a51b005a66274b4caa4fa838f130ba5afcf85902104e781c6fb9908321d248c9ed WHIRLPOOL bf751d1e73ad6b87ba2fdc58ad4d976aa4dbd39b27b7f26cf3b885e4f7fe022520ed4529b911bd5a9ee4ef66e88554da60556f6395b73bb3017860ae247a3a9d
|
||||
DIST pms-5-prebuilt.tar.xz 540244 SHA256 c93ce6902db323ab7ec613ad90a6dca2beda2dd2cebcc3e8ace83c1faeb6a1c7 SHA512 64baadd65f1751783032065832d2a18242967f1853d9b6ce0565a5477c021cfad3c06d9c3cfeb83ca9a64bbb052ec67c174bfd27036945ff762fe4bbf8c28451 WHIRLPOOL 9369c7604fdf0aadb7666f1fc08f041b064896d6359dd76779dc3af842fef14d81aed07301ec52eac11462664d16faed0e3fd50a0b96702822c59538917f5f78
|
||||
DIST pms-5.pdf 469297 SHA256 5a169f77da166e80a652385c895a2d646c47b8f39cb4ff3d5881376428293685 SHA512 2da12cc8aec3c34c6b67e6efab53457e98a9259cca12e34229c5dd830d663e57ebf1c4d9b611cee3c2c776b9f05bf6e5dcae01af99f72c1712eb2e5e970bf2fc WHIRLPOOL 2743e5ab89bc786728deeafad840718d99efb4291c91aa0de0427a7461d3da6de56da47956ce4abc012021296861f912730776cec07ddd2dd804b772d0427ae9
|
||||
DIST pms-5.tar.xz 50284 SHA256 a3b7702298adc4481584ed03f2d49e9fa7ea58638d8e8e9bf36fca832b2fbc87 SHA512 560bdda40d4d1628e97b65bb354c349e3ac52edd1e337427adb0db61e99b40d214459a5046f4b505edfabc3914e2d585ef0453b13057a25fe138b8a5ebd6292e WHIRLPOOL 373d333f1c060faacbfbd398ae3be3a0143c0ee618b093867313e4182bce7f15609445d2fc6b109f6f02fe597fe8f6cf687673029569e27fa7ed3411f4932013
|
||||
|
@ -1,15 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>ulm@gentoo.org</email>
|
||||
<name>Ulrich Müller</name>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>fauli@gentoo.org</email>
|
||||
<name>Christian Faulhammer</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="html">Generate PMS as .html as well</flag>
|
||||
</use>
|
||||
<maintainer>
|
||||
<email>ulm@gentoo.org</email>
|
||||
<name>Ulrich Müller</name>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>fauli@gentoo.org</email>
|
||||
<name>Christian Faulhammer</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="binary">Download pre-built files instead of building
|
||||
from sources</flag>
|
||||
<flag name="html">Generate PMS as .html as well</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-doc/pms/pms-4_p20110118.ebuild,v 1.5 2013/02/07 21:34:12 ulm Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
DESCRIPTION="Gentoo Package Manager Specification"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/qa/pms.xml"
|
||||
SRC_URI="mirror://gentoo/${P}.pdf"
|
||||
|
||||
LICENSE="CC-BY-SA-3.0"
|
||||
SLOT="0"
|
||||
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 ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~x86-netbsd ~ppc-openbsd ~x64-openbsd ~x86-openbsd ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
IUSE=""
|
||||
|
||||
src_unpack() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newdoc "${DISTDIR}"/${P}.pdf pms.pdf || die
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-doc/pms/pms-5-r2.ebuild,v 1.1 2013/08/10 06:55:53 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Gentoo Package Manager Specification"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/qa/pms.xml"
|
||||
SRC_URI="!binary? ( mirror://gentoo/${P}.tar.xz )
|
||||
binary? ( mirror://gentoo/${P}-prebuilt.tar.xz )"
|
||||
|
||||
LICENSE="CC-BY-SA-3.0"
|
||||
SLOT="0"
|
||||
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 ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~x86-netbsd ~ppc-openbsd ~x64-openbsd ~x86-openbsd ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
IUSE="binary html"
|
||||
|
||||
DEPEND="!binary? (
|
||||
dev-tex/leaflet
|
||||
dev-texlive/texlive-bibtexextra
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-latexrecommended
|
||||
dev-texlive/texlive-science
|
||||
html? (
|
||||
app-text/recode
|
||||
>=dev-tex/tex4ht-20090115_p0029
|
||||
)
|
||||
)"
|
||||
RDEPEND=""
|
||||
|
||||
src_compile() {
|
||||
if ! use binary; then
|
||||
emake
|
||||
use html && emake html
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc pms.pdf eapi-cheatsheet.pdf
|
||||
if use html; then
|
||||
dohtml *.html pms.css $(shopt -s nullglob; echo *.png)
|
||||
dosym {..,/usr/share/doc/${PF}/html}/eapi-cheatsheet.pdf
|
||||
fi
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-doc/podbrowser/podbrowser-0.12-r2.ebuild,v 1.1 2013/08/10 02:02:38 mattst88 Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="PodBrowser is a documentation browser for Perl"
|
||||
HOMEPAGE="http://jodrell.net/projects/podbrowser"
|
||||
SRC_URI="http://jodrell.net/files/podbrowser/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
SRC_TEST="do"
|
||||
|
||||
RDEPEND="dev-perl/gtk2-gladexml
|
||||
dev-perl/gtk2-perl
|
||||
dev-perl/HTML-Parser
|
||||
dev-perl/Locale-gettext
|
||||
virtual/perl-Pod-Simple
|
||||
dev-perl/URI
|
||||
dev-perl/Gtk2-Ex-PodViewer
|
||||
dev-perl/Gtk2-Ex-PrintDialog
|
||||
dev-perl/Gtk2-Ex-Simple-List
|
||||
|| ( >=dev-lang/perl-5.16 <dev-lang/perl-5.16[-build] )
|
||||
>=x11-libs/gtk+-2.6.0:2
|
||||
>=x11-themes/gnome-icon-theme-2.10.0
|
||||
>=gnome-base/libglade-2:2.0"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/missing_icon.patch
|
||||
cp "${FILESDIR}"/Makefile.new "${S}"/Makefile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake DESTDIR="${D}" PREFIX=/usr || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake PREFIX=/usr DESTDIR="${D}" install || die
|
||||
}
|
@ -1,5 +1,4 @@
|
||||
DIST libvirt-1.0.5.4.tar.gz 23972364 SHA256 fe51da9d5c3d5e8521d0c89a3379ec3b19083a31e30bc4eb54a860aa6ccf2771 SHA512 f44006f5cf00e4682266a306c819075471abb52cd9816bd75e0b83962bcb4a085fc0ffc94b688bedbc4042489a2997b77ebd1aad6f1560abe808140a24682865 WHIRLPOOL 0d6609f9d437e344f6c5b74f1c34c24004e256efd784b61f35fa68483086213a47fe27e2ec5f5f4e2ce7bbb7a02c2dabe75511e8686221b6b9be6d2719dccd0e
|
||||
DIST libvirt-1.1.0-cafcec2f.tar.xz 8284 SHA256 ce68c2e6e54d1d3190c45cfe644d6af6c32dd8c4f661276868f90feeb8020b46 SHA512 95637c6577ac1cfbdfe087d5e5ad2671026f9ed35231780821a86db9ce610daceaeae55ce750ab345052cbbdeef030265e293de03c4a2add51d77b206df5586c WHIRLPOOL 5e21511ae6e0c4498c053133b4041aa9dab86b5638455639da97e05d177f2986c123b5c0cb61c41c7a60efe8d78592b789a06e25cf89ac0bbf5143c2ffacc167
|
||||
DIST libvirt-1.1.0.tar.gz 24397962 SHA256 ce9e765697ecb595469489665043ce221d9b70babc16fec77ee938fe37676928 SHA512 0ac9c8b02a182ad4c66609bc949282455b362fc2aa576d1c2413366dfb1ce70d3737caad0101128f8629c34e0ca47295128bafe5608e3ac60e764c3f8178c7f0 WHIRLPOOL a526350aeef2d72cb079750bda0f18f9f9ebc4b2cf56e7655c9ee0e8a744b0fb540089f64da0820628779c1456435043bf8c6dc2c18bdba65c0e705a43777f90
|
||||
DIST libvirt-1.1.1-6e020882.tar.xz 3964 SHA256 15e6d7783a8b316ebbbe2b0983419c3c1706bdc6bf7bcce2256aa96d64fb9996 SHA512 36738efd5e6585eb53878fee6c3787515c5cdb3cf378914690551db7dcc14542181adc9c3a6b60c3099e69226e6461ec97f72321914de568cca3e9413a33857b WHIRLPOOL 4506d6e754e637b19375140d6899f03b0958659e4c804a91587fddd19ce7ddd4651a2e12aa948a93fab3bf5c1fc70f35a73383a1fabb49635ea1ec12c4608a2b
|
||||
DIST libvirt-1.1.1-864bcb0e.tar.xz 2108 SHA256 71bc272a7726a1a46926aca1abb8b4a8ee7f973671781e6ea4c9b29432ec9f63 SHA512 c04ec503161b03454895079cd9bbf2345ee6b489e08a7bef92c4a54237ca75a08048fed522baa759a5689735d9608f4ad3ad69ce47a630a72d5995ef955e81ab WHIRLPOOL 25ef1c2f212ab619afc0490cd613ed14a3ac80c7dafd824edc2264fc51ac092b0042d7399f9d49ab1f9411c85e10cde02ae150fb88fe81d17989b7708e3a0a6e
|
||||
DIST libvirt-1.1.1.tar.gz 25420278 SHA256 dc6f1e1e15b9b190eaa706e76edabcfc94b239c012f5afc22b22357a4b3b22c2 SHA512 9f121827913cd99ba14ebf5755e679da5010e8784a16bc9ef9f49cfd8bf4d4335e6c200401b0592fe77a431d3de9a1b360695a515e5eb789cf675f087194cc4a WHIRLPOOL dca3fd4daebf1ba7c1d428d7a8ce7fb08b281751718fb8d7016537cbad3e08355953f1682d1239c312602b424b682d96d715085ed2e8e4ea6985140f08367093
|
||||
|
@ -1,37 +0,0 @@
|
||||
From: "Daniel P. Berrange" <berrange@redhat.com>
|
||||
Date: Fri, 28 Jun 2013 10:48:37 +0100
|
||||
Subject: [PATCH] CVE-2013-2218: Fix crash listing network interfaces with
|
||||
filters
|
||||
|
||||
The virConnectListAllInterfaces method has a double-free of the
|
||||
'struct netcf_if' object when any of the filtering flags cause
|
||||
an interface to be skipped over. For example when running the
|
||||
command 'virsh iface-list --inactive'
|
||||
|
||||
This is a regression introduced in release 1.0.6 by
|
||||
|
||||
commit 7ac2c4fe624f30f2c8270116513fa2ddab07631f
|
||||
Author: Guannan Ren <gren@redhat.com>
|
||||
Date: Tue May 21 21:29:38 2013 +0800
|
||||
|
||||
interface: list all interfaces with flags == 0
|
||||
|
||||
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
|
||||
---
|
||||
src/interface/interface_backend_netcf.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/interface/interface_backend_netcf.c b/src/interface/interface_backend_netcf.c
|
||||
index a995816..9aa673d 100644
|
||||
--- a/src/interface/interface_backend_netcf.c
|
||||
+++ b/src/interface/interface_backend_netcf.c
|
||||
@@ -412,6 +412,7 @@ netcfConnectListAllInterfaces(virConnectPtr conn,
|
||||
(MATCH(VIR_CONNECT_LIST_INTERFACES_INACTIVE) &&
|
||||
(status & NETCF_IFACE_INACTIVE)))) {
|
||||
ncf_if_free(iface);
|
||||
+ iface = NULL;
|
||||
continue;
|
||||
}
|
||||
|
||||
--
|
||||
1.8.2.1
|
@ -1,24 +0,0 @@
|
||||
commit 027a7707bea5ba455212715278e3ae486f97eacb
|
||||
Author: Doug Goldstein <cardoe@cardoe.com>
|
||||
Date: Thu Jun 27 20:43:00 2013 -0500
|
||||
|
||||
Allow RO connections to interface udev backend
|
||||
|
||||
The udev based interface backend did not allow querying data over a
|
||||
read-only connection which is different than how the netcf backend
|
||||
operates. This brings the behavior inline with the default, netcf
|
||||
backend.
|
||||
|
||||
diff --git a/src/interface/interface_backend_udev.c b/src/interface/interface_backend_udev.c
|
||||
index 68e1e2f..95034bf 100644
|
||||
--- a/src/interface/interface_backend_udev.c
|
||||
+++ b/src/interface/interface_backend_udev.c
|
||||
@@ -139,7 +139,7 @@ udevInterfaceOpen(virConnectPtr conn,
|
||||
{
|
||||
struct udev_iface_driver *driverState = NULL;
|
||||
|
||||
- virCheckFlags(0, VIR_DRV_OPEN_ERROR);
|
||||
+ virCheckFlags(VIR_CONNECT_RO, VIR_DRV_OPEN_ERROR);
|
||||
|
||||
if (VIR_ALLOC(driverState) < 0) {
|
||||
virReportOOMError();
|
@ -1,17 +0,0 @@
|
||||
X-Git-Url: http://libvirt.org/git/?p=libvirt.git;a=blobdiff_plain;f=src%2Fqemu%2Fqemu_driver.c;h=b0180c9497da8579d3b2228a76e1579d26cdcaaa;hp=571d1f8c6b0866e2701b3b075cb6d2c53dffa75e;hb=f38c8185f97720ecae7ef2291fbaa5d6b0209e17;hpb=5744d96f211160d406ec0498c2f814a67d1a3fc8
|
||||
|
||||
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
|
||||
index 571d1f8..b0180c9 100644
|
||||
--- a/src/qemu/qemu_driver.c
|
||||
+++ b/src/qemu/qemu_driver.c
|
||||
@@ -10043,9 +10043,7 @@ qemuConnectDomainEventRegisterAny(virConnectPtr conn,
|
||||
driver->domainEventState,
|
||||
dom, eventID,
|
||||
callback, opaque, freecb, &ret) < 0)
|
||||
- goto cleanup;
|
||||
-
|
||||
- ret = 0;
|
||||
+ ret = -1;
|
||||
|
||||
cleanup:
|
||||
return ret;
|
@ -1,129 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
|
||||
description="Virtual Machine Management daemon (libvirt)"
|
||||
extra_started_commands="reload halt"
|
||||
description_halt="Stops the libvirt daemon without stopping your VMs"
|
||||
description_reload="Restarts the libvirt daemon without stopping your VMs"
|
||||
|
||||
depend() {
|
||||
USE_FLAG_FIREWALLD
|
||||
use USE_FLAG_AVAHI USE_FLAG_ISCSI USE_FLAG_RBD dbus
|
||||
after ntp-client ntpd nfs nfsmount portmap rpc.statd iptables ip6tables ebtables corosync sanlock cgconfig
|
||||
}
|
||||
|
||||
libvirtd_virsh() {
|
||||
local mode=$1
|
||||
shift
|
||||
|
||||
# Silence errors because virsh always throws an error about
|
||||
# not finding the hypervisor version when connecting to libvirtd
|
||||
LC_ALL=C virsh -c ${mode}:///system "$@" 2>/dev/null
|
||||
}
|
||||
|
||||
libvirtd_dom_list() {
|
||||
# Make sure that it wouldn't be confused if the domain name
|
||||
# contains the word running.
|
||||
libvirtd_virsh $1 list | awk '$3 == "running" { print $1 }'
|
||||
}
|
||||
|
||||
libvirtd_dom_count() {
|
||||
# Make sure that it wouldn't be confused if the domain name
|
||||
# contains the word running.
|
||||
libvirtd_virsh $1 list | awk 'BEGIN { count = 0 } \
|
||||
$3 == "running" { count++ } \
|
||||
END { print count }'
|
||||
}
|
||||
|
||||
libvirtd_net_list() {
|
||||
# The purpose of the awk is to avoid networks with 'active' in the name
|
||||
libvirtd_virsh $1 net-list | awk '$2 == "active" { print $1 }'
|
||||
}
|
||||
|
||||
libvirtd_net_count() {
|
||||
# The purpose of the awk is to avoid networks with 'active' in the name
|
||||
libvirtd_virsh $1 net-list | awk 'BEGIN { count = 0 } \
|
||||
$2 == "active" { count++ } \
|
||||
END { print count }'
|
||||
}
|
||||
|
||||
|
||||
start() {
|
||||
ebegin "Starting libvirtd"
|
||||
start-stop-daemon --start \
|
||||
--env KRB5_KTNAME=/etc/libvirt/krb5.tab \
|
||||
--exec /usr/sbin/libvirtd -- -d ${LIBVIRTD_OPTS}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
local counter=
|
||||
local vm_name=
|
||||
local net_name=
|
||||
local dom_id=
|
||||
|
||||
ebegin "Stopping libvirtd"
|
||||
# try to shutdown all (KVM/Qemu) domains
|
||||
if [ "${LIBVIRTD_KVM_SHUTDOWN}" != "none" ] \
|
||||
&& [ "$(libvirtd_dom_count qemu)" != "0" ] ; then
|
||||
|
||||
einfo " Shutting down domain(s):"
|
||||
for dom_id in $(libvirtd_dom_list qemu) ; do
|
||||
vm_name="$(libvirtd_virsh qemu domname ${dom_id} | head -n 1)"
|
||||
einfo " ${vm_name}"
|
||||
libvirtd_virsh qemu ${LIBVIRTD_KVM_SHUTDOWN} ${dom_id} > /dev/null
|
||||
done
|
||||
|
||||
if [ -n "${LIBVIRTD_KVM_SHUTDOWN_MAXWAIT}" ] ; then
|
||||
counter="${LIBVIRTD_KVM_SHUTDOWN_MAXWAIT}"
|
||||
else
|
||||
counter=500
|
||||
fi
|
||||
|
||||
if [ "${LIBVIRTD_KVM_SHUTDOWN}" = "shutdown" ]; then
|
||||
einfo " Waiting ${counter} seconds while domains shutdown ..."
|
||||
DOM_COUNT="$(libvirtd_dom_count qemu)"
|
||||
while [ ${DOM_COUNT} -gt 0 ] && [ ${counter} -gt 0 ] ; do
|
||||
DOM_COUNT="$(libvirtd_dom_count qemu)"
|
||||
sleep 1
|
||||
counter=$((${counter} - 1))
|
||||
echo -n "."
|
||||
done
|
||||
fi
|
||||
|
||||
if [ "$(libvirtd_dom_count qemu)" != "0" ] ; then
|
||||
eerror " !!! Some guests are still running, stopping anyway"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
if [ "${LIBVIRTD_KVM_NET_SHUTDOWN}" != "no" ] \
|
||||
&& [ "$(libvirtd_net_count qemu)" != "0" ]; then
|
||||
|
||||
einfo " Shutting down network(s):"
|
||||
for net_name in $(libvirtd_net_list qemu); do
|
||||
einfo " ${net_name}"
|
||||
libvirtd_virsh qemu net-destroy ${net_name} > /dev/null
|
||||
done
|
||||
|
||||
if [ "$(libvirtd_net_count qemu)" != "0" ]; then
|
||||
eerror " !!! Some networks are still active, stopping anyway"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Now actually stop the daemon
|
||||
start-stop-daemon --stop --quiet --exec \
|
||||
/usr/sbin/libvirtd --pidfile=/var/run/libvirtd.pid
|
||||
eend $?
|
||||
}
|
||||
|
||||
halt() {
|
||||
ebegin "Stopping libvirtd without shutting down your VMs"
|
||||
start-stop-daemon --stop --quiet --exec \
|
||||
/usr/sbin/libvirtd --pidfile=/var/run/libvirtd.pid
|
||||
eend $?
|
||||
}
|
||||
|
||||
reload() {
|
||||
halt
|
||||
start
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST calibre-0.9.42.tar.xz 29351712 SHA256 6cd64b54b4c0b696d9a6cfd50527c10cbd7b473a622f2e0f2e2ef81be680fe1f SHA512 22087645893e8626d107093d0308dfeb5a965664f6d3fe326930d663f01ad0873a32af9180de499bca1cf4c07c4634e88c952c27c35368466a1b492f24fcf829 WHIRLPOOL 2cfb0185119a3ed2c52e837028d314094d3b7a458d21a638478e3b066cde5183ed6d5d0a2bae1ddcee5aed53a231c848a57f0fe799fba00efeafda788a400eb2
|
||||
DIST calibre-0.9.43.tar.xz 29382264 SHA256 5b2d56d5ff80cdd19472123afc1054938993251e61b0d85d49744396ad7ba5da SHA512 a90117258d39a21ad83605e488e5142060138cc884d2df6ffc9264b78e4a21c8255b8e8b4441cb061117e78cae7fcb8c50887c0732fcbf0b3eda3f35290d3653 WHIRLPOOL 96f04f4a881c47bacf061c54ddf325ca5b876a862ca2e98a2b83e08f8f816ed3a9d3fc9227c0205d717c7c1bd8e3d9ebd64d3a65b178a7d4281631271f43ca27
|
||||
|
@ -0,0 +1,224 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.9.43.ebuild,v 1.1 2013/08/10 18:10:57 zmedico Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils fdo-mime bash-completion-r1 multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="Ebook management application."
|
||||
HOMEPAGE="http://calibre-ebook.com/"
|
||||
SRC_URI="http://sourceforge.net/projects/calibre/files/${PV}/${P}.tar.xz"
|
||||
|
||||
# Restrict mirror due non-free prs500 fonts (bug #470212).
|
||||
RESTRICT="mirror"
|
||||
|
||||
LICENSE="
|
||||
GPL-3+
|
||||
GPL-3
|
||||
GPL-2+
|
||||
GPL-2
|
||||
GPL-1+
|
||||
LGPL-3+
|
||||
LGPL-2.1+
|
||||
LGPL-2.1
|
||||
BSD
|
||||
MIT
|
||||
Old-MIT
|
||||
Apache-2.0
|
||||
public-domain
|
||||
|| ( Artistic GPL-1+ )
|
||||
CC-BY-3.0
|
||||
OFL-1.1
|
||||
PSF-2
|
||||
unRAR
|
||||
"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
IUSE="+udisks"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=app-text/podofo-0.8.2:=
|
||||
>=app-text/poppler-0.12.3-r3:=[qt4,xpdf-headers(+)]
|
||||
>=dev-lang/python-2.7.1:2.7[sqlite,ssl]
|
||||
>=dev-libs/chmlib-0.40:=
|
||||
>=dev-libs/icu-4.4:=
|
||||
>=dev-python/beautifulsoup-3.0.5:python-2
|
||||
dev-python/netifaces
|
||||
dev-python/python-dateutil
|
||||
>=dev-python/dnspython-1.6.0
|
||||
>=dev-python/cssselect-0.7.1
|
||||
>=dev-python/cssutils-0.9.9
|
||||
>=dev-python/dbus-python-0.82.2
|
||||
virtual/python-imaging
|
||||
>=dev-python/lxml-2.2.1
|
||||
>=dev-python/mechanize-0.1.11
|
||||
>=dev-python/python-dateutil-1.4.1
|
||||
>=dev-python/PyQt4-4.9.1[X,svg,webkit]
|
||||
media-fonts/liberation-fonts
|
||||
>=media-gfx/imagemagick-6.5.9[jpeg,png]
|
||||
>=media-libs/freetype-2:=
|
||||
>=media-libs/libwmf-0.2.8
|
||||
>=media-libs/libmtp-1.1.4:=
|
||||
virtual/libusb:1=
|
||||
dev-qt/qtdbus:4=
|
||||
dev-qt/qtsvg:4=
|
||||
>=x11-misc/xdg-utils-1.0.2-r2"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
udisks? ( || ( sys-fs/udisks:2 sys-fs/udisks:0 ) )"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-python/setuptools-0.6_rc5"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
# Fix outdated version constant.
|
||||
#sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \
|
||||
# -i src/calibre/constants.py || \
|
||||
# die "sed failed to patch constants.py"
|
||||
|
||||
# Avoid sandbox violation in /usr/share/gnome/apps when linux.py
|
||||
# calls xdg-* (bug #258938).
|
||||
sed -e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \
|
||||
-e "s|check_call(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
||||
-e "s|\\(CurrentDir(tdir)\\), \\\\\$|\\1:|" \
|
||||
-e "s|PreserveMIMEDefaults():||" \
|
||||
-e "s|xdg-icon-resource install|\\0 --mode user|" \
|
||||
-e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
||||
-e "s|xdg-mime install|\\0 --mode user|" \
|
||||
-i src/calibre/linux.py || die "sed failed to patch linux.py"
|
||||
|
||||
# Disable unnecessary privilege dropping for bug #287067.
|
||||
sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
|
||||
-i setup/install.py || die "sed failed to patch install.py"
|
||||
|
||||
sed -e "/^ self\\.check_call(qmc + \\[.*\\.pro'\\])$/a\
|
||||
\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \
|
||||
'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \
|
||||
'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \
|
||||
'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \
|
||||
'-i', 'Makefile'])" \
|
||||
-i setup/extensions.py || die "sed failed to patch extensions.py"
|
||||
|
||||
# no_updates: do not annoy user with "new version is availible all the time
|
||||
# disable_plugins: walking sec-hole, wait for upstream to use GHNS interface
|
||||
epatch \
|
||||
"${FILESDIR}/${PN}-no_updates_dialog.patch" \
|
||||
"${FILESDIR}/${PN}-disable_plugins.patch"
|
||||
|
||||
# Remove non-free fonts (bug #470212).
|
||||
rm -r resources/fonts/prs500 || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Bypass kbuildsycoca and update-mime-database in order to
|
||||
# avoid sandbox violations if xdg-mime tries to call them.
|
||||
cat - > "${T}/kbuildsycoca" <<-EOF
|
||||
#!${BASH}
|
||||
exit 0
|
||||
EOF
|
||||
|
||||
cp "${T}"/{kbuildsycoca,update-mime-database}
|
||||
chmod +x "${T}"/{kbuildsycoca,update-mime-database}
|
||||
|
||||
# Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
|
||||
# violation with kbuildsycoca as in bug #287067, comment #13.
|
||||
export -n DISPLAY
|
||||
|
||||
# Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
|
||||
# File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
|
||||
# return _parse_localename(localename)
|
||||
# File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
|
||||
# raise ValueError, 'unknown locale: %s' % localename
|
||||
#ValueError: unknown locale: 46
|
||||
export -n LANGUAGE
|
||||
|
||||
# Bug #295672 - Avoid sandbox violation in ~/.config by forcing
|
||||
# variables to point to our fake temporary $HOME.
|
||||
export HOME="${T}/fake_homedir"
|
||||
export XDG_CONFIG_HOME="${HOME}/.config"
|
||||
export XDG_DATA_HOME="${HOME}/.local/share"
|
||||
export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre"
|
||||
mkdir -p "${XDG_CONFIG_HOME}" "${CALIBRE_CONFIG_DIRECTORY}"
|
||||
|
||||
tc-export CC CXX
|
||||
# Bug #334243 - respect LDFLAGS when building calibre-mount-helper
|
||||
export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS"
|
||||
local libdir=$(get_libdir)
|
||||
[[ -n $libdir ]] || die "get_libdir returned an empty string"
|
||||
|
||||
# Bug #472690 - Avoid sandbox violation for /dev/dri/card0.
|
||||
local x
|
||||
for x in /dev/dri/card[0-9] ; do
|
||||
[[ -e ${x} ]] && addpredict ${x}
|
||||
done
|
||||
|
||||
dodir "/usr/$(get_libdir)/python2.7/site-packages" # for init_calibre.py
|
||||
PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
|
||||
"${EPREFIX}"/usr/bin/python2.7 setup.py install \
|
||||
--root="${D}" \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--libdir="${EPREFIX}/usr/${libdir}" \
|
||||
--staging-root="${ED}usr" \
|
||||
--staging-libdir="${ED}usr/${libdir}" || die
|
||||
|
||||
grep -rlZ "${ED}" "${ED}" | xargs -0 sed -e "s:${D}:/:g" -i ||
|
||||
die "failed to fix harcoded \$D in paths"
|
||||
|
||||
# Remove dummy calibre-mount-helper which is unused since calibre-0.8.25
|
||||
# due to bug #389515 (instead, calibre now calls udisks via dbus).
|
||||
rm "${ED}usr/bin/calibre-mount-helper" || die
|
||||
|
||||
# The menu entries end up here due to '--mode user' being added to
|
||||
# xdg-* options in src_prepare.
|
||||
dodir /usr/share/mime/packages
|
||||
chmod -fR a+rX,u+w,g-w,o-w "${HOME}"/.local
|
||||
mv "${HOME}"/.local/share/mime/packages/* "${ED}"usr/share/mime/packages/ ||
|
||||
die "failed to register mime types"
|
||||
dodir /usr/share/icons
|
||||
mv "${HOME}"/.local/share/icons/* "${ED}"usr/share/icons/ ||
|
||||
die "failed to install icon files"
|
||||
|
||||
sed -e 's:^Name=calibre %F$:Name=calibre:' \
|
||||
-e 's:^Exec=calibre$:Exec=calibre %F:' \
|
||||
-i "${HOME}"/.local/share/applications/calibre-gui.desktop || die
|
||||
domenu "${HOME}"/.local/share/applications/*.desktop ||
|
||||
die "failed to install .desktop menu files"
|
||||
|
||||
dobashcomp "${ED}"usr/etc/bash_completion.d/calibre
|
||||
rm -r "${ED}"usr/etc/bash_completion.d
|
||||
find "${ED}"usr/etc -type d -empty -delete
|
||||
|
||||
cd "${ED}"/usr/share/calibre/fonts/liberation || die
|
||||
local x
|
||||
for x in * ; do
|
||||
[[ -f ${EROOT}usr/share/fonts/liberation-fonts/${x} ]] || continue
|
||||
ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
|
||||
done
|
||||
|
||||
einfo "Converting python shebangs"
|
||||
while read -r -d $'\0' ; do
|
||||
local shebang=$(head -n1 "$REPLY")
|
||||
if [[ ${shebang} == "#!"*python* ]] ; then
|
||||
sed -i -e "1s:.*:#!${EPREFIX}/usr/bin/python2.7:" "$REPLY" || \
|
||||
die "sed failed"
|
||||
fi
|
||||
done < <(find "${ED}" -type f -print0)
|
||||
|
||||
einfo "Compiling python modules"
|
||||
"${EPREFIX}"/usr/bin/python2.7 -m compileall -q -f \
|
||||
-d "${EPREFIX}"/usr/lib/calibre "${ED}"usr/lib/calibre || die
|
||||
|
||||
newinitd "${FILESDIR}"/calibre-server.init calibre-server
|
||||
newconfd "${FILESDIR}"/calibre-server.conf calibre-server
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST pdftk-1.44-src.zip 1137086 SHA256 d70cb3faf2af849c2bee6c35e4e829277a5090cbb595321f04b59c94d784aa24 SHA512 b19392cb3e28ba6bb8e550df6fbffd05743bb95ffa4e1ac4b3935ef5456f7def275f1177b50e6e6aae45a16d6639ea3b731adee684a37f0445f2a64a9d1cebdf WHIRLPOOL bead1b44b2415aca57d0e35daecee1dab2c0ef2b8c30a651647ace09e82b1f91c26b70df4924662b1d134688a13032653a6d55098803b8a5e67c2b0de08e5ffe
|
||||
DIST pdftk-1.45-src.zip 1159411 SHA256 f4e1a50a9ae748dc71883182b797c80c497884fb3071e564361af57354378fcf SHA512 c14b0d411ec26e59bb54b21e10615b4d8e78c0e300f78e46e84ee634b122ded08b3fb45c2b534e60fb45fe3994b782d3b3dbea759da61cef470de89e29689e5c WHIRLPOOL cdfa25cda0167cf4920515689c56813efed821fdcf1599c754fbefacc7968518bc18d7756dc3432cf7f4a23f75c8bbc1dfcf540d93f242082c96cbe1abac3510
|
||||
DIST pdftk-2.02-src.zip 2239008 SHA256 118f6a25fd3acaafb58824dce6f97cdc07e56050e666b90e4c4ef426ea37b8c1 SHA512 5c73ab3b7b12cfc24a17c2737d224fdde2ae684e1712031a968b83f5b8d91c521d477e932fc47f8b4a8c0ff0ba183678aaa13a1e7b29107c5c47ded8d960ef54 WHIRLPOOL 910ee5f755e7ea46043cece0bd9a6645dc8a503280fd7d86eb2f77d303af0031b5e428cc7222cee23995e6fe5aefd142a610c77ec9969142e841e0f18153e082
|
||||
|
@ -0,0 +1,43 @@
|
||||
Based on Debian patch, see http://patch-tracker.debian.org/patch/series/view/pdftk/2.01-1/customise_build_parameters
|
||||
|
||||
diff -ruN pdftk-2.01-dist/pdftk/Makefile.Base pdftk-2.01-dist/pdftk/Makefile.Base
|
||||
--- pdftk-2.01-dist/pdftk/Makefile.Base 2012-12-06 19:57:36.000000000 +0100
|
||||
+++ pdftk-2.01-dist/pdftk/Makefile.Base 2013-03-24 18:32:52.669492230 +0100
|
||||
@@ -43,7 +43,7 @@
|
||||
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -I$(JAVALIBPATH) pdftk.cc -c
|
||||
|
||||
pdftk : pdftk.o attachments.o report.o passwords.o $(JAVALIB) $(LIBGCJ_SUPPLEMENT_FULL_O)
|
||||
- $(CXX) $(CXXFLAGS) attachments.o report.o passwords.o pdftk.o $(JAVALIB) $(LIBGCJ_SUPPLEMENT_FULL_O) $(LDLIBS) -o pdftk
|
||||
+ $(CXX) $(LDFLAGS) $(CXXFLAGS) attachments.o report.o passwords.o pdftk.o $(JAVALIB) $(LIBGCJ_SUPPLEMENT_FULL_O) $(LDLIBS) -o pdftk
|
||||
|
||||
install:
|
||||
/usr/bin/install pdftk /usr/local/bin
|
||||
diff -ruN pdftk-2.01-dist/pdftk/Makefile.Debian pdftk-2.01-dist/pdftk/Makefile.Debian
|
||||
--- pdftk-2.01-dist/pdftk/Makefile.Debian 2012-12-06 19:58:44.000000000 +0100
|
||||
+++ pdftk-2.01-dist/pdftk/Makefile.Debian 2013-03-24 18:34:39.034540850 +0100
|
||||
@@ -21,7 +21,7 @@
|
||||
# tools
|
||||
# need direct path to libgcj for gcjh (starting in gcj 4.1.2 per Aurélien GÉRÔME)
|
||||
TOOLPATH=
|
||||
-export VERSUFF=-4.6
|
||||
+export VERSUFF=
|
||||
export CPP= $(TOOLPATH)cpp$(VERSUFF)
|
||||
export CXX= $(TOOLPATH)g++$(VERSUFF)
|
||||
export GCJ= $(TOOLPATH)gcj$(VERSUFF)
|
||||
@@ -64,13 +64,12 @@
|
||||
# only effects libraries following option on the command line
|
||||
#
|
||||
#
|
||||
-export CPPFLAGS= -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -DUNBLOCK_SIGNALS -fdollars-in-identifiers
|
||||
-export CXXFLAGS= -Wall -Wextra -Weffc++ -O2
|
||||
-export GCJFLAGS= -fsource=1.3 -O2
|
||||
-export GCJHFLAGS= -force
|
||||
+export CPPFLAGS+= -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -DUNBLOCK_SIGNALS -fdollars-in-identifiers
|
||||
+export GCJFLAGS+= -fsource=1.3
|
||||
+export GCJHFLAGS+= -force
|
||||
export LDLIBS= -lgcj
|
||||
|
||||
include Makefile.Base
|
||||
|
||||
# required packages (xubuntu 12.04)
|
||||
# gcj-jdk, g++
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/pdftk-2.02.ebuild,v 1.1 2013/08/10 17:24:20 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="A tool for manipulating PDF documents"
|
||||
HOMEPAGE="http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/"
|
||||
SRC_URI="http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/${P}-src.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux"
|
||||
|
||||
DEPEND="sys-devel/gcc[gcj]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${P}-dist/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-flags.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Settings by java-config break compilation by gcj.
|
||||
unset CLASSPATH
|
||||
unset JAVA_HOME
|
||||
|
||||
# Parallel make fails; confirmed, still not fixed in version 2.02.
|
||||
emake -j1 -f "${S}"/Makefile.Debian || die "Compilation failed."
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin pdftk
|
||||
doman ../pdftk.1
|
||||
dohtml ../pdftk.1.html
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST poppler-0.22.2.tar.gz 2215737 SHA256 108736ef84069317f6c5beacb5268f3b799ecf401e353e239611772eae8a662d SHA512 ce962f12a87f873a46cf8d02c0620694893a6e1857ac680174c4d9388d2255b5011e62e28b34a6e0abec9c8779530bf91ac123206a619a6eba59be92adb02d42 WHIRLPOOL 80b744f1cf4687a936a1eb9ce40567602935535e8fc1faca010171e433ea4948284b8eba3fca866b6b27034319efa46d54d1e2f71ba14c8e5554ee3b137d935d
|
||||
DIST poppler-0.22.5.tar.gz 2239107 SHA256 f742a390f1bf4a682452f59678e61add3a8f2b981024a2f6cabba7916976e818 SHA512 3da8433449ed2c74acaac385a877e214f08265c12172ec02b5f83904ebb11b7fdad4819a525f3ce140a0ed38b783112dedfc31f5e00d093d91471d1b9a0626ed WHIRLPOOL 421e1b4244d827e8122c3a7b91246708a0b0099045859a5aae2fe6ace0fee1b25ebe391f52697a38972f69167593109771c4ad1e23050465cfb9db0d1a6d62dc
|
||||
DIST poppler-0.24.0.tar.xz 1503420 SHA256 bdc517ea648a3f8ecbe0745a79fb6cbf9a7e2ef647d6156154449cf50c6d0c21 SHA512 c7c193733a172a7cbd33fef8cd58addb182a6b90f2c291b76d5145a886feb71bb7756a7fa01d7a9871722117ecf24ffe93825618b240d3cb9a7d1ecd046d1abb WHIRLPOOL 20f65fd8c2a46b322af5fc0b2c0ca76e4dfabd79b20fd75e874c57ab37071bc9b8d397f1f260b19f5645dcc19941de74b6aecd3c2120122651abcebfe4934bc9
|
||||
|
@ -0,0 +1,95 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/poppler-0.24.0.ebuild,v 1.1 2013/08/10 03:01:33 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils toolchain-funcs
|
||||
|
||||
DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
|
||||
HOMEPAGE="http://poppler.freedesktop.org/"
|
||||
SRC_URI="http://poppler.freedesktop.org/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0/43"
|
||||
IUSE="cairo cjk curl cxx debug doc +introspection +jpeg jpeg2k +lcms png qt4 tiff +utils"
|
||||
|
||||
# No test data provided
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=media-libs/fontconfig-2.6.0
|
||||
>=media-libs/freetype-2.3.9
|
||||
sys-libs/zlib
|
||||
cairo? (
|
||||
dev-libs/glib:2
|
||||
>=x11-libs/cairo-1.10.0
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.32.1 )
|
||||
)
|
||||
curl? ( net-misc/curl )
|
||||
jpeg? ( virtual/jpeg )
|
||||
jpeg2k? ( media-libs/openjpeg:0 )
|
||||
lcms? ( media-libs/lcms:2 )
|
||||
png? ( media-libs/libpng:0= )
|
||||
qt4? (
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
)
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
cjk? ( >=app-text/poppler-data-0.4.4 )
|
||||
"
|
||||
|
||||
DOCS=(AUTHORS NEWS README README-XPDF TODO)
|
||||
|
||||
src_configure() {
|
||||
# this is needed for multilib, see bug 459394
|
||||
local ft_libdir ft_includedir
|
||||
ft_libdir="$($(tc-getPKG_CONFIG) freetype2 --variable=libdir)"
|
||||
ft_includedir="$($(tc-getPKG_CONFIG) freetype2 --variable=includedir)"
|
||||
export FREETYPE_DIR="${ft_libdir}:${ft_includedir%/include}"
|
||||
einfo "Detected FreeType at ${FREETYPE_DIR}"
|
||||
|
||||
mycmakeargs=(
|
||||
-DBUILD_GTK_TESTS=OFF
|
||||
-DBUILD_QT4_TESTS=OFF
|
||||
-DBUILD_QT5_TESTS=OFF
|
||||
-DBUILD_CPP_TESTS=OFF
|
||||
-DENABLE_SPLASH=ON
|
||||
-DENABLE_ZLIB=ON
|
||||
-DENABLE_XPDF_HEADERS=ON
|
||||
$(cmake-utils_use_enable curl LIBCURL)
|
||||
$(cmake-utils_use_enable cxx CPP)
|
||||
$(cmake-utils_use_enable jpeg2k LIBOPENJPEG)
|
||||
$(cmake-utils_use_enable utils)
|
||||
$(cmake-utils_use_with cairo)
|
||||
$(cmake-utils_use_with introspection GObjectIntrospection)
|
||||
$(cmake-utils_use_with jpeg)
|
||||
$(cmake-utils_use_with png)
|
||||
$(cmake-utils_use_with qt4)
|
||||
-DWITH_QT5=OFF # this probably does not work yet
|
||||
$(cmake-utils_use_with tiff)
|
||||
)
|
||||
if use lcms; then
|
||||
mycmakeargs+=(-DENABLE_CMS=lcms2)
|
||||
else
|
||||
mycmakeargs+=(-DENABLE_CMS=)
|
||||
fi
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
if use cairo && use doc; then
|
||||
# For now install gtk-doc there
|
||||
insinto /usr/share/gtk-doc/html/poppler
|
||||
doins -r "${S}"/glib/reference/html/*
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST xapian-omega-1.2.13.tar.gz 627177 SHA256 ae35e37f3fddf1330004f41531b9c8be447c95f9bb8b2f135541a78c2c816d34 SHA512 2104c3b6f2d6fb12e70c9f62a4aaec808efd79a9067a1b0dda97f4d0b207f98028284436f0120d535b244f5f942428c8291be08cedb27b1a3a4c436fa8a1aa1a WHIRLPOOL 7825186ac6c87cbd829f5fd0b0bb4da7ce9f11f652451672db6c697b6f28967abb0b15ec9703ddd549b2ac75c58ea6e4895ddbcafa08c79ae4d999587231da11
|
||||
DIST xapian-omega-1.2.14.tar.gz 627479 SHA256 dd8662cd5c941ffe936d18ae6971dd6bb1abb539b4f8719b93e85c9fc034e412 SHA512 fcebcf6954b55b9ef2ba6e11d37a8e0fd42da84ccdb31c1ca2e887119a4071bfde4a44e170d9123132b00c4a3e813e60dbd55bf8c4aca5a5409d6bd50c34d13f WHIRLPOOL 4c0b42fd0e8a3d36bd82ab55150ee5a2eaeb9d05ca78b20885bbc7d67c64327ca0a148b8379858eafa3463ff194c74aab39e35497380d6fc1cff658bf78aee43
|
||||
DIST xapian-omega-1.3.1.tar.gz 649601 SHA256 66295583349d4bf21758df06b17806c74bf8d64ad0723260080520caadbf1ea1 SHA512 d4f9af3f0407d0e7ad817ab08191308616df4dba04e7895d8dc032423bc32371c2583e97e43dee0180de890717ed1b41db467415a7d999982af73589f1de07c2 WHIRLPOOL b712f46f15f40db31181ac8668245a23ce82e9940aa4cac14d82f6ac8722b0b806cc6a5170e6e7cced7ccd22161453005140bcbfee31e5fb4b3bb9ea2cf8e0e3
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/xapian-omega/xapian-omega-1.3.1.ebuild,v 1.1 2013/08/10 15:20:18 blueness Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
DESCRIPTION="An application built on Xapian, consisting of indexers and a CGI search frontend"
|
||||
SRC_URI="http://www.oligarchy.co.uk/xapian/${PV}/xapian-omega-${PV}.tar.gz"
|
||||
HOMEPAGE="http://www.xapian.org/"
|
||||
S="${WORKDIR}/xapian-omega-${PV}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-libs/xapian-${PV}
|
||||
dev-lang/perl
|
||||
dev-libs/libpcre
|
||||
sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
#move docs to /usr/share/doc/${PF}.
|
||||
mv "${D}/usr/share/doc/xapian-omega" "${D}/usr/share/doc/${PF}"
|
||||
|
||||
dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
|
||||
}
|
@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-3.1.0-r1.ebuild,v 1.1 2013/08/10 11:15:09 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
MY_PN=apache-${PN%%-bin}
|
||||
MY_PV=${PV/_alpha/-alpha-}
|
||||
MY_P="${MY_PN}-${MY_PV}"
|
||||
MY_MV="${PV%%.*}"
|
||||
|
||||
DESCRIPTION="Project Management and Comprehension Tool for Java"
|
||||
SRC_URI="mirror://apache/maven/maven-${MY_MV}/${PV}/binaries/${MY_P}-bin.tar.gz"
|
||||
HOMEPAGE="http://maven.apache.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
# TODO: Needs further resolution:
|
||||
#
|
||||
# - https://bugs.gentoo.org/show_bug.cgi?id=472850
|
||||
# - https://bugs.gentoo.org/show_bug.cgi?id=477436
|
||||
#
|
||||
DEPEND="|| ( app-admin/eselect-java app-admin/eselect-maven )
|
||||
|| ( dev-java/commons-logging:0 dev-java/log4j:0 dev-java/avalon-logkit:2.0 )
|
||||
dev-java/avalon-framework:4.1
|
||||
dev-java/commons-io:1
|
||||
dev-java/juel:0
|
||||
dev-java/osgi-core-api:0
|
||||
java-virtuals/servlet-api:2.4"
|
||||
|
||||
RDEPEND=">=virtual/jdk-1.5
|
||||
${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
MAVEN=${PN}-${SLOT}
|
||||
MAVEN_SHARE="/usr/share/${MAVEN}"
|
||||
|
||||
java_prepare() {
|
||||
rm -v "${S}"/bin/*.bat || die
|
||||
|
||||
chmod 644 "${S}"/boot/*.jar "${S}"/lib/*.jar "${S}"/conf/settings.xml || die
|
||||
|
||||
# Register jars.
|
||||
java-pkg_getjars avalon-framework-4.1,commons-io-1,commons-logging,juel,osgi-core-api,servlet-api-2.4 > /dev/null
|
||||
has_version dev-java/avalon-logkit:2.0 && java-pkg_getjars avalon-logkit-2.0 > /dev/null
|
||||
has_version dev-java/log4j:0 && java-pkg_getjars log4j > /dev/null
|
||||
}
|
||||
|
||||
# TODO: We should use jars from packages, instead of what is bundled.
|
||||
src_install() {
|
||||
dodir "${MAVEN_SHARE}"
|
||||
|
||||
cp -Rp bin boot conf lib "${ED}/${MAVEN_SHARE}" || die "failed to copy"
|
||||
|
||||
java-pkg_regjar "${ED}/${MAVEN_SHARE}"/boot/*.jar
|
||||
java-pkg_regjar "${ED}/${MAVEN_SHARE}"/lib/*.jar
|
||||
|
||||
dodoc NOTICE.txt README.txt
|
||||
|
||||
dodir /usr/bin
|
||||
dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn-${SLOT}
|
||||
|
||||
# See bug #342901.
|
||||
echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die
|
||||
doenvd "${T}/25${MAVEN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect maven update mvn-${SLOT}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect maven update
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/orc/orc-0.4.17-r1.ebuild,v 1.1 2013/08/10 16:04:59 aballier Exp $
|
||||
|
||||
EAPI="5"
|
||||
inherit autotools eutils flag-o-matic autotools-multilib
|
||||
|
||||
DESCRIPTION="The Oil Runtime Compiler, a just-in-time compiler for array operations"
|
||||
HOMEPAGE="http://code.entropywave.com/projects/orc/"
|
||||
SRC_URI="http://code.entropywave.com/download/orc/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs examples"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/gtk-doc-am"
|
||||
|
||||
src_prepare() {
|
||||
if ! use examples; then
|
||||
sed -i -e '/SUBDIRS/s:examples::' Makefile.am || die
|
||||
epatch "${FILESDIR}/${P}-AM_CONFIG_HEADER.patch" # in 0.4.18
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# any optimisation on PPC/Darwin yields in a complaint from the assembler
|
||||
# Parameter error: r0 not allowed for parameter %lu (code as 0 not r0)
|
||||
# the same for Intel/Darwin, although the error message there is different
|
||||
# but along the same lines
|
||||
[[ ${CHOST} == *-darwin* ]] && filter-flags -O*
|
||||
autotools-multilib_src_configure
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
--- a/js/src/js-config.in 2013-03-25 16:34:20.000000000 -0400
|
||||
+++ b/js/src/js-config.in 2013-08-09 22:15:29.000901763 -0400
|
||||
@@ -2,7 +2,7 @@
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
-#filter substitution
|
||||
+%filter substitution
|
||||
|
||||
prefix='@prefix@'
|
||||
mozilla_version='@MOZILLA_VERSION@'
|
||||
--- a/js/src/Makefile.in 2013-03-25 16:34:20.000000000 -0400
|
||||
+++ b/js/src/Makefile.in 2013-08-09 22:17:20.211903793 -0400
|
||||
@@ -778,7 +778,7 @@
|
||||
|
||||
$(JS_CONFIG_NAME): js-config.in Makefile $(DEPTH)/config/autoconf.mk $(topsrcdir)/config/config.mk $(topsrcdir)/config/rules.mk
|
||||
$(RM) $@.tmp
|
||||
- $(PYTHON) $(topsrcdir)/config/Preprocessor.py $(JS_CONFIG_SUBSTITUTIONS) $< > $@.tmp \
|
||||
+ $(PYTHON) $(topsrcdir)/config/Preprocessor.py --marker="%" $(JS_CONFIG_SUBSTITUTIONS) $< > $@.tmp \
|
||||
&& mv $@.tmp $@ && chmod +x $@
|
||||
|
||||
SCRIPTS = $(JS_CONFIG_NAME)
|
@ -0,0 +1,244 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-2.36.3-r2.ebuild,v 1.2 2013/08/10 17:44:41 aballier Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_{5,6,7} )
|
||||
# Avoid runtime dependency on python when USE=test
|
||||
|
||||
inherit autotools bash-completion-r1 gnome.org libtool eutils flag-o-matic gnome2-utils multilib pax-utils python-r1 toolchain-funcs versionator virtualx linux-info multilib-minimal
|
||||
|
||||
DESCRIPTION="The GLib library of C routines"
|
||||
HOMEPAGE="http://www.gtk.org/"
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
SLOT="2"
|
||||
IUSE="debug fam kernel_linux selinux static-libs systemtap test utils xattr"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
virtual/libiconv[${MULTILIB_USEDEP}]
|
||||
virtual/libffi[${MULTILIB_USEDEP}]
|
||||
sys-libs/zlib[${MULTILIB_USEDEP}]
|
||||
|| (
|
||||
>=dev-libs/elfutils-0.142
|
||||
>=dev-libs/libelf-0.8.12 )
|
||||
xattr? ( sys-apps/attr[${MULTILIB_USEDEP}] )
|
||||
fam? ( virtual/fam[${MULTILIB_USEDEP}] )
|
||||
utils? (
|
||||
${PYTHON_DEPS}
|
||||
>=dev-util/gdbus-codegen-${PV}[${PYTHON_USEDEP}] )
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20130224-r9
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
>=dev-libs/libxslt-1.0
|
||||
>=sys-devel/gettext-0.11
|
||||
>=dev-util/gtk-doc-am-1.15
|
||||
systemtap? ( >=dev-util/systemtap-1.3 )
|
||||
test? (
|
||||
sys-devel/gdb
|
||||
${PYTHON_DEPS}
|
||||
>=dev-util/gdbus-codegen-${PV}[${PYTHON_USEDEP}]
|
||||
>=sys-apps/dbus-1.2.14 )
|
||||
!<dev-libs/gobject-introspection-1.$(get_version_component_range 2)
|
||||
!<dev-util/gtk-doc-1.15-r2
|
||||
"
|
||||
# gobject-introspection blocker to ensure people don't mix
|
||||
# different g-i and glib major versions
|
||||
|
||||
PDEPEND="x11-misc/shared-mime-info
|
||||
!<gnome-base/gvfs-1.6.4-r990"
|
||||
# shared-mime-info needed for gio/xdgmime, bug #409481
|
||||
# Earlier versions of gvfs do not work with glib
|
||||
|
||||
DOCS="AUTHORS ChangeLog* NEWS* README"
|
||||
|
||||
pkg_setup() {
|
||||
if use kernel_linux ; then
|
||||
CONFIG_CHECK="~INOTIFY_USER"
|
||||
if use test; then
|
||||
CONFIG_CHECK="~IPV6"
|
||||
WARNING_IPV6="Your kernel needs IPV6 support for running some tests, skipping them."
|
||||
export IPV6_DISABLED="yes"
|
||||
fi
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Fix gmodule issues on fbsd; bug #184301, upstream bug #107626
|
||||
epatch "${FILESDIR}"/${PN}-2.12.12-fbsd.patch
|
||||
|
||||
if use test; then
|
||||
# Do not try to remove files on live filesystem, upstream bug #619274
|
||||
sed 's:^\(.*"/desktop-app-info/delete".*\):/*\1*/:' \
|
||||
-i "${S}"/gio/tests/desktop-app-info.c || die "sed failed"
|
||||
|
||||
# Disable tests requiring dev-util/desktop-file-utils when not installed, bug #286629, upstream bug #629163
|
||||
if ! has_version dev-util/desktop-file-utils ; then
|
||||
ewarn "Some tests will be skipped due dev-util/desktop-file-utils not being present on your system,"
|
||||
ewarn "think on installing it to get these tests run."
|
||||
sed -i -e "/appinfo\/associations/d" gio/tests/appinfo.c || die
|
||||
sed -i -e "/desktop-app-info\/default/d" gio/tests/desktop-app-info.c || die
|
||||
sed -i -e "/desktop-app-info\/fallback/d" gio/tests/desktop-app-info.c || die
|
||||
sed -i -e "/desktop-app-info\/lastused/d" gio/tests/desktop-app-info.c || die
|
||||
fi
|
||||
|
||||
# gdesktopappinfo requires existing terminal (gnome-terminal or any
|
||||
# other), falling back to xterm if one doesn't exist
|
||||
if ! has_version x11-terms/xterm && ! has_version x11-terms/gnome-terminal ; then
|
||||
ewarn "Some tests will be skipped due to missing terminal program"
|
||||
sed -i -e "/appinfo\/launch/d" gio/tests/appinfo.c || die
|
||||
fi
|
||||
|
||||
# Disable tests requiring dbus-python and pygobject; bugs #349236, #377549, #384853
|
||||
if ! has_version dev-python/dbus-python || ! has_version 'dev-python/pygobject:3' ; then
|
||||
ewarn "Some tests will be skipped due to dev-python/dbus-python or dev-python/pygobject:3"
|
||||
ewarn "not being present on your system, think on installing them to get these tests run."
|
||||
sed -i -e "/connection\/filter/d" gio/tests/gdbus-connection.c || die
|
||||
sed -i -e "/connection\/large_message/d" gio/tests/gdbus-connection-slow.c || die
|
||||
sed -i -e "/gdbus\/proxy/d" gio/tests/gdbus-proxy.c || die
|
||||
sed -i -e "/gdbus\/proxy-well-known-name/d" gio/tests/gdbus-proxy-well-known-name.c || die
|
||||
sed -i -e "/gdbus\/introspection-parser/d" gio/tests/gdbus-introspection.c || die
|
||||
sed -i -e "/g_test_add_func/d" gio/tests/gdbus-threading.c || die
|
||||
sed -i -e "/gdbus\/method-calls-in-thread/d" gio/tests/gdbus-threading.c || die
|
||||
# needed to prevent gdbus-threading from asserting
|
||||
ln -sfn $(type -P true) gio/tests/gdbus-testserver.py
|
||||
fi
|
||||
|
||||
# Some tests need ipv6, upstream bug #667468
|
||||
if [[ -n "${IPV6_DISABLED}" ]]; then
|
||||
sed -i -e "/socket\/ipv6_sync/d" gio/tests/socket.c || die
|
||||
sed -i -e "/socket\/ipv6_async/d" gio/tests/socket.c || die
|
||||
sed -i -e "/socket\/ipv6_v4mapped/d" gio/tests/socket.c || die
|
||||
fi
|
||||
|
||||
# Test relies on /usr/bin/true, but we have /bin/true, upstream bug #698655
|
||||
sed -i -e "s:/usr/bin/true:/bin/true:" gio/tests/desktop-app-info.c || die
|
||||
|
||||
# thread test fails, upstream bug #679306
|
||||
epatch "${FILESDIR}/${PN}-2.34.0-testsuite-skip-thread4.patch"
|
||||
fi
|
||||
|
||||
# gdbus-codegen is a separate package
|
||||
epatch "${FILESDIR}/${PN}-2.35.x-external-gdbus-codegen.patch"
|
||||
|
||||
# leave python shebang alone
|
||||
sed -e '/${PYTHON}/d' \
|
||||
-i glib/Makefile.{am,in} || die
|
||||
|
||||
# Gentoo handles completions in a different directory
|
||||
sed -i "s|^completiondir =.*|completiondir = $(get_bashcompdir)|" \
|
||||
gio/Makefile.am || die
|
||||
|
||||
# Revert "g_file_set_contents(): don't fsync on ext3/4" (from 2.36 branch)
|
||||
epatch "${FILESDIR}/${P}-revert-ext34.patch"
|
||||
|
||||
epatch_user
|
||||
|
||||
# Needed for the punt-python-check patch, disabling timeout test
|
||||
# Also needed to prevent croscompile failures, see bug #267603
|
||||
# Also needed for the no-gdbus-codegen patch
|
||||
eautoreconf
|
||||
|
||||
# FIXME: Really needed when running eautoreconf before? bug#????
|
||||
#[[ ${CHOST} == *-freebsd* ]] && elibtoolize
|
||||
|
||||
epunt_cxx
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# Avoid circular depend with dev-util/pkgconfig and
|
||||
# native builds (cross-compiles won't need pkg-config
|
||||
# in the target ROOT to work here)
|
||||
if ! tc-is-cross-compiler && ! $(tc-getPKG_CONFIG) --version >& /dev/null; then
|
||||
if has_version sys-apps/dbus; then
|
||||
export DBUS1_CFLAGS="-I/usr/include/dbus-1.0 -I/usr/$(get_libdir)/dbus-1.0/include"
|
||||
export DBUS1_LIBS="-ldbus-1"
|
||||
fi
|
||||
export LIBFFI_CFLAGS="-I$(echo /usr/$(get_libdir)/libffi-*/include)"
|
||||
export LIBFFI_LIBS="-lffi"
|
||||
fi
|
||||
|
||||
local myconf
|
||||
|
||||
# Building with --disable-debug highly unrecommended. It will build glib in
|
||||
# an unusable form as it disables some commonly used API. Please do not
|
||||
# convert this to the use_enable form, as it results in a broken build.
|
||||
use debug && myconf="--enable-debug"
|
||||
|
||||
# Only used by the gresource bin
|
||||
multilib_is_native_abi || myconf="${myconf} --disable-libelf"
|
||||
|
||||
# Always use internal libpcre, bug #254659
|
||||
ECONF_SOURCE="${S}" econf ${myconf} \
|
||||
$(use_enable xattr) \
|
||||
$(use_enable fam) \
|
||||
$(use_enable selinux) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable systemtap dtrace) \
|
||||
$(use_enable systemtap systemtap) \
|
||||
$(use_enable test modular-tests) \
|
||||
--enable-man \
|
||||
--with-pcre=internal \
|
||||
--with-threads=posix \
|
||||
--with-xml-catalog="${EPREFIX}/etc/xml/catalog"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
if use utils ; then
|
||||
python_replicate_script "${ED}"/usr/bin/gtester-report
|
||||
else
|
||||
rm "${ED}usr/bin/gtester-report"
|
||||
rm "${ED}usr/share/man/man1/gtester-report.1"
|
||||
fi
|
||||
|
||||
# Do not install charset.alias even if generated, leave it to libiconv
|
||||
rm -f "${ED}/usr/lib/charset.alias"
|
||||
|
||||
# Don't install gdb python macros, bug 291328
|
||||
rm -rf "${ED}/usr/share/gdb/" "${ED}/usr/share/glib-2.0/gdb/"
|
||||
|
||||
# Completely useless with or without USE static-libs, people need to use
|
||||
# pkg-config
|
||||
prune_libtool_files --modules
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
gnome2_environment_reset
|
||||
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
export XDG_CONFIG_DIRS=/etc/xdg
|
||||
export XDG_DATA_DIRS=/usr/local/share:/usr/share
|
||||
export G_DBUS_COOKIE_SHA1_KEYRING_DIR="${T}/temp"
|
||||
unset GSETTINGS_BACKEND # bug 352451
|
||||
export LC_TIME=C # bug #411967
|
||||
python_export_best
|
||||
|
||||
# Related test is a bit nitpicking
|
||||
mkdir "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
|
||||
chmod 0700 "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
|
||||
|
||||
# Hardened: gdb needs this, bug #338891
|
||||
if host-is-pax ; then
|
||||
pax-mark -mr "${BUILD_DIR}"/tests/.libs/assert-msg-test \
|
||||
|| die "Hardened adjustment failed"
|
||||
fi
|
||||
|
||||
# Need X for dbus-launch session X11 initialization
|
||||
Xemake check
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if has_version '<x11-libs/gtk+-3.0.12:3'; then
|
||||
# To have a clear upgrade path for gtk+-3.0.x users, have to resort to
|
||||
# a warning instead of a blocker
|
||||
ewarn
|
||||
ewarn "Using <gtk+-3.0.12:3 with ${P} results in frequent crashes."
|
||||
ewarn "You should upgrade to a newer version of gtk+:3 immediately."
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST xapian-bindings-1.2.13.tar.gz 1481645 SHA256 bfef8a18303a67f6fb29b09393c2f01a23f5c10a248567f92ddc5edfda5db17d SHA512 1a685d903812508a20450a491ee9aef30ba5cd14708dfdc57f197da0e2cccf01eb46a076ac3fc32834e1802f10b82f08f8a910d2cf180a11604aa68e03826033 WHIRLPOOL d3998ec885a86cf4440c2290921de6d7e738972ecf8730c70d1dd1e1dec18f24ca8130790bb488b8846209eb9579fcc0860af650db9614162cc2edea5587e874
|
||||
DIST xapian-bindings-1.2.14.tar.gz 1483276 SHA256 a55815ddff0bd5f79814b5964cc94299ecf8f7ebafea11523aa0787f6082e3d7 SHA512 943a99ed19cb0f14435321de25b28ace5c7ad60be819f54fdf86bf161f92b2d2153d92506873b2af5b514403a4b98815db7f6c14a14b37fbd60c765460eb48f0 WHIRLPOOL 845b4f60f0787eaaf039c4f583ab233fd5ac0e1ba8b2cbcdc5bc20c11038f871717da9e8abf381c5bf9b472cbbb7451d08fb74bebf6e8d4999003c020202e6e9
|
||||
DIST xapian-bindings-1.3.1.tar.gz 1562988 SHA256 5c18ce77b08d2fcc738dadbf85448239d714aad27a0833436e32a82c2ff622c4 SHA512 e295ab93fe61e038bb5f95786f80ff36bc9cbc486c4d03e457fabc6efa97e7119411afa3aafd29786ab9237505b03c27fdb5d524fdb43db2c2f3550cd41c7396 WHIRLPOOL f76dcced799116569f5d4f6ba9245045a5fb3c8f7d64672997408fe0c11b72ef7d7ed24a1901d96777ac763d910be6bd378859dd952290bbbcae9dbe6452a2dd
|
||||
|
@ -0,0 +1,180 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/xapian-bindings/xapian-bindings-1.3.1.ebuild,v 1.1 2013/08/10 15:15:55 blueness Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_DEPEND="python? 2"
|
||||
PYTHON_USE_WITH="threads"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
|
||||
|
||||
USE_PHP="php5-3 php5-4"
|
||||
|
||||
PHP_EXT_NAME="xapian"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_OPTIONAL_USE="php"
|
||||
|
||||
inherit java-pkg-opt-2 mono php-ext-source-r2 python
|
||||
|
||||
DESCRIPTION="SWIG and JNI bindings for Xapian"
|
||||
HOMEPAGE="http://www.xapian.org/"
|
||||
SRC_URI="http://oligarchy.co.uk/xapian/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="java lua mono perl php python ruby tcl"
|
||||
REQUIRED_USE="|| ( java lua mono perl php python ruby tcl )"
|
||||
|
||||
COMMONDEPEND="=dev-libs/xapian-${PV}*
|
||||
lua? ( >=dev-lang/lua-5.1 )
|
||||
mono? ( >=dev-lang/mono-1.0.8 )
|
||||
perl? ( dev-lang/perl )
|
||||
ruby? ( dev-lang/ruby )
|
||||
tcl? ( >=dev-lang/tcl-8.1 )"
|
||||
DEPEND="${COMMONDEPEND}
|
||||
java? ( >=virtual/jdk-1.3 )"
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
java? ( >=virtual/jre-1.3 )"
|
||||
|
||||
pkg_setup() {
|
||||
java-pkg-opt-2_pkg_setup
|
||||
|
||||
if use python; then
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
java-pkg-opt-2_src_prepare
|
||||
if use java; then
|
||||
sed \
|
||||
-e 's/$(JAVAC)/$(JAVAC) $(JAVACFLAGS)/' \
|
||||
-i java/Makefile.in || die "sed failed"
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
sed \
|
||||
-e 's:\(^pkgpylib_DATA = xapian/__init__.py\).*:\1:' \
|
||||
-e 's|\(^xapian/__init__.py: modern/xapian.py\)|\1 xapian/_xapian$(PYTHON_SO)|' \
|
||||
-i python/Makefile.in || die "sed failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use java; then
|
||||
CXXFLAGS="${CXXFLAGS} $(java-pkg_get-jni-cflags)"
|
||||
fi
|
||||
|
||||
if use perl; then
|
||||
export PERL_ARCH="$(perl -MConfig -e 'print $Config{installvendorarch}')"
|
||||
export PERL_LIB="$(perl -MConfig -e 'print $Config{installvendorlib}')"
|
||||
fi
|
||||
|
||||
if use lua; then
|
||||
export LUA_LIB="$(pkg-config --variable=INSTALL_CMOD lua)"
|
||||
fi
|
||||
|
||||
econf \
|
||||
$(use_with java) \
|
||||
$(use_with lua) \
|
||||
$(use_with mono csharp) \
|
||||
$(use_with perl) \
|
||||
$(use_with php) \
|
||||
$(use_with python) \
|
||||
$(use_with ruby) \
|
||||
$(use_with tcl)
|
||||
|
||||
# Python bindings are built/tested/installed manually.
|
||||
sed -e "/SUBDIRS =/s/ python//" -i Makefile || die "sed Makefile"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use python; then
|
||||
python_copy_sources python
|
||||
building() {
|
||||
emake \
|
||||
PYTHON="$(PYTHON)" \
|
||||
PYTHON_INC="$(python_get_includedir)" \
|
||||
PYTHON_LIB="$(python_get_libdir)" \
|
||||
PYTHON_SO="$("$(PYTHON)" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_config_vars("SO")[0])')" \
|
||||
pkgpylibdir="$(python_get_sitedir)/xapian"
|
||||
}
|
||||
python_execute_function -s --source-dir python building
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
default
|
||||
|
||||
if use python; then
|
||||
testing() {
|
||||
emake \
|
||||
PYTHON="$(PYTHON)" \
|
||||
PYTHON_INC="$(python_get_includedir)" \
|
||||
PYTHON_LIB="$(python_get_libdir)" \
|
||||
PYTHON_SO="$("$(PYTHON)" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_config_vars("SO")[0])')" \
|
||||
pkgpylibdir="$(python_get_sitedir)/xapian" \
|
||||
VERBOSE="1" \
|
||||
check
|
||||
}
|
||||
python_execute_function -s --source-dir python testing
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
if use java; then
|
||||
java-pkg_dojar java/built/xapian_jni.jar
|
||||
# TODO: make the build system not install this...
|
||||
java-pkg_doso "${D}/${S}/java/built/libxapian_jni.so"
|
||||
rm "${D}/${S}/java/built/libxapian_jni.so"
|
||||
rmdir -p "${D}/${S}/java/built"
|
||||
rmdir -p "${D}/${S}/java/native"
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
installation() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
PYTHON="$(PYTHON)" \
|
||||
PYTHON_INC="$(python_get_includedir)" \
|
||||
PYTHON_LIB="$(python_get_libdir)" \
|
||||
PYTHON_SO="$("$(PYTHON)" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_config_vars("SO")[0])')" \
|
||||
pkgpylibdir="$(python_get_sitedir)/xapian" \
|
||||
install
|
||||
}
|
||||
python_execute_function -s --source-dir python installation
|
||||
fi
|
||||
|
||||
if use php; then
|
||||
php-ext-source-r2_createinifiles
|
||||
fi
|
||||
|
||||
# For some USE combinations this directory is not created
|
||||
if [[ -d "${D}/usr/share/doc/xapian-bindings" ]]; then
|
||||
mv "${D}/usr/share/doc/xapian-bindings" "${D}/usr/share/doc/${PF}"
|
||||
fi
|
||||
|
||||
dodoc AUTHORS HACKING NEWS TODO README || die "dodoc failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use python; then
|
||||
python_mod_optimize xapian
|
||||
fi
|
||||
|
||||
if use php_targets_php5-4; then
|
||||
ewarn "Note: subclassing Xapian classes in PHP currently doesn't work with PHP 5.4"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use python; then
|
||||
python_mod_cleanup xapian
|
||||
fi
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/authres/authres-0.602.ebuild,v 1.1 2013/08/10 09:59:54 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy{1_9,2_0} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Authentication Results Header Module"
|
||||
HOMEPAGE="https://launchpad.net/authentication-results-python http://pypi.python.org/pypi/authres"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DOCS=( CHANGES README )
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" -c "import sys, ${PN}, doctest; f, t = doctest.testfile('${PN}/tests'); \
|
||||
sys.exit(bool(f))" || return
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST cffi-0.6.tar.gz 169321 SHA256 22d49bdb13e962b425fad0a001f8d331c51224235e5850fb2c193180c9757d14 SHA512 30139bf83471726e2cd31690ec39b0411afefbefa916ced5a4fe363d9f2e54ea04bcd189989e5b7c81f2a2f52e5c3e3c446fda5850808b2ac7879fa8fa8d8236 WHIRLPOOL 30137c8e49e69644a6918d43ebf3dc1e2f0528b04c832680a4872372e5a3991e94c4efc2fe09ebecf36565df231b8a460cc846c00e93a5a5369534ce714f3bee
|
||||
DIST cffi-0.7.2.tar.gz 175579 SHA256 b723ab49b48c1604e5a3b5e838b0049eaa61e365408a71e40ba0a42d16472042 SHA512 f4b6ca2c9fa0bf0698b62cf4506b86cd769648a45555d414eb9f95535333b47b4e8cc5c5be13cde7bdecb2790a8e340f4d13e52c996dbc7b69f2390243321b6a WHIRLPOOL 261f360150a21e7e961880614d42a52d7254f2559822c44bbe1e68647021d8cb2f69f9bb7c1fcf994c77cd49864ab08c8e3ecb53085b64c868c7917b54df5c11
|
||||
DIST cffi-0.7.tar.gz 175150 SHA256 6411fa3e23c611a2d49faa0ced21c7fd345aebfdbe4877f5026862aaacea5e7e SHA512 3ad47c6b04427a6fee1efb391deadcf49e5d821dcef231d9f5465db08377b43cf3250040031c0d7f87fc3386c0d391736a508b2fdf77366095b81cd1eb4b7d34 WHIRLPOOL 616f7957eb2b84daf0b18e56753d2fa4d4420d5e7e8f39ede6a84d618367318e325a2e51baa4e40922d8375099f9b7069d946fb04b663db90fa9ca6593d23730
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/cffi/cffi-0.7.2.ebuild,v 1.1 2013/08/10 10:04:04 patrick Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy{1_9,2_0} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Foreign Function Interface for Python calling C code."
|
||||
HOMEPAGE="http://cffi.readthedocs.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="virtual/libffi
|
||||
dev-python/pycparser[$(python_gen_usedep python{2_6,2_7,3_2,3_3} pypy1_9)]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/hgdistver"
|
||||
DEPEND="$REDEPEND
|
||||
test? ( dev-python/virtualenv )"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test c/ testing/ -x -v
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && dohtml -r doc/build/
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST django-celery-3.0.17.tar.gz 77373 SHA256 423c3e2c8cd9b79f5198fdb231fc66dda0bbe4934bd9a490157b7e90f6358ac5 SHA512 426a537a42e314e7bd8e9931b477548ff6217a32919bafd2bd0dd418e43d99ce032e09afdf3f8b1c577a9ac50255d2d036067fb35fc934b7566f1cabd30bd3ac WHIRLPOOL 2e609e7c8b4570d91c4b823d4e39e712d467c4157bb4605ee7d166590e080fcb31b09c2c76f611dc6ca97c71b6c9bada4511f5d7c5c8a09058e055c1dbd7e062
|
||||
DIST django-celery-3.0.21.tar.gz 77725 SHA256 5efc402993f38e83acc8aaf5daca801121598d5875eadf15162ab23b77d5ed62 SHA512 1256224dbb4d03ac6d80337cbb160572827d8557e1fa00c72b4119b3868f7df806e5b10dee6ede10fc6520531ec2eb33d4608ad6d68839951ba31248a0412ae5 WHIRLPOOL 5c6e65e9eadb25db3b3776aacf9ac9a2e168638a10d797501be98043fdf516c6322db85fb4994745d32dcf285bc4e98b12751e020fc6b0341cd51b94ff95bf8f
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/django-celery/django-celery-3.0.21.ebuild,v 1.1 2013/08/10 12:50:21 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Celery Integration for Django"
|
||||
HOMEPAGE="http://celeryproject.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples test"
|
||||
|
||||
RDEPEND=">=dev-python/celery-3.0.17[${PYTHON_USEDEP}]
|
||||
>=dev-python/django-1.3[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
virtual/python-unittest2[${PYTHON_USEDEP}]
|
||||
dev-python/django-nose[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/nose-cover3[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/python-memcached )
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/sphinxcontrib-issuetracker[${PYTHON_USEDEP}]
|
||||
dev-python/python-memcached
|
||||
)"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
python tests/manage.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/.build/html/. )
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST django-nose-1.1.tar.gz 28185 SHA256 6c832c892d9a0b7c44b5f435de98bc75cd76b58534c519bd9f92c94a988c5bd2 SHA512 82f876df87a27051163c0f143b9ebc3d0c460cf1398c4315a9a1eb73d7eb18863cb8b12c7efb2c9dbc849285a26395c69b91525967351ef565974f0bafc6f248 WHIRLPOOL 97be1c84b359dc5c6a0936599d35030d5bb8de197fe1ba976687a64e789cbccdf588a764cb60f1e41db96206a1fc83cbb7674fe12b4596818e7256b17f5976d2
|
||||
DIST django-nose-1.2.tar.gz 24560 SHA256 9aae16b562866a4ddaa5e8978729abadbbed544728d88e0b9c9af7b31dd072ed SHA512 ff0b683d160240a72009c2f969069bfc8ca08bf0c5ac586c2c62fbced776f951c2a6565e71b5fa87e1219e2096483292e933736059d327e06a0a748125398e0c WHIRLPOOL 2707bc9a2a26ced62db77673888259fc9e783bdcae5b6c2fdc8ae54ed0f4e7a11f44a43e9212e0e58761afa29d919a6093f06e10a8ba8a703c40d63e3ff26392
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/django-nose/django-nose-1.2.ebuild,v 1.1 2013/08/10 11:53:28 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Django test runner that uses nose"
|
||||
HOMEPAGE="https://github.com/jbalogh/django-nose"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-python/nose-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/django-1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/south-0.7[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" testapp/runtests.py
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/fabric/fabric-1.7.0.ebuild,v 1.1 2013/08/10 12:36:03 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="Fabric"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="A simple pythonic tool for remote execution and deployment."
|
||||
HOMEPAGE="http://fabfile.org http://pypi.python.org/pypi/Fabric"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND=">=dev-python/paramiko-1.10.0[${PYTHON_USEDEP}]
|
||||
python_targets_python2_5? ( dev-python/multiprocessing[python_targets_python2_5] )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( <dev-python/fudge-1.0 )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local DISTUTILS_NO_PARALLEL_BUILD=1
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests tests || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST Flask-Babel-0.7.tar.gz 44120 SHA256 f8ff9ff4ccdf4584f2f3ee04f14aad8bd116a237ed52aa3e8a8c8333809e2444 SHA512 c56889cc46ecc33e63176ae3e40ac81ffd333b835d354c6c1d7473bfeb352546aa9ecb292901b494854ba02d0180ef113062b31109b0a0d05bf2724365d55113 WHIRLPOOL 7479e09ad24c7a62f992f037624d09d1794ea914a182ca1e8188b0f1b212c0abd66617c77b18bfdf081b648b6d0505a42d8b172600e653d33d4e8f053f3cd5d1
|
||||
DIST Flask-Babel-0.8.tar.gz 44520 SHA256 a255d77910ddfbebc6318c618d9a23cda5d018c86c7e0dea64dc860a16cb3daa SHA512 76e34df0748ec0ee2c0964ab07e85dd708c38601e55626fcc40b5a6064e5f2065c1969c4f888827225daf0ce2bf0a41670ba020f7d52b93915f4120cc478798d WHIRLPOOL 35f914bc4e765e03ccf699bbba696980b1ea48e07491d9e401c9ac76ce701575e8d0d69a63c144ad45fd2df76c7d3948b15cadfdbbc7ffd528ee5eca73e0bd31
|
||||
DIST Flask-Babel-0.9.tar.gz 38881 SHA256 4afd150f360434b00684ba7848358f7961072fd0658a6e81aaa578522699fb4c SHA512 c667c8a532332bb3dd0d694932d17f7f9b2b51f68151767624116853b2e71f2a6b4c47164d17a6f368b67a5cabce97495b18147655fb36aee5034c058d3b9a89 WHIRLPOOL 28309a4a27bfd0fbe30be52613ee9eef5110e3cc38e863c6de200cced579476870e01b92edaeb08fd29e0deabcaa13d14742d188960742d61cf8ba5384476cd1
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-babel/flask-babel-0.9.ebuild,v 1.1 2013/08/10 10:13:03 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="Flask-Babel"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="i18n and l10n support for Flask based on Babel and pytz"
|
||||
HOMEPAGE="http://packages.python.org/Flask-Babel/"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="dev-python/flask[${PYTHON_USEDEP}]
|
||||
dev-python/Babel[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
>=dev-python/speaklater-1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-2.5[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST irc-8.2.zip 110089 SHA256 9f7f182e789793c6965edf4b4c78341c068c5d46934c850fd2f0880a3d8f87c5 SHA512 5a5329fe7c83c6c77f8122cf434452c2a3525a632f77cbf44731ae00c23213b0b2942635eea5dc8c04e23fb37b8abf1296e037fe150a9c013b273785eb746b21 WHIRLPOOL 512b69c4948453654f593ac4188d348eb8d556fc31ad8e1622ad83d23e0ff001b36539c08c3f94e3aa23fd5d8a7da4fcebf80e701cff7224c6d6acb6901b0884
|
||||
DIST irc-8.3.1.zip 111480 SHA256 bdfe7595ef0ebdba7b9ff630a85c1f707e9d3e8699323eccc6dbe27042ae6985 SHA512 3f68d19790ca707b9dda4f23e209de413ec6ae028392b52219c4a455127498ca8f16362a8fd8feabab4b25614135f8681df3dc714c2433ce80917e36f0297d4c WHIRLPOOL 99cca47865633dd54ba2176a4a6954f80fb8fd0b3af1085beac547476261593cb0b7a984d9d66d604be012583493b4fd559069169a913f593c8fc14dfa5073db
|
||||
DIST irc-8.3.zip 110335 SHA256 f58b378f1750a5888c8938436542e7a34a3f2f76d63612b80e2f14c9182bd507 SHA512 19e7161002abab6343b4b62dd5e60a6c2641c8ecd75be076c204a9bf86efa35a2142c4c1e23abd52178d89a0140f6e19b8383d9136bcaf3c92a9403e704f0f4f WHIRLPOOL 66729c25b8e165341da2b2b22f670e4500dc25c19d61c1960ab6df451881bff6a00e9375cc3a02108cbee89edc7e3e5063ed3d33c87480949207868e4baf52fa
|
||||
DIST irc-8.4.zip 112103 SHA256 4574f596988e9d866f1e38b7219e8f62f5221c9c4ea2e16d3d9c204d70b4732a SHA512 8a58d397fb78189a375332581be2160ec847b06a75c41dda476fe55dd6ec012ec31c7d93cd1f3d879ad785d5e5af0d1c6a2d5cb0f5567bd2a846561b08eecb90 WHIRLPOOL 7bd8c54046c4c8b93347346e62130961ef74f414ac2be798ef300ff50edb5f45eb0c18bb353019a0363a7abcd61e74bae40c98eccc4a745b15364425954824e8
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/irc/irc-8.4.ebuild,v 1.1 2013/08/10 13:07:48 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy2_0 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="IRC client framework written in Python."
|
||||
HOMEPAGE="https://bitbucket.org/jaraco/irc http://pypi.python.org/pypi/irc"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
app-text/dos2unix"
|
||||
|
||||
RDEPEND="!>=dev-python/python-irclib-3.2.2[${PYTHON_USEDEP}]"
|
||||
|
||||
python_prepare_all() {
|
||||
# Prevent setup from downloading hgtools package
|
||||
dos2unix setup.py || die "Oopsie"
|
||||
epatch "${FILESDIR}/irc-setup.py.8.0.1.patch"
|
||||
|
||||
# Don't rely on hgtools for version
|
||||
sed -e "s/use_hg_version=True/version=\"${PV}\"/" -i setup.py || die
|
||||
sed -e "/^tag_/d" -i setup.cfg || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( scripts/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/logilab-common-0.60.0.ebuild,v 1.1 2013/08/10 10:00:25 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
# broken with python3.3, bug #449276
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2} pypy{1_9,2_0} )
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="Useful miscellaneous modules used by Logilab projects"
|
||||
HOMEPAGE="http://www.logilab.org/project/logilab-common http://pypi.python.org/pypi/logilab-common"
|
||||
SRC_URI="ftp://ftp.logilab.org/pub/common/${P}.tar.gz mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="test doc"
|
||||
|
||||
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
virtual/python-unittest2[${PYTHON_USEDEP}]"
|
||||
|
||||
# Tests using dev-python/psycopg are skipped when dev-python/psycopg
|
||||
# isn't installed.
|
||||
# egenix-mx-base tests are optional, and egenix-mx-base does support
|
||||
# Python2 only.
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/egenix-mx-base[$(python_gen_usedep 'python2*')]
|
||||
!dev-python/psycopg[-mxdatetime]
|
||||
)
|
||||
doc? ( dev-python/epydoc )"
|
||||
|
||||
PATCHES=(
|
||||
# Make sure setuptools does not create a zip file in python_test;
|
||||
# this is buggy and causes tests to fail.
|
||||
"${FILESDIR}/${PN}-0.59.1-zipsafe.patch"
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e 's:(CURDIR):{S}/${P}:' -i doc/makefile || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
# Simplest way to make makefile point to the right place.
|
||||
ln -s "${BUILD_DIR}" build || die
|
||||
emake -C doc epydoc
|
||||
rm build || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
|
||||
# Prevent timezone related failure.
|
||||
export TZ=UTC
|
||||
|
||||
# Make sure that the tests use correct modules.
|
||||
pushd "${BUILD_DIR}"/lib > /dev/null || die
|
||||
"${TEST_DIR}"/scripts/pytest || die "Tests fail with ${EPYTHON}"
|
||||
popd > /dev/null || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
doman doc/pytest.1
|
||||
use doc && dohtml -r doc/apidoc/.
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/mantissa/mantissa-0.7.0-r1.ebuild,v 1.1 2013/08/09 18:01:21 mgorny Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit twisted-r1
|
||||
|
||||
DESCRIPTION="An extensible, multi-protocol, multi-user, interactive application server"
|
||||
HOMEPAGE="http://divmod.org/trac/wiki/DivmodMantissa http://pypi.python.org/pypi/Mantissa"
|
||||
SRC_URI="mirror://pypi/${TWISTED_PN:0:1}/${TWISTED_PN}/${TWISTED_P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-python/axiom-0.6.0-r1[${PYTHON_USEDEP}]
|
||||
>=dev-python/cssutils-0.9.10-r1[${PYTHON_USEDEP}]
|
||||
virtual/python-imaging[${PYTHON_USEDEP}]
|
||||
>=dev-python/nevow-0.10.0-r1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytz-2012j[${PYTHON_USEDEP}]
|
||||
dev-python/twisted-core[${PYTHON_USEDEP}]
|
||||
dev-python/twisted-mail[${PYTHON_USEDEP}]
|
||||
>=dev-python/vertex-0.3.0-r1[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
TWISTED_PLUGINS=( axiom.plugins nevow.plugins xmantissa.plugins )
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
|
||||
# remove foreign caches we don't want to own
|
||||
find "${D}$(python_get_sitedir)" -name 'dropin.cache' -delete || die
|
||||
# then our own one
|
||||
touch "${D}$(python_get_sitedir)"/xmantissa/plugins/dropin.cache || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
dodoc NAME.txt NEWS.txt
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
trial xmantissa || die "tests failed with ${EPYTHON}"
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST mozprofile-0.10.tar.gz 16783 SHA256 d9ee0a983bfb7bb7e12d52e7d255184619312e3e092494cb3154cf8e38f6df5b SHA512 10f07adb0b02a70560e58b000916cfdd5f9d80530cfbe1f89a5ad3e69e5dcf985d6d91aee7060a6a128b25f0f617a61bf063bf3dc2ef1e328b43a90e48286c49 WHIRLPOOL c2e00bbd9e1da9618c90ea78c5c247147601889bd6a492f5a62fc453e1812824845d685c4fef041cb2cf0b0a1a4ba073e8ff669c72ee22c6339bc43a24a92447
|
||||
DIST mozprofile-0.11.tar.gz 16898 SHA256 aa673ee372421fdb9ba2015d02774066d648d895b7f3ca2a88e3ce77c9846edd SHA512 6985cd37ce21985114e2729713fff03463a45104863ec6ad5dfcd60fb07419372392c3d56eb82f67dda36b9f4fa7e03f4dd872d9aff597f0b0e5f876e11a0996 WHIRLPOOL c378052496f4750055b4dadeb7dd93e9963f125bc3ad282cface1ab74809e9c3fb33ad8f8ede4fe0956e03c6f9ea094926c6261bb4151cb91f4137986d22af3f
|
||||
DIST mozprofile-0.12.tar.gz 17245 SHA256 cac0bcbc8aa87f3174cb27e7c971cf061a23a883fa974a78b2a0605cb2dfc5be SHA512 db6d5bae251f828f621ec3acd45c36ba5a2a09b89055de354831d6ce4682be25e9f7bc43917b709817456a3157f911469c24a8210462eb751d4ffe04cea5e004 WHIRLPOOL f0e8539c84f5c423b38d14a09384660734e7a5b82cdde98c63c43ea3dc04872cfa764289ba61325cae2d30ba42ec8546af97f3b35aec5e5cef2c0884252b654f
|
||||
DIST mozprofile-0.8.tar.gz 16846 SHA256 efd232d8e65deba2d9837e7b00b277131b870fce0cce5eea36576c61dfabfa26 SHA512 315a97aad1b2965fc38f45e17d2f2dcb5b8dde3cf8e4a5ca869055d1ac94f372d73fa8901f9691dd864285d0f94e30b766d971ae43b65f795e2c161d17e670ed WHIRLPOOL ff424613745b430b1666726568006d66d50cefd74f2569c6a95bb9b62fabf286b668d7901896cc754cd2a1e6258be3663e3cf92231ad3db424ed80e52d34285f
|
||||
DIST mozprofile-0.9.tar.gz 16789 SHA256 ba829552bc25ba07e8e29f43f644a4b6ef18d284f51c09174fa311970c26e512 SHA512 cdea5613972133565fe442466bf6c34e9b59a00f3a2507fa4bca310522ca0c28a13997d904e0a6eb6fe8887fb8abc709a5f939e861a3e532423e0d4aab486162 WHIRLPOOL 19c822ab76c47eed2094f7da999e1eca61561ed1ed5fb629d76ce80c9d8ee78c39ebfb960774c75a8f5f9c6c5191e6ffd9a667259fb411c956af406bdcd98d8f
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/mozprofile/mozprofile-0.12.ebuild,v 1.1 2013/08/10 09:45:38 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy2_0 )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Handling of Mozilla XUL app profiles"
|
||||
HOMEPAGE="http://github.com/mozautomation/mozmill http://pypi.python.org/pypi/mozprofile"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/manifestdestiny[${PYTHON_USEDEP}]
|
||||
dev-python/simplejson[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/mozrunner/mozrunner-5.23.ebuild,v 1.1 2013/08/10 12:56:07 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy2_0 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Reliable start/stop/configuration of Mozilla Applications (Firefox, Thunderbird, etc.)"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/mozrunner"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND=">=dev-python/mozinfo-0.3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/mozprofile-0.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/mozprocess-0.10[${PYTHON_USEDEP}]
|
||||
dev-python/simplejson[${PYTHON_USEDEP}]
|
||||
dev-python/mozfile[${PYTHON_USEDEP}]"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e 's/\(moz.*\) ==/\1 >=/' -i setup.py
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST amqp-1.0.11.tar.gz 70207 SHA256 e26d184024262ac93ba1177217b9a48edba55c5a0a46f3cba35d35d498ebe784 SHA512 7f7e7b4a11054949e992e91b21d1aa5507102243f604100ea121b2fcbf8a6de2ddaecf33cd170a5ce29660aed144bcaa79ffbceb5968933ae507ac0e51e2ff3a WHIRLPOOL c50189f66885ad1453ff75abf1c460209b3cb4abd2f12a489413ce3c316c8449982d39e676f5bfbe20978f777770080ecbf4989f89b7b6439bbffae4c56a0347
|
||||
DIST amqp-1.0.12.tar.gz 70242 SHA256 c2c09d0310009efd9b19fc12efff7a085b789b841341a533451b85750be6518d SHA512 df0cd0032b2a67fc67c016370b8d1c3455330e0656056b1c110f6fc7f1becd755a58fbd72d00a437175cd376b3e7ad956557c810e31ab2c99655cea11d71243c WHIRLPOOL 200f8b7929bc4731b53c3a2da397b4ca37b01d823a8ad998e16b5dfcf80d9350863086a8affed956e93104e15b3381534d8453c95e8dcb0c685e15bb65cdd801
|
||||
DIST amqp-1.0.13.tar.gz 70458 SHA256 15fed1a2f0326f198a9d3d16ce1dc4296385d33859bd9f7c59705093fab8f53c SHA512 6e1476cfc625e5f2b636cbbdbc786d30fc68e99a7439039cef1a9eb1653083530572204b578bded307285611b91ba9f6f1ab9477b6adff8b97e651066253214b WHIRLPOOL ad049b23a61b2104128d5b2c67bb194bdd5cecfdad5cfed5777a564d30782b067ef9226329641ef178a970353d55dd3230c684644dacc94962e4375311e0e2fc
|
||||
DIST amqp-1.0.9.tar.gz 70180 SHA256 c31217630cbe2057b9f9c689820f950104ad1aea9cbb05df319d2bb7c916857b SHA512 4e3d38536d96cf4ac788c0a06f3a3a43d29b6b8837864d25d6b854a1d45e066935f4c465868467cc62da719c10b560c3d6170f80494328c1e408f3f1f0f5ea08 WHIRLPOOL 59637941ee2c6e4a600c9134b202e5568f2ae9fda3016f444b2a7afdee0bff2e515b8323be3ff0125d28c7d4418a13375907535a4437264c4894d62ca196b8aa
|
||||
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/py-amqp/py-amqp-1.0.13.ebuild,v 1.1 2013/08/10 11:44:31 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} pypy{1_9,2_0} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="amqp"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Low-level AMQP client for Python (fork of amqplib)"
|
||||
HOMEPAGE="https://github.com/celery/py-amqp http://pypi.python.org/pypi/amqp/"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples extras test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-1.0.6_disable_socket_tests.patch )
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cp -r -l funtests "${BUILD_DIR}"/lib/ || die
|
||||
cd "${BUILD_DIR}"/lib || die
|
||||
if [[ ${EPYTHON:6:1} == 3 ]]; then
|
||||
# Notes:
|
||||
# -W is not supported by python3.1
|
||||
# -n causes Python to write into hardlinked files
|
||||
2to3 --no-diffs -w funtests || die
|
||||
fi
|
||||
"${PYTHON}" funtests/run_all.py || ewarn "Tests fail with ${EPYTHON}"
|
||||
rm -rf funtests/ || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( demo/. )
|
||||
use doc && local HTML_DOCS=( docs/.build/html/. )
|
||||
if use extras; then
|
||||
insinto /usr/share/${PF}/extras
|
||||
doins -r extra
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,7 +1,2 @@
|
||||
DIST pyasn1-0.0.13.tar.gz 51225 SHA256 059bc1fd109cdf3d579b1a3e7175494cf70066f93f05a642c20d7993bbf841c7 SHA512 89315eea95fcff344755c255874938494279f7ee80c3bd1434b1f5f98e0b7a1a0a01f8babb51f8e8c95d15c309dcce4840db98656da7b0afaf583e0f28fada18 WHIRLPOOL 98c2139a820d0fe2f75919b84c6034183654df5708aac4b204165873d8d284c7e2c5e872759347d2bea07cf0f532999c36f56e555cc353fef559addc484a61cd
|
||||
DIST pyasn1-0.0.13b.tar.gz 50570 SHA256 dd911885078b0e44eedbd4cc7fa04e8589f8371c77d7e6083b534828c57ed3d0 SHA512 caf38e11a80abd31b524d5657f75e56e1776ce57548acee3d50dbddb3054ffc5f559dc03e7fdaa202dcd4d0dae8b3e59a1e68d26eaed3aa2212bd59a9a840c6c WHIRLPOOL e76f9ee8231e9f02b79b10bc80355cac5b970cdd061a7f23703b7c0041c554b22f3bae8f8a79f45705aafc61be0fbff77e387e71d242ac8db31c604db613419c
|
||||
DIST pyasn1-0.1.2.tar.gz 53547 SHA256 2422dabc63126cd6a27e41ad6dec53b3df1d701114a1184e7630e4c857380e12 SHA512 c7739106a791faca27eea3da66a3e5afb240eb04b0d25136fae181379008af00741a14a5647906fd791015c2ffbfbd6b426356532d627385f70f1c08db138f9b WHIRLPOOL cfe0b3c17f66129611cd7b92f4b58eee00c6b10fe48d77a07df0efc849d9fe1aac5018c3c7ac289c465a35f1688ca68e0fb621b73b7149ea81f22b936ea8b031
|
||||
DIST pyasn1-0.1.3.tar.gz 54291 SHA256 937fd751c4c25dbd37810d15138114640773c7c276039c9f6d7276fdacb355b7 SHA512 3f449f7c4fcc0097572294e41a1cf0dbb1ded79bcfbdd8dfb316e5a0dc113b851bd0c6ffab4455c1b0ffb9e251964b29617156961413aba2a92d8409420eb1b9 WHIRLPOOL a8ab46eb81fbbd063a51772ce31c47adfa92490d99984a04151f12ae45151a625b7b9cb6bc9ca0601ab24321a9e93058528d076b93bebca6cc688630531a5d5b
|
||||
DIST pyasn1-0.1.4.tar.gz 74929 SHA256 19ff3b7f46c69ee9c20aa606de3fc152486e48aab3316f16427fda0cf9917bf5 SHA512 6c79e9fe80afe43642635d8e2b509406c0a31cae44c162c0868ab6d6fb5a5a9ced2569f175707a6a93760e6a9d43e3c11fff10bba2320797430bcd110afbdd51 WHIRLPOOL 7f2827bcc93ae36906c676dbdcc79b490fd6f7793022ab4b0a5aa4cf4e1ad73702c5f583fe5cb8ea0e5caf624e5e34e9dcd170ce6a517fa0bee35dfd007751fb
|
||||
DIST pyasn1-0.1.6.tar.gz 67230 SHA256 a7c51782cea4d823454915ad46a580fe53b9adfe6514560d4b9cb590e002be35 SHA512 8be7438589aa187f6eaedc11426abb7b97ef13212453ff2113ff1a9e307cc7dc2843a3fb3e33dd0d2b445d472935c630e5ab69414aaa378bdd89e1c09a013a03 WHIRLPOOL 5f7debc7bab9259c554897877210f90c27b1b4f3383628424c864b761e889438ce20c3e9e1766f5991ca1824226e813c526f8a9ea6cfd554c313ebff2c01f917
|
||||
DIST pyasn1-0.1.7.tar.gz 68120 SHA256 e4f81d53c533f6bd9526b047f047f7b101c24ab17339c1a7ad8f98b25c101eab SHA512 af2ac05fb7e18b25bd125f92bd7c8389a00c18018c1ff48d94c196f5ab41b09c8991d2e326d492cfaed755b06cd4c75d88719b4a390bdab6d84fe3c8791620af WHIRLPOOL 902b80616cecbf3549417c95ec09c060c6a038f95bd71ce2f9a5c0cd1e4cfd4e9157252abedec3002588eaba5a3cecd7100138c952a5e8f8b7e245b4f82d5c7c
|
||||
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyasn1/pyasn1-0.0.13.ebuild,v 1.1 2011/07/29 21:39:06 neurogeek Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="ASN.1 library for Python"
|
||||
HOMEPAGE="http://pyasn1.sourceforge.net/ http://pypi.python.org/pypi/pyasn1"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools"
|
||||
RDEPEND=""
|
||||
|
||||
DOCS="CHANGES README THANKS TODO"
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test/suite.py
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
dohtml doc/* || die "dohtml failed"
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyasn1/pyasn1-0.0.13_beta.ebuild,v 1.1 2011/07/29 21:18:55 neurogeek Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
|
||||
inherit distutils
|
||||
|
||||
MY_P="${PN}-${PV/_beta/b}"
|
||||
|
||||
DESCRIPTION="ASN.1 library for Python"
|
||||
HOMEPAGE="http://pyasn1.sourceforge.net/ http://pypi.python.org/pypi/pyasn1"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools"
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DOCS="CHANGES README THANKS TODO"
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test/suite.py
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
dohtml doc/* || die "dohtml failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
|
||||
elog
|
||||
elog "ASN.1 modules have been split to dev-python/pyasn1-modules package."
|
||||
elog
|
||||
}
|
@ -1,36 +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/pyasn1/pyasn1-0.1.2.ebuild,v 1.2 2012/03/26 22:16:50 naota Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="ASN.1 library for Python"
|
||||
HOMEPAGE="http://pyasn1.sourceforge.net/ http://pypi.python.org/pypi/pyasn1"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools"
|
||||
RDEPEND=""
|
||||
|
||||
DOCS="CHANGES README THANKS TODO"
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
PYTHONPATH="build-${PYTHON_ABI}/lib:." "$(PYTHON)" test/suite.py
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
dohtml doc/* || die "dohtml failed"
|
||||
}
|
@ -1,35 +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/pyasn1/pyasn1-0.1.3.ebuild,v 1.3 2012/08/19 18:47:18 johu Exp $
|
||||
|
||||
EAPI="4"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="*-jython"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="ASN.1 library for Python"
|
||||
HOMEPAGE="http://pyasn1.sourceforge.net/ http://pypi.python.org/pypi/pyasn1"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools"
|
||||
RDEPEND=""
|
||||
|
||||
DOCS="CHANGES README THANKS TODO"
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
PYTHONPATH="build-${PYTHON_ABI}/lib:." "$(PYTHON)" test/suite.py
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
dohtml doc/pyasn1-tutorial.html
|
||||
}
|
@ -1,35 +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/pyasn1/pyasn1-0.1.4.ebuild,v 1.7 2012/12/01 19:53:51 armin76 Exp $
|
||||
|
||||
EAPI="4"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="*-jython"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="ASN.1 library for Python"
|
||||
HOMEPAGE="http://pyasn1.sourceforge.net/ http://pypi.python.org/pypi/pyasn1"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools"
|
||||
RDEPEND=""
|
||||
|
||||
DOCS="CHANGES README THANKS TODO"
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
PYTHONPATH="build-${PYTHON_ABI}/lib:." "$(PYTHON)" test/suite.py
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
dohtml doc/pyasn1-tutorial.html
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyaudio/pyaudio-0.2.7-r1.ebuild,v 1.1 2013/08/10 11:05:47 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python bindings for PortAudio"
|
||||
HOMEPAGE="http://people.csail.mit.edu/hubert/pyaudio/"
|
||||
SRC_URI="http://people.csail.mit.edu/hubert/pyaudio/packages/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="media-libs/portaudio"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/PyAudio-${PV}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pycountry/pycountry-0.18.ebuild,v 1.1 2013/08/10 09:48:06 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
# pypy pennding actioning of bug filed upstream
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="ISO country, subdivision, language, currency and script definitions and their translations"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/pycountry"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
DOCS=( HISTORY.txt README TODO.txt )
|
||||
|
||||
python_test() {
|
||||
# https://bitbucket.org/techtonik/pycountry/issue/8/test_locales-pycountry-015-pypy
|
||||
pushd "${BUILD_DIR}"/lib > /dev/null
|
||||
py.test ${PN}/tests/test_general.py || die
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pymad/pymad-0.6-r1.ebuild,v 1.1 2013/08/10 11:14:42 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python wrapper for libmad MP3 decoding in python"
|
||||
HOMEPAGE="http://www.spacepants.org/src/pymad/"
|
||||
SRC_URI="http://www.spacepants.org/src/pymad/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="media-libs/libmad"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
python_configure_all() {
|
||||
set -- "${PYTHON}" config_unix.py --prefix "${EPREFIX}/usr"
|
||||
echo "${@}"
|
||||
"${@}" || die "Configuration failed"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST python-slip-0.2.21.tar.bz2 23442 SHA256 3ee1ddab0b16571eef012f5555e541851d1046642b5c336fd41132c1188b47ef SHA512 21e80d04a2c4a5f179ab1533b047a1e0000ac76023fbe0f09546fc82cb19b0da70557aaaa0fd26beb2fea871ae9f4001a02e940998d1f5b4ab664c355cb73b1a WHIRLPOOL 59b9b25dc5883a0b298b7c0fcf8664e32ade6bbcda3a3499f2dadf9529640180a49f95849e2efb4dfa70c7f29209bfea71587a8f82041d7edee3d77e0aa29363
|
||||
DIST python-slip-0.4.0.tar.bz2 24041 SHA256 db5afa59681e17f59559c5e1cc32447ae138120ea3058111dd5c61745e079212 SHA512 2ffceb2bbd376f1cdc97d886dceaa16d269bbf253f7dd5ad82a52d0884a1183a87ce11b786b88057f82de3ff9e6f25aadfb23fee7e7b7d74280e719cf004fbde WHIRLPOOL 66ae5659cdf7c01ebafef8c992a302d95c4e92ea75a9dc94f0c4fb9dae4ed080646ea5665bddbe37e04181e72597b5612aa7d73ab7839dfa9d34e44afb1ba450
|
||||
|
@ -0,0 +1,93 @@
|
||||
From a7bfeeb479d28c9a880d2a08d0102978fa711237 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Rostovtsev <tetromino@gentoo.org>
|
||||
Date: Wed, 18 Jul 2012 20:07:01 -0400
|
||||
Subject: [PATCH] Disable selinux
|
||||
|
||||
---
|
||||
setup.py.in | 2 +-
|
||||
slip/util/files.py | 28 ++++++++++++++--------------
|
||||
2 files changed, 15 insertions(+), 15 deletions(-)
|
||||
|
||||
diff --git a/setup.py.in b/setup.py.in
|
||||
index d670ed5..d5b8db8 100644
|
||||
--- a/setup.py.in
|
||||
+++ b/setup.py.in
|
||||
@@ -7,7 +7,7 @@ setup(name="slip", version="@VERSION@",
|
||||
py_modules=["slip.__init__", "slip.util.__init__",
|
||||
"slip.util.hookable", "slip.util.files",
|
||||
"slip._wrappers.__init__", "slip._wrappers._gobject"],
|
||||
- requires=["selinux"])
|
||||
+ requires=[ ])
|
||||
|
||||
setup(name="slip.dbus", version="@VERSION@",
|
||||
py_modules=["slip.dbus.__init__", "slip.dbus.bus",
|
||||
diff --git a/slip/util/files.py b/slip/util/files.py
|
||||
index 27ba45c..53869f6 100644
|
||||
--- a/slip/util/files.py
|
||||
+++ b/slip/util/files.py
|
||||
@@ -24,7 +24,7 @@ __all__ = ["issamefile", "linkfile", "copyfile", "linkorcopyfile",
|
||||
"overwrite_safely"]
|
||||
|
||||
import os
|
||||
-import selinux
|
||||
+# import selinux
|
||||
import shutil
|
||||
import tempfile
|
||||
import errno
|
||||
@@ -134,8 +134,8 @@ def copyfile(srcpath, dstpath, copy_mode_from_dst=True, run_restorecon=True):
|
||||
|
||||
os.rename(dsttmpfile.name, dstpath)
|
||||
|
||||
- if run_restorecon and selinux.is_selinux_enabled() > 0:
|
||||
- selinux.restorecon(dstpath)
|
||||
+# if run_restorecon and selinux.is_selinux_enabled() > 0:
|
||||
+# selinux.restorecon(dstpath)
|
||||
|
||||
|
||||
def linkorcopyfile(srcpath, dstpath, copy_mode_from_dst=True,
|
||||
@@ -234,8 +234,8 @@ def overwrite_safely(path, content, preserve_mode=True, preserve_context=True):
|
||||
|
||||
exists = os.path.exists(path)
|
||||
|
||||
- if preserve_context and selinux.is_selinux_enabled() <= 0:
|
||||
- preserve_context = False
|
||||
+# if preserve_context and selinux.is_selinux_enabled() <= 0:
|
||||
+# preserve_context = False
|
||||
|
||||
try:
|
||||
fd, tmpname = tempfile.mkstemp(prefix=base + os.path.extsep,
|
||||
@@ -244,10 +244,10 @@ def overwrite_safely(path, content, preserve_mode=True, preserve_context=True):
|
||||
if exists and preserve_mode:
|
||||
shutil.copymode(path, tmpname)
|
||||
|
||||
- if exists and preserve_context:
|
||||
- ret, ctx = selinux.getfilecon(path)
|
||||
- if ret < 0:
|
||||
- raise RuntimeError("getfilecon(%r) failed" % path)
|
||||
+# if exists and preserve_context:
|
||||
+# ret, ctx = selinux.getfilecon(path)
|
||||
+# if ret < 0:
|
||||
+# raise RuntimeError("getfilecon(%r) failed" % path)
|
||||
|
||||
f = os.fdopen(fd, "w")
|
||||
fd = None
|
||||
@@ -259,11 +259,11 @@ def overwrite_safely(path, content, preserve_mode=True, preserve_context=True):
|
||||
|
||||
os.rename(tmpname, path)
|
||||
|
||||
- if preserve_context:
|
||||
- if exists:
|
||||
- selinux.setfilecon(path, ctx)
|
||||
- else:
|
||||
- selinux.restorecon(path)
|
||||
+# if preserve_context:
|
||||
+# if exists:
|
||||
+# selinux.setfilecon(path, ctx)
|
||||
+# else:
|
||||
+# selinux.restorecon(path)
|
||||
|
||||
finally:
|
||||
if f:
|
||||
--
|
||||
1.8.3.2
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-slip/python-slip-0.4.0.ebuild,v 1.1 2013/08/09 21:36:45 eva Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="Miscellaneous convenience, extension and workaround code for Python"
|
||||
HOMEPAGE="https://fedorahosted.org/python-slip/"
|
||||
SRC_URI="https://fedorahosted.org/released/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="dbus gtk selinux"
|
||||
|
||||
RDEPEND="
|
||||
dbus? (
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
|| (
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:2[${PYTHON_USEDEP}] )
|
||||
sys-auth/polkit )
|
||||
gtk? ( dev-python/pygtk:2[${PYTHON_USEDEP}] )
|
||||
"
|
||||
DEPEND=""
|
||||
|
||||
python_prepare_all() {
|
||||
use selinux || epatch "${FILESDIR}/${PN}-0.4.0-no-selinux.patch"
|
||||
sed -e "s:@VERSION@:${PV}:" setup.py.in > setup.py || die "sed failed"
|
||||
|
||||
if ! use dbus; then
|
||||
sed -e '/name="slip.dbus"/ s/\(.*\)/if 0:\n \1/' \
|
||||
-i setup.py || die "sed 2 failed"
|
||||
fi
|
||||
if ! use gtk; then
|
||||
sed -e '/name="slip.gtk"/ s/\(.*\)/if 0:\n \1/' \
|
||||
-i setup.py || die "sed 3 failed"
|
||||
fi
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue