parent
bfdce22657
commit
d0d1d6dcb4
@ -1,2 +1,2 @@
|
||||
DIST gpyutils-0.1.4.tar.bz2 13458 SHA256 bdffc77f526708e2c7d46aa35d75003b2489c2ed09a1d1f49f4574ec48a173e4 SHA512 fce002bd77868106990ceda1f7ef5e734ec279b85352d9481c0044624e0c837c558654f1d59617301dc7d8125fe7fb2b9778547f1dad19448c0aae165018babc WHIRLPOOL eddc8c4394bff7d37e4c02004d82972b7bc8d3c17970e384b9123e85a9c310c5d6ecb8f7b062396ac53a3bde175beeb7095d7b9ea3d4bb72336552b40f084766
|
||||
DIST gpyutils-0.2.tar.bz2 14685 SHA256 734db06f1ab565f9b90b486d234080db4afdfca162434c74470992a290098ad0 SHA512 95b78a9659b27e4ec0df164abeb0aba1bb92cb7479b012bc1c5876208a906b7d04ac7f63f11a3b7fdc1eb0d642e20106036be03701bbb899b7cafb7bba4a3a87 WHIRLPOOL 435106da07e14b4abf29c52d4ddd73c4ca52ebb6d2c4655ad028554eebf1772165585f92b7b5bda6264f723a4102765d02c87fc16baa50f6df884b5e7f822848
|
||||
DIST gpyutils-0.2.1.tar.bz2 15044 SHA256 9820ff7456f7be4dade93f923f5410f2bb7e2395c239a288a163b130e1b977be SHA512 58b796647bf614e4ad492fe97539bd11f0d5beeecb7fd903a81917bfaac54ced4fb14813f499010093884891eda9c43226bcf2cae7744e7290bf9b16928b6172 WHIRLPOOL 3ae97e07f020a0e57ff1cdad86cb0b1c8b2a036ea572ba45c231bee8ab1b885074a29a92e9fe5d247ab2d977c4528e0b6147bd70756e765a9da2a4d12d3ed723
|
||||
|
@ -1,2 +1,2 @@
|
||||
DIST itexToMML-1.5.4.tar.gz 136951 SHA256 39be9e60a5167d2525947fa38a97fea049db99dd484aa3de472e0bb90162182e SHA512 7c974eb8b9a7f12aa87f2243a6608ac509a7e4bb8b2c2164065cea67c7e50e2f22f6d5fc829f629389ce603e70cca72e13060b03180a81de36338a66ea699e54 WHIRLPOOL b53f6d3346051af466130c67c2cf30d9cf521056ab9e2dfd36f636d541ae6f775894795a208be391cc7bd7cdd2fed77fefb8e9eba6809a9ef66090f931bc16ea
|
||||
DIST itexToMML-1.5.5.tar.gz 155205 SHA256 c25e5ca7b8739e12cdeeeb8a62ea1a2f29831cc9fd97f62ec13eecd2feb389eb SHA512 452436fe6f72d2c99c2bf3aec0d5d74d0bd754b6f54948428e45f50b037927a64ae3148386c387d3065d35392c3744ec6467d3e6fb8c25d46a3872d92d35ce2d WHIRLPOOL a016a5d890f13eb4fd272a4bec667cd1c4f0bd687523fbde116f2b21ad6a1ed19f719803214e1138e4409bfa0238a27eb4a57244414a6e5f52887975078f9f83
|
||||
DIST itexToMML-1.5.6.tar.gz 155394 SHA256 e042fd0aa6e0cab09b28f9332e9f22c5f2b9bc94100386d70c105e7cf3eddf70 SHA512 2f4ebcaccbef71ba1728909bdc60abf06606cfe267481835315fb1ecaa365641e45dfad370cffb758153379e721bde48e71ff660b0cba511f8d8db8a4aec0171 WHIRLPOOL e8d00d997a1daa9f6f48a18bb11cb420c145e7ccc5a842a42cef523eda3832d5ba50186aa8798faaed3e6c898c0c893af531aaaee293351ab3b1d6f376b8df46
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST elfutils-0.166.tar.bz2 6496225 SHA256 3c056914c8a438b210be0d790463b960fc79d234c3f05ce707cbff80e94cba30 SHA512 543e8f9fbebbef86c40b1d6dc93da04a8431071aad636b70e7a1b9536450990b237d100d354c29fd0c3605074b7a0621f5bdaab4c2664be42b2912ad283bc614 WHIRLPOOL 4de083bbb397235dd46c2ba6e0cbb615825c13d7e8413015d5ff08d72deae1d9a508c0f6e5f90e27cc709870064bc53a51b2a681f2a9b80e1f658bb7dc475f8d
|
||||
DIST elfutils-0.167.tar.bz2 6456047 SHA256 3f300087c42b6f35591163b48246b4098ce39c4c6f5d55a83023c903c5776553 SHA512 855b27b7b2785265e095a5c28518b9765238bbcdc8aefede11453e9727156b71360a4b0e2634f2c3813d4b632d3be7079b2d952701bf0455a9c2c19f7facdc91 WHIRLPOOL 1eccbdf65e75c36d7e7704e34eb824d8f54aa4d5879c8df174a1121889fd796cd0aaf5e727f07f361da301659f23d7167e5e59e6a039003def0411d0d01a570e
|
||||
DIST elfutils-0.168.tar.bz2 6840399 SHA256 b88d07893ba1373c7dd69a7855974706d05377766568a7d9002706d5de72c276 SHA512 c8f2077ffe6877ad9e9d2f553bf0576361799c601d246f53e1d99a6f7046794c5916e1087b97ad1d1e5f59f9debc20384f864d507ef6c4c75a8e767d15d6eb91 WHIRLPOOL 281e6917ad243c4f28dad48801d43c29b503da0198f1cd882b6e378b9016e0843088185a39909db75295484f28b963b711f68b80dc6cc810b3027a2ea5cce556
|
||||
DIST elfutils-0.169.tar.bz2 8067758 SHA256 9412fac7b30872b738bc1ed1ebcaed54493c26ef9a67887913498c17b10f3bc2 SHA512 0a81a20bb2aff533d035d6b76f1403437b2e11bce390db57e34b8c26e4b9b3150346d83dddcbfbbdc58063f046ca3223508dba35c6ce88e375d201e7a777a8b9 WHIRLPOOL dc4f689b403160272dccb1e306ee3584f6d06156d3318d745bba46f9b4a31a477795223233ffb420b096b1c196aba09492e4ab5803f6150326b48e1045f92e06
|
||||
|
@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils flag-o-matic multilib-minimal
|
||||
|
||||
DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
|
||||
HOMEPAGE="http://elfutils.org/"
|
||||
SRC_URI="https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
|
||||
IUSE="bzip2 lzma nls static-libs test +threads +utils"
|
||||
|
||||
RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
|
||||
bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] )
|
||||
lzma? ( >=app-arch/xz-utils-5.0.5-r1[${MULTILIB_USEDEP}] )
|
||||
!dev-libs/libelf"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
>=sys-devel/flex-2.5.4a
|
||||
sys-devel/m4"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
epatch "${FILESDIR}"/${PN}-0.118-PaX-support.patch
|
||||
if use static-libs; then
|
||||
sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in || die
|
||||
fi
|
||||
sed -i 's:-Werror::' */Makefile.in || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use test && append-flags -g #407135
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
$(use_enable nls) \
|
||||
$(use_enable threads thread-safety) \
|
||||
--program-prefix="eu-" \
|
||||
--with-zlib \
|
||||
$(use_with bzip2 bzlib) \
|
||||
$(use_with lzma)
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \
|
||||
LC_ALL="C" \
|
||||
emake check
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
dodoc NOTES
|
||||
# These build quick, and are needed for most tests, so don't
|
||||
# disable their building when the USE flag is disabled.
|
||||
if use utils; then
|
||||
rm -rf "${ED}"/usr/bin || die
|
||||
fi
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
https://github.com/jordansissel/grok/commit/44ce9372a29319c01d4ac7f24287fb36315e0e34
|
||||
|
||||
--- a/grokre.c
|
||||
+++ b/grokre.c
|
||||
@@ -12,8 +12,8 @@
|
||||
|
||||
/* global, static variables */
|
||||
|
||||
-#define CAPTURE_ID_LEN 4
|
||||
-#define CAPTURE_FORMAT "%04x"
|
||||
+#define CAPTURE_ID_LEN 5
|
||||
+#define CAPTURE_FORMAT "_%04x"
|
||||
|
||||
/* internal functions */
|
||||
static char *grok_pattern_expand(grok_t *grok); //, int offset, int length);
|
@ -0,0 +1,63 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -25,10 +25,12 @@ else
|
||||
GPERF?=/usr/bin/gperf
|
||||
endif
|
||||
|
||||
+LIBS=-lpcre -levent -rdynamic -ltokyocabinet
|
||||
+
|
||||
# For linux, we need libdl for dlopen()
|
||||
# On FreeBSD, comment this line out.
|
||||
ifeq ($(PLATFORM), GNULinux)
|
||||
-LDFLAGS+=-ldl
|
||||
+LIBS+=-ldl
|
||||
endif
|
||||
|
||||
# #############################################
|
||||
@@ -41,8 +43,7 @@ VERSION=$(shell sh $(BASE)/version.sh)
|
||||
#CFLAGS+=-g
|
||||
#LDFLAGS+=-g
|
||||
|
||||
-CFLAGS+=-pipe -fPIC -I. -O2
|
||||
-LDFLAGS+=-lpcre -levent -rdynamic -ltokyocabinet
|
||||
+CFLAGS+=-fPIC -I.
|
||||
|
||||
LIBSUFFIX=$(shell sh $(BASE)/platform.sh libsuffix)
|
||||
VERLIBSUFFIX=$(shell sh $(BASE)/platform.sh libsuffix $(MAJOR))
|
||||
@@ -50,8 +51,8 @@ DYNLIBFLAG=$(shell sh $(BASE)/platform.sh dynlibflag)
|
||||
LIBNAMEFLAG=$(shell sh $(BASE)/platform.sh libnameflag $(MAJOR) $(INSTALLLIB))
|
||||
|
||||
# Sane includes
|
||||
-CFLAGS+=-I/usr/local/include
|
||||
-LDFLAGS+=-L/usr/local/lib
|
||||
+#CFLAGS+=-I/usr/local/include
|
||||
+#LDFLAGS+=-L/usr/local/lib
|
||||
|
||||
# Platform so we know what to dlopen
|
||||
CFLAGS+=-DPLATFORM_$(PLATFORM)
|
||||
@@ -97,6 +98,7 @@ install: libgrok.$(LIBSUFFIX) grok discogrok $(GROKHEADER)
|
||||
install -m 755 grok $(DESTDIR)$(PREFIX)/bin
|
||||
install -m 755 discogrok $(DESTDIR)$(PREFIX)/bin
|
||||
install -m 644 libgrok.$(LIBSUFFIX) $(DESTDIR)$(PREFIX)/lib
|
||||
+ ln -s libgrok.$(LIBSUFFIX) $(DESTDIR)$(PREFIX)/lib/libgrok.$(LIBSUFFIX).1
|
||||
for header in $(GROKHEADER); do \
|
||||
install -m 644 $$header $(DESTDIR)$(PREFIX)/include; \
|
||||
done
|
||||
@@ -162,14 +164,14 @@ cleanver:
|
||||
# Binary creation
|
||||
grok: LDFLAGS+=-levent
|
||||
grok: $(GROKOBJ) conf.tab.o conf.yy.o main.o grok_config.o
|
||||
- $(CC) $(LDFLAGS) $^ -o $@
|
||||
+ $(CC) $(LDFLAGS) $^ $(LIBS) -o $@
|
||||
|
||||
discogrok: $(GROKOBJ) discover_main.o
|
||||
- $(CC) $(LDFLAGS) $^ -o $@
|
||||
+ $(CC) $(LDFLAGS) $^ $(LIBS) -o $@
|
||||
|
||||
libgrok.$(LIBSUFFIX):
|
||||
libgrok.$(LIBSUFFIX): $(GROKOBJ)
|
||||
- $(CC) $(LDFLAGS) -fPIC $(DYNLIBFLAG) $(LIBNAMEFLAG) $^ -o $@
|
||||
+ $(CC) $(LDFLAGS) -fPIC $(DYNLIBFLAG) $(LIBNAMEFLAG) $^ $(LIBS) -o $@
|
||||
|
||||
libgrok.$(VERLIBSUFFIX): libgrok.$(LIBSUFFIX);
|
||||
ln -s $< $@
|
@ -0,0 +1,26 @@
|
||||
Closes: https://github.com/jordansissel/grok/issues/28
|
||||
Closes: https://github.com/jordansissel/grok/issues/29
|
||||
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -213,8 +213,8 @@ grok_capture_xdr.h: grok_capture.x
|
||||
rpcgen -h $< -o $@
|
||||
|
||||
%.c: %.gperf
|
||||
- @if $(GPERF) --version | head -1 | egrep -v '3\.[0-9]+\.[0-9]+' ; then \
|
||||
- echo "We require gperf version >= 3.0.3" ; \
|
||||
+ @if $(GPERF) --version | head -1 | grep --quiet -E '[0-2]\.[0-9]\.[0-9]+|3\.0\.[0-9]+' ; then \
|
||||
+ echo "We require gperf version >= 3.1.0" ; \
|
||||
exit 1; \
|
||||
fi
|
||||
$(GPERF) $< > $@
|
||||
--- a/grok_matchconf_macro.h
|
||||
+++ b/grok_matchconf_macro.h
|
||||
@@ -19,6 +19,6 @@ struct strmacro {
|
||||
#endif
|
||||
|
||||
/* this function is generated by gperf */
|
||||
-const struct strmacro *patname2macro(const char *str, unsigned int len);
|
||||
+const struct strmacro *patname2macro(const char *str, size_t len);
|
||||
|
||||
#endif /* _GROK_MATCHCONF_MACRO_ */
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="DRY and RAD for regular expressions"
|
||||
HOMEPAGE="https://github.com/jordansissel/grok https://code.google.com/p/semicomplete/wiki/Grok"
|
||||
SRC_URI="https://github.com/jordansissel/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="dev-db/tokyocabinet
|
||||
>=dev-libs/libevent-1.3:=
|
||||
>=dev-libs/libpcre-7.6"
|
||||
|
||||
RDEPEND="${CDEPEND}"
|
||||
DEPEND="${CDEPEND}
|
||||
>=dev-util/gperf-3.1"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/grok-0.9.2-Makefile.patch
|
||||
"${FILESDIR}"/0.9.2-build-with-pcre-lt-8.34.patch
|
||||
"${FILESDIR}"/grok-0.9.2-build-with-gperf-3.1.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
tc-export CC
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
# It is the developer's intention that backports.unittest_mock will be
|
||||
# used even for Python 3: https://github.com/jaraco/jaraco.timing/pull/1
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="${PN/-/.}"
|
||||
MY_PN="${MY_PN//-/_}"
|
||||
DESCRIPTION="Backport of unittest.mock"
|
||||
HOMEPAGE="https://github.com/jaraco/backports.unittest_mock"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="dev-python/backports[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/rst-linker[${PYTHON_USEDEP}]
|
||||
)
|
||||
test? (
|
||||
${RDEPEND}
|
||||
>=dev-python/pytest-2.8[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
cd docs || die
|
||||
sphinx-build . _build/html || die
|
||||
HTML_DOCS=( docs/_build/html/. )
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test -v || die "tests failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
find "${D}" -name '*.pth' -delete || die
|
||||
}
|
@ -0,0 +1,269 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||
PYTHON_REQ_USE='tk?,threads(+)'
|
||||
|
||||
inherit distutils-r1 eutils flag-o-matic multiprocessing virtualx toolchain-funcs
|
||||
|
||||
DESCRIPTION="Pure python plotting library with matlab like syntax"
|
||||
HOMEPAGE="http://matplotlib.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
# Main license: matplotlib
|
||||
# Some modules: BSD
|
||||
# matplotlib/backends/qt4_editor: MIT
|
||||
# Fonts: BitstreamVera, OFL-1.1
|
||||
LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1"
|
||||
KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="cairo doc excel examples fltk gtk2 gtk3 latex pyside qt4 qt5 test tk wxwidgets"
|
||||
|
||||
PY2_FLAGS="|| ( $(python_gen_useflags python2_7) )"
|
||||
REQUIRED_USE="
|
||||
doc? ( ${PY2_FLAGS} )
|
||||
excel? ( ${PY2_FLAGS} )
|
||||
fltk? ( ${PY2_FLAGS} )
|
||||
gtk2? ( ${PY2_FLAGS} )
|
||||
wxwidgets? ( ${PY2_FLAGS} )
|
||||
test? (
|
||||
cairo fltk latex pyside qt5 qt4 tk wxwidgets
|
||||
|| ( gtk2 gtk3 )
|
||||
)"
|
||||
|
||||
# #456704 -- a lot of py2-only deps
|
||||
PY2_USEDEP=$(python_gen_usedep python2_7)
|
||||
COMMON_DEPEND="
|
||||
dev-python/cycler[${PYTHON_USEDEP}]
|
||||
>=dev-python/numpy-1.6[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil:0[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.4[${PYTHON_USEDEP}]
|
||||
media-fonts/stix-fonts
|
||||
media-libs/freetype:2
|
||||
media-libs/libpng:0
|
||||
media-libs/qhull
|
||||
cairo? ( dev-python/cairocffi[${PYTHON_USEDEP}] )
|
||||
gtk2? (
|
||||
dev-libs/glib:2=
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/gtk+:2
|
||||
dev-python/pygtk[${PY2_USEDEP}] )
|
||||
wxwidgets? ( >=dev-python/wxpython-2.8:*[${PY2_USEDEP}] )"
|
||||
|
||||
# internal copy of pycxx highly patched
|
||||
# dev-python/pycxx
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-python/versioneer[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
app-text/dvipng
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/ipython[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PY2_USEDEP}]
|
||||
dev-python/numpydoc[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/xlwt[${PYTHON_USEDEP}]
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
dev-texlive/texlive-latexrecommended
|
||||
media-gfx/graphviz[cairo]
|
||||
)
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
>=dev-python/nose-0.11.1[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=dev-python/pyparsing-1.5.6[${PYTHON_USEDEP}]
|
||||
excel? ( dev-python/xlwt[${PYTHON_USEDEP}] )
|
||||
fltk? ( dev-python/pyfltk[${PYTHON_USEDEP}] )
|
||||
gtk3? (
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
x11-libs/gtk+:3[introspection] )
|
||||
latex? (
|
||||
virtual/latex-base
|
||||
app-text/ghostscript-gpl
|
||||
app-text/dvipng
|
||||
app-text/poppler[utils]
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-xetex
|
||||
)
|
||||
pyside? ( dev-python/pyside[X,${PYTHON_USEDEP}] )
|
||||
qt4? ( dev-python/PyQt4[X,${PYTHON_USEDEP}] )
|
||||
qt5? ( dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
# A few C++ source files are written to srcdir.
|
||||
# Other than that, the ebuild shall be fit for out-of-source build.
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-1.5.3-freetype-spurious-failure.patch" )
|
||||
|
||||
pkg_setup() {
|
||||
unset DISPLAY # bug #278524
|
||||
use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 )
|
||||
}
|
||||
|
||||
use_setup() {
|
||||
local uword="${2:-${1}}"
|
||||
if use ${1}; then
|
||||
echo "${uword} = True"
|
||||
echo "${uword}agg = True"
|
||||
else
|
||||
echo "${uword} = False"
|
||||
echo "${uword}agg = False"
|
||||
fi
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
# Generates test failures, but fedora does it
|
||||
# local PATCHES=(
|
||||
# "${FILESDIR}"/${P}-unbundle-pycxx.patch
|
||||
# "${FILESDIR}"/${P}-unbundle-agg.patch
|
||||
# )
|
||||
# rm -r agg24 CXX || die
|
||||
# rm -r agg24 || die
|
||||
|
||||
# cat > lib/${PN}/externals/six.py <<-EOF
|
||||
# from __future__ import absolute_import
|
||||
# from six import *
|
||||
# EOF
|
||||
|
||||
sed \
|
||||
-e 's/matplotlib.pyparsing_py[23]/pyparsing/g' \
|
||||
-i lib/matplotlib/{mathtext,fontconfig_pattern}.py \
|
||||
|| die "sed pyparsing failed"
|
||||
|
||||
# suggested by upstream
|
||||
# sed \
|
||||
# -e '/tol/s:32:35:g' \
|
||||
# -i lib/matplotlib/tests/test_mathtext.py || die
|
||||
|
||||
sed \
|
||||
-e "s:/usr/:${EPREFIX}/usr/:g" \
|
||||
-i setupext.py || die
|
||||
|
||||
export XDG_RUNTIME_DIR="${T}/runtime-dir"
|
||||
mkdir "${XDG_RUNTIME_DIR}" || die
|
||||
chmod 0700 "${XDG_RUNTIME_DIR}" || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_configure_all() {
|
||||
append-flags -fno-strict-aliasing
|
||||
append-cppflags -DNDEBUG # or get old trying to do triangulation
|
||||
tc-export PKG_CONFIG
|
||||
}
|
||||
|
||||
python_configure() {
|
||||
mkdir -p "${BUILD_DIR}" || die
|
||||
|
||||
# create setup.cfg (see setup.cfg.template for any changes).
|
||||
|
||||
# common switches.
|
||||
cat > "${BUILD_DIR}"/setup.cfg <<- EOF || die
|
||||
[directories]
|
||||
basedirlist = "${EPREFIX}/usr"
|
||||
[provide_packages]
|
||||
pytz = False
|
||||
dateutil = False
|
||||
[gui_support]
|
||||
agg = True
|
||||
$(use_setup cairo)
|
||||
$(use_setup pyside)
|
||||
$(use_setup qt4)
|
||||
$(use_setup qt5)
|
||||
$(use_setup tk)
|
||||
EOF
|
||||
|
||||
if use gtk3 && use cairo; then
|
||||
echo "gtk3cairo = True" >> "${BUILD_DIR}"/setup.cfg || die
|
||||
else
|
||||
echo "gtk3cairo = False" >> "${BUILD_DIR}"/setup.cfg || die
|
||||
fi
|
||||
|
||||
if $(python_is_python3); then
|
||||
cat >> "${BUILD_DIR}"/setup.cfg <<- EOF || die
|
||||
six = True
|
||||
fltk = False
|
||||
fltkagg = False
|
||||
gtk = False
|
||||
gtkagg = False
|
||||
wx = False
|
||||
wxagg = False
|
||||
EOF
|
||||
else
|
||||
cat >> "${BUILD_DIR}"/setup.cfg <<-EOF || die
|
||||
six = False
|
||||
$(use_setup fltk)
|
||||
$(use_setup gtk2 gtk)
|
||||
$(use_setup gtk3)
|
||||
$(use_setup wxwidgets wx)
|
||||
EOF
|
||||
fi
|
||||
}
|
||||
|
||||
wrap_setup() {
|
||||
local MPLSETUPCFG=${BUILD_DIR}/setup.cfg
|
||||
export MPLSETUPCFG
|
||||
unset DISPLAY
|
||||
|
||||
# Note: remove build... if switching to out-of-source build
|
||||
"${@}" build --build-lib="${BUILD_DIR}"/build/lib
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
wrap_setup distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
cd doc || die
|
||||
|
||||
# necessary for in-source build
|
||||
local -x PYTHONPATH="${BUILD_DIR}"/build/lib:${PYTHONPATH}
|
||||
|
||||
VARTEXFONTS="${T}"/fonts \
|
||||
"${EPYTHON}" ./make.py --small html || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
wrap_setup distutils_install_for_testing
|
||||
|
||||
# virtx ${EPYTHON} tests.py \
|
||||
# --no-pep8 \
|
||||
# --no-network \
|
||||
# --verbose \
|
||||
# --processes=$(makeopts_jobs)
|
||||
|
||||
virtx "${EPYTHON}" -c "import sys, matplotlib as m; sys.exit(0 if m.test(verbosity=2) else 1)"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
wrap_setup distutils-r1_python_install
|
||||
|
||||
# mpl_toolkits namespace
|
||||
python_moduleinto mpl_toolkits
|
||||
python_domodule lib/mpl_toolkits/__init__.py
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
|
||||
find "${D}" -name '*.pth' -delete || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST oslo.rootwrap-5.4.0.tar.gz 40741 SHA256 8b3c1c5726e0845fcd00d9f951f012bdd3405380acf125428268fba4f70f3c00 SHA512 9848d9f18b7a4063f74d170615b99dc3ebcbcba1ff1f0a10f42b2af9284dd58a65a6b483bed20d176de00170ad60ac7b847cf5a31b950fcd7bf06ecbaecb1823 WHIRLPOOL 0996255270825040156767ae1b08a82aa8df87cabd9122522866ce38e99278c72242d1dfae5e0417267d1dd683b5e3d4ba0d3dcbc75e4449df2a01b267ea24b2
|
||||
DIST oslo.rootwrap-5.4.1.tar.gz 42202 SHA256 a76cf545515c1cf6d4d9b1a01a339c1356d1eb78ff3b2190e168dafead3c7e7d SHA512 71980ea266703c7880834cf75b69be9f7bee834a3be314f13ade1bb9903ecf6337237a32a1ed06d020c2fdd3807642af1dd676b6736052d4e57784942782d960 WHIRLPOOL 321a2e9774e3702015510d608e4e145d9fc69c4069865dd5215ad6e94e3692e7e56e029298e908fc007f487d54737d3cd4218dfc93d0625c6950edba45da56b2
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Allows fine filtering of shell commands to run as root from OpenStack services"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/oslo.config"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/oslo.rootwrap/oslo.rootwrap-${PV}.tar.gz"
|
||||
S="${WORKDIR}/oslo.rootwrap-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
CDEPEND="
|
||||
>=dev-python/pbr-1.8[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
${CDEPEND}
|
||||
test? (
|
||||
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-sphinx-4.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/reno-1.8.0[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
RDEPEND=">=dev-python/six-1.9.0[${PYTHON_USEDEP}]"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i '/^hacking/d' test-requirements.txt || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
sed -i 's/sbin\/ip/bin\/ip/g' tests/test_rootwrap.py
|
||||
nosetests tests/ || die "test failed under ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="${PN/-/.}"
|
||||
DESCRIPTION="Sphinx plugin to add links and timestamps to the changelog"
|
||||
HOMEPAGE="https://github.com/jaraco/rst.linker"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/path-py[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-2.8[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && esetup.py build_sphinx
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test -v --ignore=rst || die "tests failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
|
||||
# namespace used only by this package in Gentoo at the moment
|
||||
python_moduleinto rst
|
||||
python_domodule rst/__init__.py
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. )
|
||||
distutils-r1_python_install_all
|
||||
|
||||
find "${D}" -name '*.pth' -delete || die
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
DIST docker-distribution-pruner-0_p20170401.tar.gz 6245783 SHA256 104b142b17b02b570b773717ee57fbb4350c37d274051e989cd88b8154d5d70a SHA512 8e2bf3c9be37f7b16299e1e7219d646e2b037ff40ba244bb2262905ab9864b212d7f96d844a096b057c6111440d66236f8ed5eb4a61e95f7a81bac3516f65cdd WHIRLPOOL 9c2fdb153f00ca812c4e570df970c3ed8c47629a334a3f8672f869a68488d88eb9a867b4e02e58d57f8c1031c549e641caf9ec8987a4936b5b66ffd24aa7e224
|
||||
DIST github.com-go-yaml-yaml-a3f3340b5840cee44f372bddb5880fcbc419b46a.tar.gz 60814 SHA256 0904953c06aa32c6691cec2390437f7d4d62c71f37d72f50d110a6577c87963b SHA512 184a0e658a4eac3b867533cd0e494bd84db94fbe10e8df0d0b755c7ffc95bc99e2f84c0157183ca74cdc79289a85dcf7f1dea8a4c89a253565baf473b3627eae WHIRLPOOL c9113048502f65a4036bbfbd4f072b27b41f68547e682d1e1496ae73c65c30b1470061d1f99d17e6b4a373e59e07568b460ad5396eb4b1f16079da077aa8382f
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
EGO_PN="gitlab.com/gitlab-org/${PN}/..."
|
||||
EGIT_COMMIT="207b308c12b1717c6e3d2adf5e1ffe504c64f56e"
|
||||
|
||||
EGO_VENDOR=( "gopkg.in/yaml.v2 a3f3340b5840cee44f372bddb5880fcbc419b46a github.com/go-yaml/yaml" )
|
||||
|
||||
inherit golang-build golang-vcs-snapshot
|
||||
|
||||
ARCHIVE_URI="https://${EGO_PN%/*}/repository/archive.tar.gz?ref=${EGIT_COMMIT} -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="Clean all old container revisions from registry"
|
||||
HOMEPAGE="https://gitlab.com/gitlab-org/docker-distribution-pruner"
|
||||
SRC_URI="${ARCHIVE_URI}
|
||||
${EGO_VENDOR_URI}"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_compile() {
|
||||
pushd src || die
|
||||
GOPATH="${WORKDIR}/${P}" go install gitlab.com/gitlab-org/docker-distribution-pruner || die
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/${PN}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>mrueg@gentoo.org</email>
|
||||
<name>Manuel Rüger</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1 +1 @@
|
||||
Mon, 22 May 2017 13:39:27 +0000
|
||||
Mon, 22 May 2017 21:09:28 +0000
|
||||
|
@ -1 +1 @@
|
||||
Mon, 22 May 2017 13:39:27 +0000
|
||||
Mon, 22 May 2017 21:09:28 +0000
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue