parent
289260a87d
commit
db8d161f59
@ -1,113 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit base fdo-mime prefix qmake-utils
|
||||
|
||||
DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
|
||||
HOMEPAGE="http://texstudio.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd"
|
||||
IUSE="video +qt4 qt5"
|
||||
|
||||
REQUIRED_USE="^^ ( qt4 qt5 )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-text/hunspell
|
||||
app-text/poppler:=[qt4?,qt5?]
|
||||
>=dev-libs/quazip-0.7.1[qt4?,qt5?]
|
||||
dev-qt/qtsingleapplication[qt4?,qt5?]
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
qt4? (
|
||||
dev-qt/designer:4
|
||||
>=dev-qt/qtgui-4.8.5:4
|
||||
>=dev-qt/qtcore-4.6.1:4
|
||||
>=dev-qt/qtscript-4.6.1:4
|
||||
>=dev-qt/qtsvg-4.6.1:4
|
||||
>=dev-qt/qttest-4.6.1:4
|
||||
)
|
||||
qt5? (
|
||||
dev-qt/designer:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtprintsupport:5
|
||||
dev-qt/qtscript:5
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qttest:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtxml:5
|
||||
)
|
||||
video? ( media-libs/phonon[qt4?,qt5?] )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/latex-base
|
||||
app-text/psutils
|
||||
app-text/ghostscript-gpl
|
||||
media-libs/netpbm"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}"/${P/-/}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.6.4-hunspell-quazip.patch
|
||||
"${FILESDIR}"/${PN}-2.8.2-desktop.patch
|
||||
# Get it from fedora
|
||||
"${FILESDIR}"/${PN}-2.5-viewers-use-xdg-open.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
find hunspell quazip utilities/poppler-data qtsingleapplication -delete || die
|
||||
|
||||
if use video; then
|
||||
sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
|
||||
fi
|
||||
|
||||
sed \
|
||||
-e '/hunspell.pri/d' \
|
||||
-e '/quazip.pri/d' \
|
||||
-e '/qtsingleapplication.pri/d' \
|
||||
-e '/QUAZIP_STATIC/d' \
|
||||
-i ${PN}.pro || die
|
||||
|
||||
# cat >> ${PN}.pro <<- EOF
|
||||
# exists(texmakerx_my.pri):include(texmakerx_my.pri)
|
||||
# EOF
|
||||
|
||||
cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die
|
||||
eprefixify ${PN}.pri
|
||||
|
||||
epatch ${PATCHES[@]}
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use qt5; then
|
||||
eqmake5
|
||||
else
|
||||
eqmake4
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i
|
||||
for i in 16x16 22x22 32x32 48x48 64x64 128x128; do
|
||||
insinto /usr/share/icons/hicolor/${i}
|
||||
newins utilities/${PN}${i}.png ${PN}.png
|
||||
done
|
||||
emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST dos2unix-6.0.6.tar.gz 339149 SHA256 8abbd4e9a630ef649f5ff359df10786c50b302c1b6515cf99bd787adea23d276 SHA512 6affdcdc34b1f0c8b1bab46ed63af73a62abf80d64b44e951e354d05b420dbdf32a918a1bca5b427120927e1ec3fe5553cf9b7bf000de30d955ff760b6b66e45 WHIRLPOOL dbdf70a0c7dc4b5714184f333c49e438dda22f20cfc8a65ad9dcc662ccc8c01c928097a10e7932d98f398deb408d6168286b86dc550f77c6540806e3e0302d65
|
||||
DIST dos2unix-7.3.1.tar.gz 552530 SHA256 f4d5df24d181c2efecf7631aab6e894489012396092cf206829f1f9a98556b94 SHA512 8bfe2ed739f5b28ceddbcd33e8a214b1cbc4b02ddab6f0528d050c411754365b6b7314a857a45cefaf13f719ad86a1fe7c18841e63f851f7f4c9e586cfa4f0fd WHIRLPOOL 5eae8985f5aeabe82230cf9451509469323a3c97e9a256bb6a31e82b77e9d2ac74c88d87147e6feeff9f088a48b9df910f900f9f952bf17809f07ee7478ce060
|
||||
DIST dos2unix-7.3.tar.gz 497218 SHA256 8175f7552a72edaaa8918fdee68ce2cbc982dc25452f33d4dc611d769f4944d1 SHA512 dc70fc4cf12811794e9b33db7cc44085788450104f7beefacea5ac11af5ca76d909235232be51eb7a32ed5d75a01a86a4c6b064060b945c8a7e7968caeb51cea WHIRLPOOL 55b3990816a122c4bc2219b1f89b5d7f619901693b57349b58222166f5c3e006db08a55a26ce62493009459b9a3c6a091a07ecacabf9450a0a7475fbd9f195ae
|
||||
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Convert DOS or MAC text files to UNIX format or vice versa"
|
||||
HOMEPAGE="http://www.xs4all.nl/~waterlan/dos2unix.html http://sourceforge.net/projects/dos2unix/"
|
||||
SRC_URI="
|
||||
http://www.xs4all.nl/~waterlan/${PN}/${P}.tar.gz
|
||||
mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
|
||||
IUSE="debug nls"
|
||||
|
||||
RDEPEND="
|
||||
!app-text/hd2u
|
||||
!app-text/unix2dos
|
||||
virtual/libintl"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
dev-lang/perl"
|
||||
|
||||
src_prepare() {
|
||||
sed \
|
||||
-e '/^LDFLAGS/s|=|+=|' \
|
||||
-e '/CFLAGS_OS \+=/d' \
|
||||
-e '/LDFLAGS_EXTRA \+=/d' \
|
||||
-e "/^CFLAGS/s|-O2|${CFLAGS}|" \
|
||||
-i Makefile || die
|
||||
|
||||
if use debug ; then
|
||||
sed -e "/^DEBUG/s:0:1:" \
|
||||
-e "/EXTRA_CFLAGS +=/s:-g::" \
|
||||
-i Makefile || die
|
||||
fi
|
||||
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
lintl() {
|
||||
# same logic as from virtual/libintl
|
||||
use !elibc_glibc && use !elibc_uclibc && echo "-lintl"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake prefix="${EPREFIX}/usr" \
|
||||
$(usex nls "LDFLAGS_EXTRA=$(lintl)" "ENABLE_NLS=")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" prefix="${EPREFIX}/usr" \
|
||||
$(usex nls "" "ENABLE_NLS=") install
|
||||
}
|
@ -1,77 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit base java-pkg-2 linux-info versionator
|
||||
|
||||
RTM_NAME="JSS_${PV//./_}_RTM"
|
||||
DESCRIPTION="Network Security Services for Java (JSS)"
|
||||
HOMEPAGE="http://www.mozilla.org/projects/security/pki/jss/"
|
||||
# To prepare this tarball
|
||||
# cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot export \
|
||||
# -r JSS_4_3_RTM mozilla/security/coreconf
|
||||
# cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot export \
|
||||
# -r JSS_4_3_RTM mozilla/security/jss
|
||||
# tar cvjf jss-4.3.tar.bz2 mozilla
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MPL-1.1"
|
||||
SLOT="3.4"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="doc examples source"
|
||||
|
||||
RDEPEND=">=dev-libs/nspr-4.7
|
||||
>=dev-libs/nss-3.12"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
app-arch/zip
|
||||
virtual/pkgconfig
|
||||
>=sys-apps/sed-4
|
||||
${RDEPEND}"
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/mozilla
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-3.4-target_source.patch"
|
||||
"${FILESDIR}/${PN}-4.2.5-use_pkg-config.patch"
|
||||
"${FILESDIR}/${P}-ldflags.patch"
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
export JAVA_GENTOO_OPTS="-target $(java-pkg_get-target) -source $(java-pkg_get-source)"
|
||||
use amd64 && export USE_64=1
|
||||
cd "${S}/security/coreconf" || die
|
||||
|
||||
# Hotfix for kernel 3.x #379283
|
||||
get_running_version || die "Failed to determine kernel version"
|
||||
if [[ ${KV_MAJOR} -ge 3 ]]; then
|
||||
cp Linux2.6.mk Linux${KV_MAJOR}.${KV_MINOR}.mk || die
|
||||
fi
|
||||
|
||||
emake -j1 BUILD_OPT=1 || die "coreconf make failed"
|
||||
|
||||
cd "${S}/security/jss" || die
|
||||
emake -j1 BUILD_OPT=1 USE_PKGCONFIG=1 NSS_PKGCONFIG=nss NSPR_PKGCONFIG=nspr || die "jss make failed"
|
||||
if use doc; then
|
||||
emake -j1 BUILD_OPT=1 javadoc || die "failed to create javadocs"
|
||||
fi
|
||||
}
|
||||
|
||||
# Investigate why this fails
|
||||
RESTRICT="test"
|
||||
|
||||
src_test() {
|
||||
BUILD_OPT=1 perl security/jss/org/mozilla/jss/tests/all.pl dist \
|
||||
"${S}"/dist/Linux*.OBJ/
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar dist/*.jar
|
||||
# Use this instead of the one in dist because it is a symlink
|
||||
# and doso handles symlinks by just symlinking to the original
|
||||
java-pkg_doso ./security/${PN}/lib/*/*.so
|
||||
use doc && java-pkg_dojavadoc dist/jssdoc
|
||||
use source && java-pkg_dosrc ./security/jss/org
|
||||
use examples && java-pkg_doexamples ./security/jss/samples
|
||||
}
|
@ -0,0 +1,142 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic java-pkg-opt-2 multilib
|
||||
|
||||
PATCHSET_VER="0"
|
||||
|
||||
DESCRIPTION="free, small, and standard compliant Prolog compiler"
|
||||
HOMEPAGE="http://www.swi-prolog.org/"
|
||||
SRC_URI="http://www.swi-prolog.org/download/devel/src/swipl-${PV}.tar.gz
|
||||
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="archive berkdb debug doc +gmp hardened java libressl minimal odbc +readline ssl static-libs test uuid zlib X"
|
||||
|
||||
RDEPEND="sys-libs/ncurses:=
|
||||
archive? ( app-arch/libarchive )
|
||||
berkdb? ( >=sys-libs/db-4:= )
|
||||
zlib? ( sys-libs/zlib )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
readline? ( sys-libs/readline:= )
|
||||
gmp? ( dev-libs/gmp:0 )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
)
|
||||
java? ( >=virtual/jdk-1.5:= )
|
||||
uuid? ( dev-libs/ossp-uuid )
|
||||
X? (
|
||||
virtual/jpeg:0
|
||||
x11-libs/libX11
|
||||
x11-libs/libXft
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXt
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-proto/xproto )
|
||||
java? ( test? ( =dev-java/junit-3.8* ) )"
|
||||
|
||||
S="${WORKDIR}/swipl-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE=yes
|
||||
EPATCH_SUFFIX=patch
|
||||
epatch "${WORKDIR}"/${PV}
|
||||
|
||||
if ! use uuid; then
|
||||
mv packages/clib/uuid.pl packages/clib/uuid.pl.unused || die
|
||||
fi
|
||||
|
||||
# OSX/Intel ld doesn't like an archive without table of contents
|
||||
sed -i -e 's/-cru/-scru/' packages/nlp/libstemmer_c/Makefile.pl || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
use ppc && append-flags -mno-altivec
|
||||
use hardened && append-flags -fno-unit-at-a-time
|
||||
use debug && append-flags -DO_DEBUG
|
||||
|
||||
# ARCH is used in the configure script to figure out host and target
|
||||
# specific stuff
|
||||
export ARCH=${CHOST}
|
||||
|
||||
export CC_FOR_BUILD=$(tc-getBUILD_CC)
|
||||
|
||||
cd "${S}"/src || die
|
||||
econf \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
$(use_enable gmp) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable static-libs static) \
|
||||
--enable-shared \
|
||||
--enable-custom-flags COFLAGS="${CFLAGS}"
|
||||
|
||||
if ! use minimal ; then
|
||||
local jpltestconf
|
||||
if use java && use test ; then
|
||||
jpltestconf="--with-junit=$(java-config --classpath junit)"
|
||||
fi
|
||||
|
||||
cd "${S}/packages" || die
|
||||
econf \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
$(use_with archive) \
|
||||
$(use_with berkdb bdb ) \
|
||||
$(use_with java jpl) \
|
||||
${jpltestconf} \
|
||||
$(use_with odbc) \
|
||||
$(use_with ssl) \
|
||||
$(use_with X xpce) \
|
||||
$(use_with zlib) \
|
||||
COFLAGS='"${CFLAGS}"'
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/src || die
|
||||
emake
|
||||
|
||||
if ! use minimal ; then
|
||||
cd "${S}/packages" || die
|
||||
emake
|
||||
./report-failed || die "Cannot report failed packages"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/src" || die
|
||||
emake check
|
||||
|
||||
if ! use minimal ; then
|
||||
unset DISPLAY
|
||||
cd "${S}/packages" || die
|
||||
emake \
|
||||
USE_PUBLIC_NETWORK_TESTS=false \
|
||||
USE_ODBC_TESTS=false \
|
||||
check
|
||||
./report-failed || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C src DESTDIR="${D}" install
|
||||
|
||||
if ! use minimal ; then
|
||||
emake -C packages DESTDIR="${D}" install
|
||||
if use doc ; then
|
||||
emake -C packages DESTDIR="${D}" html-install
|
||||
fi
|
||||
./packages/report-failed || die "Cannot report failed packages"
|
||||
fi
|
||||
|
||||
dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST quazip-0.6.2.tar.gz 423027 SHA256 adf4047213662a0362090edaaee4283216df2034ab5923697f9aa81d081c0b43 SHA512 32eb0b8faadb5f08086874c8ac33e3ea794a8a2e9c2904d0965cb5b15aec6280080aa19a032a19701e367873e8c3b613834823bb077b8fd254c5db4939917e49 WHIRLPOOL dc4fcab4b062631960236ef7cd9c0f43e5d419e34c3880b3caf02965f8a8302d622a1dc25f081cc2bcc5d3db96494b3d178a8f1d4b678cb452503af23e14e193
|
||||
DIST quazip-0.7.1.tar.gz 390629 SHA256 78c984103555c51e6f7ef52e3a2128e2beb9896871b2cc4d4dbd4d64bff132de SHA512 58e044019505075aa89f112672c04c54875d98b353ac5a39b6eb3e1f08ea27bd9900126d902c282b87910e4bae5ab9da79942b9add7a5535625c187331445acc WHIRLPOOL bf683e90fd58ae4d94d72f4b4530754eb1944df03adccd4e0302fe7ec82afe07fd54c9d6975ba4f1b30e3d14928fbcc6c987ec612deeb6b66be9c86c5e5d9787
|
||||
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib qt4-r2
|
||||
|
||||
DESCRIPTION="A simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package"
|
||||
HOMEPAGE="http://quazip.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm hppa ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/zlib[minizip]
|
||||
dev-qt/qtcore:4"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-qt/qttest:4 )"
|
||||
|
||||
S="${WORKDIR}"/${P}
|
||||
|
||||
DOCS="NEWS.txt README.txt"
|
||||
HTML_DOCS=( doc/html/. )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.5.1-prll.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
sed \
|
||||
-e "s:\/lib$:\/$(get_libdir):g" \
|
||||
-i ${PN}/${PN}.pro || die
|
||||
|
||||
echo "PREFIX=${EPREFIX}/usr" >> ${PN}/${PN}.pri || die
|
||||
|
||||
use test || sed -e 's:qztest::g' -i ${PN}.pro || die
|
||||
qt4-r2_src_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd qztest || die
|
||||
LD_LIBRARY_PATH="${S}"/${PN} ./qztest || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/cmake/Modules
|
||||
doins FindQuaZip.cmake
|
||||
qt4-r2_src_install
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST camlp5-6.12.tgz 716173 SHA256 b716c8b248289205bc76823000bc0b0988517cfcfd9c2eb1a3c43cc2cd7d5c02 SHA512 33cf0738b0f8f1daad0f40158654c32a7a4b1559671c6f95193a9c71bb0fdb7f8328a3d012c5fdba83fe940882588a6e12c242a7585dd193974d4f7dedbdbc12 WHIRLPOOL 76d1d2c3eaf8781e594a66e50b2b2d2858a11310b7f8ed5f43cfef2d6598acb0ae573a4ab16154d8aee1d51043cc0e7a24fd9c0fb2d92651000a5100d0a9a50b
|
||||
DIST camlp5-6.13.tgz 719912 SHA256 d1e948c04079e417d2b616f03f57cda9b6111c563d7ce59a8956ac93772e4aa9 SHA512 184280c0de77c72125c82b4ad93cba0af713374838248a3f0250b775a75f1a0a34d3c48a037fb91601d70a637cdf6b005222f866a700bb024c4a0caa8dbc41b7 WHIRLPOOL feef006286a0011157dc5076fb7397a2de651e831ed26a90ed80f1bc3b36f8eb35d2c7fd3eff4a37501a729314e921b7c7aaa7715df8bfba5408976ff28bd127
|
||||
DIST camlp5-6.14.tgz 748674 SHA256 09f9ed12893d2ec39c88106af2306865c966096bedce0250f2fe52b67d2480e2 SHA512 7dd57b8725953099726fc2e5f6dda01ed74485a4bbf41cb30ccd2163ee38bc6dff36fd83069c58d7990522527d266c9e180a8e333b36a42bc216315dc88a25e9 WHIRLPOOL 305bb842e449775352cbbf3c89a301a188419c10462f0959b00e181596218b5251dac50856f152ad471fd680e557e6595978c395e9c2864c38ddacd7287c4e3b
|
||||
|
@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit multilib findlib eutils
|
||||
|
||||
MY_P=${P%_p*}
|
||||
DESCRIPTION="A preprocessor-pretty-printer of ocaml"
|
||||
HOMEPAGE="http://camlp5.gforge.inria.fr/"
|
||||
SRC_URI="http://camlp5.gforge.inria.fr/distrib/src/${MY_P}.tgz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="amd64 ppc x86 ~x86-fbsd"
|
||||
IUSE="doc +ocamlopt"
|
||||
|
||||
DEPEND=">=dev-lang/ocaml-3.10:=[ocamlopt?]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHLEVEL=${PV#*_p}
|
||||
PATCHLIST=""
|
||||
|
||||
if [ "${PATCHLEVEL}" != "${PV}" ] ; then
|
||||
for (( i=1; i<=PATCHLEVEL; i++ )) ; do
|
||||
SRC_URI="${SRC_URI}
|
||||
http://pauillac.inria.fr/~ddr/camlp5/distrib/src/patch-${PV%_p*}-${i} -> ${MY_P}-patch-${i}.patch"
|
||||
PATCHLIST="${PATCHLIST} ${MY_P}-patch-${i}.patch"
|
||||
done
|
||||
fi
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
for i in ${PATCHLIST} ; do
|
||||
epatch "${DISTDIR}/${i}"
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
--strict \
|
||||
-prefix /usr \
|
||||
-bindir /usr/bin \
|
||||
-libdir /usr/$(get_libdir)/ocaml \
|
||||
-mandir /usr/share/man || die "configure failed"
|
||||
}
|
||||
|
||||
src_compile(){
|
||||
emake out
|
||||
if use ocamlopt; then
|
||||
emake opt
|
||||
emake opt.opt
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
# findlib support
|
||||
insinto "$(ocamlfind printconf destdir)/${PN}"
|
||||
doins etc/META
|
||||
|
||||
use doc && dohtml -r doc/*
|
||||
|
||||
dodoc CHANGES DEVEL ICHANGES README UPGRADING MODE
|
||||
}
|
@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit multilib findlib eutils
|
||||
|
||||
MY_P=${P%_p*}
|
||||
DESCRIPTION="A preprocessor-pretty-printer of ocaml"
|
||||
HOMEPAGE="http://camlp5.gforge.inria.fr/"
|
||||
SRC_URI="http://camlp5.gforge.inria.fr/distrib/src/${MY_P}.tgz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
IUSE="doc +ocamlopt"
|
||||
|
||||
DEPEND=">=dev-lang/ocaml-3.10:=[ocamlopt?]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHLEVEL=${PV#*_p}
|
||||
PATCHLIST=""
|
||||
|
||||
if [ "${PATCHLEVEL}" != "${PV}" ] ; then
|
||||
for (( i=1; i<=PATCHLEVEL; i++ )) ; do
|
||||
SRC_URI="${SRC_URI}
|
||||
http://pauillac.inria.fr/~ddr/camlp5/distrib/src/patch-${PV%_p*}-${i} -> ${MY_P}-patch-${i}.patch"
|
||||
PATCHLIST="${PATCHLIST} ${MY_P}-patch-${i}.patch"
|
||||
done
|
||||
fi
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
for i in ${PATCHLIST} ; do
|
||||
epatch "${DISTDIR}/${i}"
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
--strict \
|
||||
-prefix /usr \
|
||||
-bindir /usr/bin \
|
||||
-libdir /usr/$(get_libdir)/ocaml \
|
||||
-mandir /usr/share/man || die "configure failed"
|
||||
}
|
||||
|
||||
src_compile(){
|
||||
emake out
|
||||
if use ocamlopt; then
|
||||
emake opt
|
||||
emake opt.opt
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
# findlib support
|
||||
insinto "$(ocamlfind printconf destdir)/${PN}"
|
||||
doins etc/META
|
||||
|
||||
use doc && dohtml -r doc/*
|
||||
|
||||
dodoc CHANGES DEVEL ICHANGES README UPGRADING MODE
|
||||
}
|
@ -1,13 +1,2 @@
|
||||
DIST cryptography-0.5.4.tar.gz 320104 SHA256 5675999f3744cbc32a60cb0bba64de21405abced32ce19655212612262dd270d SHA512 bdfaed6271e21d8b5cef4e8d0cdb7fd4bfb5b607c0f14c7b33888301f9922035f337120c3252d2df16f1844129d4b18dd97abe566bccc18c829faa752af2b4a7 WHIRLPOOL 5522d40bef251b5005e17fa2f43c4f015a7422c2aa9a09cfed8f84365506a1c8d9a97d956d97a3130a46aa7a0d0e90258f9c365ffb196ad0df2be4f6548e3b10
|
||||
DIST cryptography-0.6.1.tar.gz 236721 SHA256 024910130a01eda0ce969764d893d2e397168ebb94181ca1ea3e23e19912329e SHA512 b99338bbbeb70f37e0bfcc6ef33ddff5beb74f7876a30d34deb3a433ddd77f821e5cc5dde228f792362ae7a261d4ceb3b702fb1a8c30ce15a1e6e4de98ef1afa WHIRLPOOL a641342fe13f584ee657aa917172810117416cd426746af30499e43174041c8031598c223398dace1ad1385e3905a27c9f6e5ac5def88a8b87e2ed3bfd95b9ce
|
||||
DIST cryptography-0.7.1.tar.gz 247309 SHA256 9ee59090b242ad0d6abcedebb9ab54358d5efd1a45706195f6e5928f7725bb76 SHA512 ae552fcb8005c98ded32b47edf61d4bf2b495c63b9ac744545d3d1ada7f6f64b1b23a5d9f396bf2a998fcc58370307c893f324806e0c825b9c63fe78698bdc4b WHIRLPOOL dfdb3ff90291c7f3dca3835532608b742c9768311b204bb4a41c62ed6d4ed48b812898a482d86ced10887daebe2b57b1451df51f297f9a19a7ce80a05446f938
|
||||
DIST cryptography-0.7.2.tar.gz 247477 SHA256 fab7fcdde360ec6614442d0321dcd0eff5e43544cb30d975e9d75a914a4cdf78 SHA512 5afc8e01ffcdbd829716e65663cca91ad7ec42f5b65f64f6f1d3189c5cb7a209dcd67698225e1bb54eb6428fa5abdd25405a7ae1d234d5194697d3b879483226 WHIRLPOOL a5ed7d6f9e9f51d9a41e1014968ccada84b13b5e6f80ad14278edb1eacbf7abf4ed5009b942845840ba84b50b4dd4bcd2c41032444e3452fd42c669babdcdbed
|
||||
DIST cryptography-0.8.1.tar.gz 268240 SHA256 f4e041bc83c1be94d87116a7aa201c378b7c6581be4d83994b2da0a84499f73b SHA512 84b32ca493f31efe00a4c18104dfcba4d1f6de0698f1606057b1473ae2217448a319d62c1b872955639129bdf5f69d2e7fcdf5b7ef9b0ecc0cd98c92f224f557 WHIRLPOOL c0fb0a1948fdc2f03127184d1dd16b5b97338953c6ab8c08c568df45cfec15d307797bb71a612667f4c856b6630fad6bd02d24df4d602c73e39b2b10f554f165
|
||||
DIST cryptography-0.8.2.tar.gz 268288 SHA256 1c9a022ab3decaf152093e2ef2d5ee4258c72c7d429446c86bd68ff8c0929db6 SHA512 8a76e325387284facdaa381c27fd8ca3c2e7e4c6dfe41bf6eccdfdc4004f8a5bd8a95f0ff6537dd012f5c7fcec5f86d96fe86a64ec15d63e4bf673d8461a8225 WHIRLPOOL bbee1a538daf9fffcdd87f132e678505f2c92def5e00a3c139c68cfc1a91308546705954d9d546696a9f50cb750ddc9e60fe42bbcdc48516c7e06662b7f715a7
|
||||
DIST cryptography-0.8.tar.gz 268083 SHA256 e54601e4dec2b8acb90f5ed3b93d23d280964adbefe1723ac82acc453a694480 SHA512 e17d2d31f1d6da782eb3531ca9dded14e137ddc61893ef17a8238997274a85e77e8a957e1eec3ed3960675694f97750ca1f6821a2e8d974795bca3b2be49e196 WHIRLPOOL ecef7a807934006ce2266ba0636a9a8b5bd30a49931ba9c83dabbd1bd6b47523dd3d32205d1ac4f94f2a8bfe4c1b23ac36fcddf4092d9e756beda74379dfc7dd
|
||||
DIST cryptography-0.9.2.tar.gz 302972 SHA256 bc9ddd1442ce67a5bbd5598eced127de000da55f0ce25498b1174746c0290b3c SHA512 3d13f0284d484911b1f7067966f3727de9019d24af379b1adb1e0377888680b9385792e481888d2b357bce20f250a948c22b34743b4aeb955d736e8ae9ca88da WHIRLPOOL 0832bfdaff40e89750d92ffd5298be5c39fc1b4606ee7f769a68fb469e9e2175837f1b3f660f774a793538e050f2081fd69201f882a5bd77713e1bacd3115370
|
||||
DIST cryptography-0.9.3.tar.gz 303075 SHA256 aed022f738dd9adb840d92960b0464ea1fbb222ba118938858eb93fe25151c2d SHA512 828dd6d3af940c91f77b9bcefb34ca9cc3ac05606d707889ff35bf708c3536414db46f8db7d7dcbffe2ad1f82834bc9edab1b28b05fee3f2a5f9f5a56abd697c WHIRLPOOL 33eb42741cf2426ffe16d50d0f555fee65637d812f9510016ceb708f9c591f38de2d65e4b4118f744ff9b73596727160501ec5d077bfe0935d088586909b979d
|
||||
DIST cryptography-1.0.1.tar.gz 332242 SHA256 cfe3092a6a929bc3a97c3b752044b79d09c9b210860c7b4eb5061aea29dcbfd3 SHA512 a813084f09113baf17ea344dc2bc71fc09a164908661e8a469997c5212a30c09f65b87f84df0f2c70a38b3529faeb78e08430054d065bd46fc625a1bd62d1ddb WHIRLPOOL f7039799f11da6f95826936e5279d8e9be8971af33601058a910a34d62e1f53879ce93fb69dbd3909d3a2890680c1dabc3a5ce812b34c6882764aafd9ab0ce94
|
||||
DIST cryptography-1.0.2.tar.gz 332870 SHA256 d64cd491e91ddf642c643bea16532c2a2da2da054cca6df756edadd55a8bacca SHA512 f266fbee6ab06ed6a552599dffe6d3e959dd858e6be7b81c0d4489c384fbb2b5de5ecf4f1e43e1dacbaa6ddefd1562f10961caec73cb3ed256faa03a5d4eff85 WHIRLPOOL ba8c13df5c58ab551f43ddf51cde8e85835a06eda83e5a5039e32308431b6f365692b01ea343adba6fcafe80d045a04b8ef37324e5bf1ada0adef10752f1e321
|
||||
DIST cryptography-1.0.tar.gz 331438 SHA256 211c02fe77d791d7fc437227ba1c046268d5da665e05d8a53fc19f4f74c21001 SHA512 a4e4f8b054a357e0856a67b246ba770f38222f45f0d8c3185bdfe20593f4d5a20d2082a0c7b9986d5b557dc2b43a0903bcb37eba10e4ca1d83f903fea6c39753 WHIRLPOOL c36bead358e8d30785f3d565366a0a8ec7b356cd31274aac7d0fe0286d36af52916fb3840000d22c53e487d26adb6d42b6dd69d1d7d5aed2fe20dc8cbef86e77
|
||||
DIST cryptography-1.1.tar.gz 348676 SHA256 059bc6428b1d0e2317f505698602642f1d8dda5b120ec573a59a430d8cb7a32d SHA512 8d5b5ac7cc2dcf7271dcd85c65c42cd815b95ec8502864da1b7c32c4a5905ecc6ae45f54d11e7b539d9ddf10d8bd3de9f40233c0b3cbdd1132b2ffbd4ebb318f WHIRLPOOL 0f154e624a51ebbc342ea082fc00a66b21024c81f3265e7d0e22e089afc5e83dcfe2857113d911db3a8e253d6fe93413ff94b91a83e97fd9405c3f08becc8a03
|
||||
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Library providing cryptographic recipes and primitives"
|
||||
HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.python.org/pypi/cryptography/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-libs/openssl:0
|
||||
>=dev-python/six-1.4.1[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/cffi-0.8:=[${PYTHON_USEDEP}]' 'python*')"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
=dev-python/cryptography-vectors-${PV}[${PYTHON_USEDEP}]
|
||||
dev-python/iso8601[${PYTHON_USEDEP}]
|
||||
dev-python/pretend[${PYTHON_USEDEP}]
|
||||
dev-python/pyasn1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-2.4.2[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst )
|
||||
|
||||
python_test() {
|
||||
py.test -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Library providing cryptographic recipes and primitives"
|
||||
HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.python.org/pypi/cryptography/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ~ppc ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-libs/openssl:0
|
||||
>=dev-python/six-1.4.1[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/cffi-0.8:=[${PYTHON_USEDEP}]' 'python*')
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
~dev-python/cryptography-vectors-${PV}[${PYTHON_USEDEP}]
|
||||
dev-python/iso8601[${PYTHON_USEDEP}]
|
||||
dev-python/pretend[${PYTHON_USEDEP}]
|
||||
dev-python/pyasn1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-2.4.2[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst )
|
||||
|
||||
# Restricted until cffi fixes its compile on import issues
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
py.test -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Library providing cryptographic recipes and primitives"
|
||||
HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.python.org/pypi/cryptography/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 BSD )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-libs/openssl:0
|
||||
>=dev-python/six-1.4.1[${PYTHON_USEDEP}]
|
||||
dev-python/pyasn1[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/cffi-0.8:=[${PYTHON_USEDEP}]' 'python*')
|
||||
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 python3_3 pypy)"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
~dev-python/cryptography-vectors-${PV}[${PYTHON_USEDEP}]
|
||||
dev-python/iso8601[${PYTHON_USEDEP}]
|
||||
dev-python/pretend[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-2.4.2[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst )
|
||||
|
||||
PATCHES=( "${FILESDIR}"/0.7-setup.patch )
|
||||
|
||||
python_test() {
|
||||
py.test -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Library providing cryptographic recipes and primitives"
|
||||
HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.python.org/pypi/cryptography/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 BSD )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-libs/openssl:0
|
||||
>=dev-python/six-1.4.1[${PYTHON_USEDEP}]
|
||||
dev-python/pyasn1[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/cffi-0.8:=[${PYTHON_USEDEP}]' 'python*')
|
||||
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 python3_3 pypy)"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
~dev-python/cryptography-vectors-${PV}[${PYTHON_USEDEP}]
|
||||
dev-python/iso8601[${PYTHON_USEDEP}]
|
||||
dev-python/pretend[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-2.4.2[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst )
|
||||
|
||||
python_test() {
|
||||
py.test -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Library providing cryptographic recipes and primitives"
|
||||
HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.python.org/pypi/cryptography/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 BSD )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-libs/openssl:0
|
||||
>=dev-python/six-1.4.1[${PYTHON_USEDEP}]
|
||||
dev-python/pyasn1[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/cffi-0.8:=[${PYTHON_USEDEP}]' 'python*')
|
||||
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 python3_3 pypy)"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
~dev-python/cryptography-vectors-${PV}[${PYTHON_USEDEP}]
|
||||
dev-python/iso8601[${PYTHON_USEDEP}]
|
||||
dev-python/pretend[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-2.4.2[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst )
|
||||
|
||||
python_test() {
|
||||
py.test -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Library providing cryptographic recipes and primitives"
|
||||
HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.python.org/pypi/cryptography/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 BSD )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-libs/openssl:0
|
||||
>=dev-python/six-1.4.1[${PYTHON_USEDEP}]
|
||||
dev-python/pyasn1[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/cffi-0.8:=[${PYTHON_USEDEP}]' 'python*')
|
||||
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 python3_3 pypy)"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
~dev-python/cryptography-vectors-${PV}[${PYTHON_USEDEP}]
|
||||
dev-python/iso8601[${PYTHON_USEDEP}]
|
||||
dev-python/pretend[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-2.4.2[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst )
|
||||
|
||||
python_test() {
|
||||
py.test -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Library providing cryptographic recipes and primitives"
|
||||
HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.python.org/pypi/cryptography/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 BSD )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-libs/openssl:0
|
||||
>=dev-python/six-1.4.1[${PYTHON_USEDEP}]
|
||||
dev-python/pyasn1[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/cffi-0.8:=[${PYTHON_USEDEP}]' 'python*')
|
||||
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 python3_3 pypy)"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
~dev-python/cryptography-vectors-${PV}[${PYTHON_USEDEP}]
|
||||
dev-python/iso8601[${PYTHON_USEDEP}]
|
||||
dev-python/pretend[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-2.4.2[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst )
|
||||
|
||||
python_test() {
|
||||
py.test -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} pypy )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Library providing cryptographic recipes and primitives"
|
||||
HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.python.org/pypi/cryptography/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 BSD )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/openssl:0
|
||||
$(python_gen_cond_dep '>=dev-python/cffi-0.8:=[${PYTHON_USEDEP}]' 'python*')
|
||||
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 python3_3 pypy)
|
||||
dev-python/idna[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/ipaddress[${PYTHON_USEDEP}]' python2_7 pypy)
|
||||
dev-python/pyasn1[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.4.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
~dev-python/cryptography-vectors-${PV}[${PYTHON_USEDEP}]
|
||||
dev-python/iso8601[${PYTHON_USEDEP}]
|
||||
dev-python/pretend[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-2.4.2[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst )
|
||||
|
||||
python_test() {
|
||||
py.test -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} pypy )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Library providing cryptographic recipes and primitives"
|
||||
HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.python.org/pypi/cryptography/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 BSD )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/openssl:0
|
||||
$(python_gen_cond_dep '>=dev-python/cffi-0.8:=[${PYTHON_USEDEP}]' 'python*')
|
||||
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 python3_3 pypy)
|
||||
dev-python/idna[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/ipaddress[${PYTHON_USEDEP}]' python2_7 pypy)
|
||||
dev-python/pyasn1[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.4.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
~dev-python/cryptography-vectors-${PV}[${PYTHON_USEDEP}]
|
||||
dev-python/iso8601[${PYTHON_USEDEP}]
|
||||
dev-python/pretend[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-2.4.2[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst )
|
||||
|
||||
python_test() {
|
||||
py.test -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# only works with >=pypy-2.6
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} pypy )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Library providing cryptographic recipes and primitives"
|
||||
HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.python.org/pypi/cryptography/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 BSD )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="libressl test"
|
||||
|
||||
RDEPEND="
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
$(python_gen_cond_dep '>=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}]' 'python*')
|
||||
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 python3_3 pypy)
|
||||
>=dev-python/idna-2.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/ipaddress[${PYTHON_USEDEP}]' python2_7 pypy)
|
||||
>=dev-python/pyasn1-0.1.8[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.4.1[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=virtual/pypy-2.6.0' pypy )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
~dev-python/cryptography-vectors-${PV}[${PYTHON_USEDEP}]
|
||||
dev-python/iso8601[${PYTHON_USEDEP}]
|
||||
dev-python/pretend[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-2.4.2[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst )
|
||||
|
||||
python_test() {
|
||||
py.test -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# only works with >=pypy-2.6
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} pypy )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Library providing cryptographic recipes and primitives"
|
||||
HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.python.org/pypi/cryptography/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 BSD )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/openssl:0
|
||||
$(python_gen_cond_dep '>=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}]' 'python*')
|
||||
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 python3_3 pypy)
|
||||
>=dev-python/idna-2.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/ipaddress[${PYTHON_USEDEP}]' python2_7 pypy)
|
||||
>=dev-python/pyasn1-0.1.8[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.4.1[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=virtual/pypy-2.6.0' pypy )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
~dev-python/cryptography-vectors-${PV}[${PYTHON_USEDEP}]
|
||||
dev-python/iso8601[${PYTHON_USEDEP}]
|
||||
dev-python/pretend[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-2.4.2[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst )
|
||||
|
||||
python_test() {
|
||||
py.test -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# only works with >=pypy-2.6
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} pypy )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Library providing cryptographic recipes and primitives"
|
||||
HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.python.org/pypi/cryptography/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 BSD )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/openssl:0
|
||||
$(python_gen_cond_dep '>=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}]' 'python*')
|
||||
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 python3_3 pypy)
|
||||
>=dev-python/idna-2.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/ipaddress[${PYTHON_USEDEP}]' python2_7 pypy)
|
||||
>=dev-python/pyasn1-0.1.8[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.4.1[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=virtual/pypy-2.6.0' pypy )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
~dev-python/cryptography-vectors-${PV}[${PYTHON_USEDEP}]
|
||||
dev-python/iso8601[${PYTHON_USEDEP}]
|
||||
dev-python/pretend[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-2.4.2[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst )
|
||||
|
||||
python_test() {
|
||||
py.test -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
https://github.com/pyca/cryptography/commit/5bea5ca0233be05e09d8c62fdeae86187e73a48e
|
||||
diff --git a/setup.py b/setup.py
|
||||
index ead5ec4..32a87ba 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -36,12 +36,14 @@
|
||||
|
||||
requirements = [
|
||||
CFFI_DEPENDENCY,
|
||||
- "enum34",
|
||||
"pyasn1",
|
||||
SIX_DEPENDENCY,
|
||||
SETUPTOOLS_DEPENDENCY
|
||||
]
|
||||
|
||||
+if sys.version_info < (3, 4):
|
||||
+ requirements.append("enum34")
|
||||
+
|
||||
# If you add a new dep here you probably need to add it in the tox.ini as well
|
||||
test_requirements = [
|
||||
"pytest",
|
||||
|
@ -1,3 +1,2 @@
|
||||
DIST matplotlib-1.4.2.tar.gz 50139344 SHA256 17a3c7154f152d8dfed1f37517c0a8c5db6ade4f6334f684989c36dab84ddb54 SHA512 3525f4e6414042fabf8d18ce9041d61197465dc07c766730c187a512277907ba33f56d49d5a468d82f65bce57217e8eb48ecfa143e55152a15607b79a7b25adc WHIRLPOOL ce6e5a15676b939bda7ad1be0f27766314f60ed44ebfba1e73d2c3d00a31d5492722cde73f943de72da038772519068602e60c830af9ffdf52710a24ce98fe7a
|
||||
DIST matplotlib-1.4.3.tar.gz 49933525 SHA256 5b9544472d9d6ab3d47423bdb5a0e64fdf913e505c1c083f25283dd0362bc0b6 SHA512 51b0f58b2618b47b653e17e4f6b6a1215d3a3b0f1331ce3555cc7435e365d9c75693f289ce12fe3bf8f69fd57b663e545f0f1c2c94e81eaa661cac0689e125f5 WHIRLPOOL 160ca48ecb44db58f1c56bd6e89592c5d1badd8e434fc25d32aa6d4d7a346ae7c7444d1c8e0c2ca2bf5c3246fd56cd93856ec7b1e3e51f5e471b9b55a0f2c1ad
|
||||
DIST matplotlib-1.5.0.tar.gz 53962448 SHA256 67b08b1650a00a6317d94b76a30a47320087e5244920604c5462188cba0c2646 SHA512 559a3ef031ca65b431157f0dd50f7d81f2d854f92150ee2b9de5e44b31d49615bfdc049a682667bc2e1399b8cd724dfcefec8f4de7e92848fe5756f93ddef5fa WHIRLPOOL b30a7299dd0690cd0355883cbe7d335d76314bab85f5b67b326b0e600b479db3cd5e7f48e9e68d3604832e9605f5025c70ff0006b1980b945aeaf22f78e3469f
|
||||
|
@ -1,247 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
PYTHON_REQ_USE='tk?,threads(+)'
|
||||
|
||||
inherit distutils-r1 eutils flag-o-matic virtualx
|
||||
|
||||
DESCRIPTION="Pure python plotting library with matlab like syntax"
|
||||
HOMEPAGE="http://matplotlib.org/"
|
||||
SRC_URI="mirror://sourceforge/${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 ppc ~ppc64 x86 ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="cairo doc excel examples fltk gtk gtk3 latex pyside qt4 test tk wxwidgets"
|
||||
|
||||
# #456704 -- a lot of py2-only deps
|
||||
PY2_USEDEP=$(python_gen_usedep python2_7)
|
||||
COMMON_DEPEND="
|
||||
>=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.3
|
||||
media-libs/libpng:0
|
||||
media-libs/qhull
|
||||
gtk? (
|
||||
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}
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
app-text/dvipng
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/ipython[${PYTHON_USEDEP}]
|
||||
dev-python/numpydoc[${PYTHON_USEDEP}]
|
||||
dev-python/xlwt[${PY2_USEDEP}]
|
||||
dev-python/sphinx[${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}]
|
||||
cairo? (
|
||||
|| (
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
dev-python/cairocffi[${PYTHON_USEDEP}]
|
||||
)
|
||||
)
|
||||
excel? ( dev-python/xlwt[${PY2_USEDEP}] )
|
||||
fltk? ( dev-python/pyfltk[${PY2_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}] )"
|
||||
|
||||
PY2_FLAGS="|| ( $(python_gen_useflags python2_7) )"
|
||||
REQUIRED_USE="
|
||||
doc? ( ${PY2_FLAGS} )
|
||||
excel? ( ${PY2_FLAGS} )
|
||||
fltk? ( ${PY2_FLAGS} )
|
||||
gtk? ( ${PY2_FLAGS} )
|
||||
wxwidgets? ( ${PY2_FLAGS} )
|
||||
test? (
|
||||
cairo fltk latex pyside qt4 tk wxwidgets
|
||||
|| ( gtk gtk3 )
|
||||
)"
|
||||
|
||||
# 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
|
||||
|
||||
pkg_setup() {
|
||||
unset DISPLAY # bug #278524
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
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
|
||||
[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 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
|
||||
six = True
|
||||
fltk = False
|
||||
fltkagg = False
|
||||
gtk = False
|
||||
gtkagg = False
|
||||
wx = False
|
||||
wxagg = False
|
||||
EOF
|
||||
else
|
||||
cat >> "${BUILD_DIR}"/setup.cfg <<-EOF
|
||||
six = False
|
||||
$(use_setup fltk)
|
||||
$(use_setup 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 \
|
||||
"${PYTHON}" ./make.py --small html || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
wrap_setup distutils_install_for_testing
|
||||
|
||||
cd "${TMPDIR}" || die
|
||||
VIRTUALX_COMMAND="${PYTHON}"
|
||||
virtualmake -c "import sys, matplotlib as m; sys.exit(0 if m.test(verbosity=2) else 1)" || \
|
||||
die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
wrap_setup distutils-r1_python_install
|
||||
}
|
||||
|
||||
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
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue