parent
8392686243
commit
4bb2adedd5
@ -0,0 +1,134 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=(python2_7)
|
||||
|
||||
inherit eutils systemd distutils-r1
|
||||
|
||||
DESCRIPTION="Salt is a remote execution and configuration manager"
|
||||
HOMEPAGE="http://saltstack.org/"
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://github.com/${PN}stack/${PN}.git"
|
||||
EGIT_BRANCH="develop"
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="cherrypy ldap libcloud libvirt gnupg keyring mako mongodb mysql neutron nova"
|
||||
IUSE+=" openssl profile redis selinux test timelib raet +zeromq vim-syntax"
|
||||
|
||||
RDEPEND="sys-apps/pciutils
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
>=dev-python/msgpack-0.3[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/markupsafe[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-1.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=www-servers/tornado-4.2.1[${PYTHON_USEDEP}]
|
||||
virtual/python-futures[${PYTHON_USEDEP}]
|
||||
libcloud? ( >=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}] )
|
||||
mako? ( dev-python/mako[${PYTHON_USEDEP}] )
|
||||
ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
|
||||
openssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )
|
||||
libvirt? ( dev-python/libvirt-python[${PYTHON_USEDEP}] )
|
||||
openssl? (
|
||||
dev-libs/openssl:*[-bindist]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
)
|
||||
raet? (
|
||||
>=dev-python/libnacl-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ioflo-1.1.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/raet-0.6.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
zeromq? (
|
||||
>=dev-python/pyzmq-2.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycrypto-2.6.1[${PYTHON_USEDEP}]
|
||||
)
|
||||
cherrypy? ( >=dev-python/cherrypy-3.2.2[${PYTHON_USEDEP}] )
|
||||
mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
|
||||
keyring? ( dev-python/keyring[${PYTHON_USEDEP}] )
|
||||
mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
|
||||
redis? ( dev-python/redis-py[${PYTHON_USEDEP}] )
|
||||
selinux? ( sec-policy/selinux-salt )
|
||||
timelib? ( dev-python/timelib[${PYTHON_USEDEP}] )
|
||||
nova? ( >=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}] )
|
||||
neutron? ( >=dev-python/python-neutronclient-2.3.6[${PYTHON_USEDEP}] )
|
||||
gnupg? ( dev-python/python-gnupg[${PYTHON_USEDEP}] )
|
||||
profile? ( dev-python/yappi[${PYTHON_USEDEP}] )
|
||||
vim-syntax? ( app-vim/salt-vim )"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/pip[${PYTHON_USEDEP}]
|
||||
dev-python/virtualenv[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/timelib[${PYTHON_USEDEP}]
|
||||
>=dev-python/boto-2.32.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/moto-0.3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/SaltTesting-2015.2.16[${PYTHON_USEDEP}]
|
||||
${RDEPEND}
|
||||
)"
|
||||
|
||||
DOCS=(README.rst AUTHORS)
|
||||
|
||||
REQUIRED_USE="|| ( raet zeromq )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2015.8.0-remove-buggy-tests.patch"
|
||||
"${FILESDIR}/${PN}-2015.5.5-auth-tests.patch"
|
||||
"${FILESDIR}/${PN}-2015.5.5-cron-tests.patch"
|
||||
"${FILESDIR}/${PN}-2015.5.5-remove-buggy-tests.patch"
|
||||
"${FILESDIR}/${PN}-2015.8.2-tmpdir.patch"
|
||||
"${FILESDIR}/${PN}-2015.8.4-boto-vpc-test.patch"
|
||||
)
|
||||
|
||||
python_prepare() {
|
||||
# this test fails because it trys to "pip install distribute"
|
||||
rm tests/unit/{modules,states}/zcbuildout_test.py \
|
||||
tests/unit/modules/{rh_ip,win_network,random_org}_test.py
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local svc
|
||||
USE_SETUPTOOLS=1 distutils-r1_python_install_all
|
||||
|
||||
for svc in minion master syndic api; do
|
||||
newinitd "${FILESDIR}"/${svc}-initd-4 salt-${svc}
|
||||
newconfd "${FILESDIR}"/${svc}-confd-1 salt-${svc}
|
||||
systemd_dounit "${FILESDIR}"/salt-${svc}.service
|
||||
done
|
||||
|
||||
insinto /etc/${PN}
|
||||
doins -r conf/*
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local tempdir
|
||||
# testsuite likes lots of files
|
||||
ulimit -n 3072
|
||||
|
||||
# ${T} is too long a path for the tests to work
|
||||
tempdir="$(mktemp -dup /tmp salt-XXX)"
|
||||
mkdir "${T}/$(basename "${tempdir}")"
|
||||
|
||||
(
|
||||
cleanup() { rm -f "${tempdir}"; }
|
||||
trap cleanup EXIT
|
||||
|
||||
addwrite "${tempdir}"
|
||||
ln -s "$(realpath --relative-to=/tmp "${T}/$(basename "${tempdir}")")" "${tempdir}"
|
||||
|
||||
USE_SETUPTOOLS=1 SHELL="/bin/bash" TMPDIR="${tempdir}" \
|
||||
${EPYTHON} tests/runtests.py \
|
||||
--unit-tests --no-report --verbose
|
||||
|
||||
) || die "testing failed"
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST libu2f-host-0.0.2.tar.xz 444176 SHA256 c9e5478f5d139c30603afe65ea7ef52b0b18c93df60103b1dafeb7f3d17acbd8 SHA512 1b10a5c8d3d071b0d5576a2247b2cc40327fe6fe7370a7680cede7ebda72bd7f0edfa1661b78074a85654a5d979f757c64c090360c69feddb9c3212dc0438deb WHIRLPOOL f8cc5d7524c8ed7943945af44e5b93b43463118b06b186460090df3c69871319e0a347c94a28467b782eb09e2653ef72ab98478d8acf720b86b807223b1ee0b1
|
||||
DIST libu2f-host-0.0.4.tar.xz 446604 SHA256 852231611bd5c526406b984ae3c92ce3423ffc7a0ef01f6a060a43b64725ead6 SHA512 09406f45bea4cbca2fd26a4ad546b2233f56e1df098976cbd24dcab08e27bf9131fdc52557b4c701b8ce27b0ece7b405e8cda889591a5e3dc9420611336d1060 WHIRLPOOL 84ac2c5e4170ff45ecb9595c73dabd6a34f79bdcf4ef9bf3ceb32c481febe0537e3ab129fcd7a63c73389b3dbc0742834574b739ed36c419b6bc84b5c01a4d5b
|
||||
DIST libu2f-host-1.0.0.tar.xz 454376 SHA256 18c56b9b5cfea2566925bba45b25a4e20b3ef8696905d8f2a06116316e164374 SHA512 ef953ffd8179e5ed4bcd1e02ccc82e671a7979b03a61ac73098be6509ab9d6badd6bb4e3e805de4ddbddbae3e8be71b091344f4230657464f6ba4ac3af171387 WHIRLPOOL cc76b778bcf20ef696900dd0ea65c0925052360a22e505a34ecb8738289d7bbaa88b31f2b25b91b6a1a22a240d01784bc6ef1cb9774c818fa0570328e9f13183
|
||||
DIST libu2f-host-1.1.0.tar.xz 455424 SHA256 441bb832ee42acf3a5e5a229444c610218da381eb7daaf2aa750c004dc756d86 SHA512 3861ea748ff6ae0bae756182c6c4bd9a25dafc6e28eec3d6aad0eb700dcddc56ba61ed0c6a60395b8a296764c83b3fadb6954f9001cfb880e93758aaeecf34df WHIRLPOOL b6a91afd99a70db8c78a2a72950f210bbcbea0322780b768611aa528ad0159647bdc7446e1dffd91f8d9b6bcbd8105b8b38c9eb5d9eb2db9ef7d193c97096f3e
|
||||
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools-utils linux-info udev
|
||||
|
||||
DESCRIPTION="Yubico Universal 2nd Factor (U2F) Host C Library"
|
||||
HOMEPAGE="https://developers.yubico.com/libu2f-host/"
|
||||
SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="kernel_linux static-libs systemd"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/hidapi
|
||||
dev-libs/json-c"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${RDEPEND}
|
||||
systemd? ( sys-apps/systemd[acl] )"
|
||||
|
||||
CONFIG_CHECK="~HIDRAW"
|
||||
|
||||
src_prepare() {
|
||||
autotools-utils_src_prepare
|
||||
|
||||
sed -e 's:TAG+="uaccess":MODE="0664", GROUP="plugdev":g' \
|
||||
70-u2f.rules > 70-u2f-udev.rules || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
|
||||
if use kernel_linux; then
|
||||
if use systemd; then
|
||||
udev_dorules 70-u2f.rules
|
||||
else
|
||||
udev_newrules 70-u2f-udev.rules 70-u2f.rules
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST lxd-0.26.tar.bz2 1985288 SHA256 71079140946e3e66563cc3025c3e4f756fd45cc413af1d5396c56a608427d0aa SHA512 25aa73274b03163698646fe2f49c2401ae93a9b90be46f0ba0414521bc920e68c61db7e6617d75a19675e22a705afd5d3220e24a518e30819daf3dc75670b900 WHIRLPOOL d59471f02744efbe3d3dbb1ae32dcf17141f8414a1614535451e75c5422928d3c5d54dceebcf0d829f7395ae3cb49bf424ff7999d1e32b9384a3f81b3d3ab01e
|
||||
DIST lxd-0.27.tar.bz2 2247266 SHA256 290d05a792f2f146b302d500eadd3168822ed99aecb4ea96762570580f29910a SHA512 37d5fef677a943dc7e84c73836aa1d4e5f0353c165aa33cefcd87dcd1fdae574760e74fb290404182badfee96e04ef929a81d6633d2c0f91c458ccd19996b9c3 WHIRLPOOL d1d0c0fad0e604f41482c133f4425461546599aded2e948d5c58f7698eba963746ac8c3c3085ffbd244b0169cedb26ad8ec5d85babea6aa9a7688ee6ce342589
|
||||
DIST lxd-2.0.0_beta1.tar.bz2 2253384 SHA256 443d8004aea80a9295eeb28c81b930947163b5af5e7c5ec15e6123938268bd6c SHA512 21cc90e18173f832f7aa2f39762ba1c47ac54dbb947519302075d10f8c55cce766d436cb7f9ec96cb2fe538952b801398ce3b1320d878e8835d58e4fb3b81c86 WHIRLPOOL 85a11976fbf74f8b408c75aa7abf645d3e27eed3f82021fbcb7b2d8db95cc986fdf2cd6a38ef8749857027b380382e66678fb1f1656274159dbc2531c3860761
|
||||
DIST lxd-2.0.0_beta3.tar.bz2 2283443 SHA256 a3bdf6c081ebed01fcd1ae92a6d3ebf2e7d6ffea606fe3cb83559366e7dc90aa SHA512 3f80c1236ac9a92a350b4221478dd69eb2693672d73859738b691b9462155d0a907de90deab9950980500ab0faa5ec815bc6191cedf2d34d3757757f585570ec WHIRLPOOL 6d425c26ef37bc65871cf08946f0a80e5b9a3e01da5edd07605e94a2b418e6d2163ee90210c4439350000c35a18efa97102dcbab90ccd1577d6164b5b2e271b4
|
||||
|
@ -0,0 +1,20 @@
|
||||
--- Makefile.orig 2016-02-19 00:16:40.720102639 +0000
|
||||
+++ Makefile 2016-02-19 00:18:10.886096473 +0000
|
||||
@@ -12,17 +12,11 @@
|
||||
|
||||
.PHONY: default
|
||||
default:
|
||||
- # Must run twice due to go get race
|
||||
- -go get -t -v -d ./...
|
||||
- -go get -t -v -d ./...
|
||||
go install -v $(DEBUG) ./...
|
||||
@echo "LXD built successfully"
|
||||
|
||||
.PHONY: client
|
||||
client:
|
||||
- # Must run twice due to go get race
|
||||
- -go get -t -v -d ./...
|
||||
- -go get -t -v -d ./...
|
||||
go install -v $(DEBUG) ./lxc
|
||||
@echo "LXD client built successfully"
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- lxd/rsync.go.orig 2015-11-11 20:54:37.402700202 -0600
|
||||
+++ lxd/rsync.go 2015-11-11 20:55:06.704698199 -0600
|
||||
@@ -91,7 +91,7 @@
|
||||
* command (i.e. the command to run on --server). However, we're
|
||||
* hardcoding that at the other end, so we can just ignore it.
|
||||
*/
|
||||
- rsyncCmd := fmt.Sprintf("sh -c \"nc -U %s\"", f.Name())
|
||||
+ rsyncCmd := fmt.Sprintf("sh -c \"nc.openbsd -U %s\"", f.Name())
|
||||
cmd := exec.Command(
|
||||
"rsync",
|
||||
"-arvP",
|
@ -0,0 +1,27 @@
|
||||
# Group which owns the shared socket
|
||||
LXD_OPTIONS+=" --group lxd"
|
||||
|
||||
|
||||
|
||||
# Enable cpu profiling into the specified file
|
||||
#LXD_OPTIONS+=" --cpuprofile /tmp/lxc_cpu_profile"
|
||||
|
||||
# Enable memory profiling into the specified file
|
||||
#LXD_OPTIONS+=" --memprofile /tmp/lxc_mem_profile"
|
||||
|
||||
|
||||
|
||||
# Enables debug mode
|
||||
#LXD_OPTIONS+=" --debug"
|
||||
|
||||
# For debugging, print a complete stack trace every n seconds
|
||||
#LXD_OPTIONS+=" --print-goroutines-every 5"
|
||||
|
||||
# Enables verbose mode
|
||||
#LXD_OPTIONS+=" -v"
|
||||
|
||||
# Logfile to log to
|
||||
#LXD_OPTIONS+=" --logfile /var/log/lxd/lxd.log"
|
||||
|
||||
# Enables syslog logging
|
||||
#LXD_OPTIONS+=" --syslog"
|
@ -0,0 +1,50 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
DAEMON=/usr/sbin/lxd
|
||||
PIDFILE=/run/lxd.pid
|
||||
|
||||
extra_commands="stopall"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
use lxcfs
|
||||
|
||||
# remove with 2.0 release
|
||||
need cgmanager
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting lxd server"
|
||||
|
||||
start-stop-daemon --start \
|
||||
--pidfile ${PIDFILE} \
|
||||
--exec ${DAEMON} \
|
||||
--background \
|
||||
--make-pidfile \
|
||||
-- \
|
||||
${LXD_OPTIONS}
|
||||
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
if [[ $RC_GOINGDOWN = YES ]] || [[ $RC_REBOOT = YES ]]; then
|
||||
stopall
|
||||
else
|
||||
ebegin "Stopping lxd service (but not containers)"
|
||||
start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE}
|
||||
eend $?
|
||||
fi
|
||||
}
|
||||
|
||||
stopall() {
|
||||
ebegin "Stopping lxd service and containers"
|
||||
if "${DAEMON}" shutdown; then
|
||||
/etc/init.d/lxd zap
|
||||
rm -f ${PIDFILE}
|
||||
fi
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,162 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Fast, dense and secure container management"
|
||||
HOMEPAGE="https://linuxcontainers.org/lxd/introduction/"
|
||||
EGO_PN_PARENT="github.com/lxc"
|
||||
EGO_PN="${EGO_PN_PARENT}/lxd"
|
||||
SRC_URI="https://dev.gentoo.org/~stasibear/distfiles/${P}.tar.bz2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
PLOCALES="de fr ja"
|
||||
IUSE="+daemon nls test"
|
||||
|
||||
# IUSE and PLOCALES must be defined before l10n inherited
|
||||
inherit bash-completion-r1 eutils golang-build l10n systemd user vcs-snapshot
|
||||
|
||||
# The compiler is forced in golang-base:
|
||||
# DEPEND=">=dev-lang/go-1.4.2:="
|
||||
# ... so the dep is omitted here (and I disagree with := in this case)
|
||||
|
||||
DEPEND="
|
||||
dev-go/go-crypto
|
||||
dev-libs/protobuf
|
||||
dev-vcs/git
|
||||
nls? ( sys-devel/gettext )
|
||||
test? (
|
||||
app-misc/jq
|
||||
dev-db/sqlite
|
||||
net-misc/curl
|
||||
sys-devel/gettext
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
daemon? (
|
||||
app-admin/cgmanager
|
||||
app-arch/xz-utils
|
||||
app-emulation/lxc[cgmanager,seccomp]
|
||||
net-analyzer/openbsd-netcat
|
||||
net-misc/bridge-utils
|
||||
net-misc/rsync[xattr]
|
||||
sys-apps/iproute2
|
||||
virtual/acl
|
||||
)
|
||||
"
|
||||
|
||||
# KNOWN ISSUES:
|
||||
# - Translations may not work. I've been unsuccessful in forcing
|
||||
# localized output. Anyway, upstream (Canonical) doesn't install the
|
||||
# message files.
|
||||
|
||||
# TODO:
|
||||
# - since 0.15 gccgo is a supported compiler ('make gccgo'). It would
|
||||
# be preferable for that support to go into the golang-build eclass not
|
||||
# this package directly.
|
||||
|
||||
src_prepare() {
|
||||
cd "${S}/src/${EGO_PN}" || die "Failed to change to deep src dir"
|
||||
|
||||
epatch "${FILESDIR}/${P}-dont-go-get.patch"
|
||||
|
||||
# Upstream requires the openbsd flavor of netcat (with -U), but
|
||||
# Gentoo installs that with a renamed binary
|
||||
epatch "${FILESDIR}/${P}-nc-binary-name.patch"
|
||||
|
||||
tmpgoroot="${T}/goroot"
|
||||
mkdir -p "$tmpgoroot" || die "Failed to create temporary GOROOT"
|
||||
cp -sR "$(get_golibdir_gopath)"/* "${tmpgoroot}" || die "Failed to copy files to temporary GOROOT"
|
||||
|
||||
# Warn on unhandled locale changes
|
||||
l10n_find_plocales_changes po "" .po
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
golang-build_src_compile
|
||||
|
||||
cd "${S}/src/${EGO_PN}" || die "Failed to change to deep src dir"
|
||||
|
||||
tmpgoroot="${T}/goroot"
|
||||
if use daemon; then
|
||||
# Build binaries
|
||||
GOPATH="${S}:${tmpgoroot}" emake
|
||||
else
|
||||
# build client tool
|
||||
GOPATH="${S}:${tmpgoroot}" emake client
|
||||
fi
|
||||
|
||||
use nls && emake build-mo
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use daemon; then
|
||||
# Go native tests should succeed
|
||||
golang-build_src_test
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Installs all src,pkg to /usr/lib/go-gentoo
|
||||
golang-build_src_install
|
||||
|
||||
cd "${S}"
|
||||
dobin bin/lxc
|
||||
use daemon && dosbin bin/lxd
|
||||
|
||||
cd "src/${EGO_PN}"
|
||||
|
||||
if use nls; then
|
||||
for lingua in ${PLOCALES}; do
|
||||
if use linguas_${lingua}; then
|
||||
domo po/${lingua}.mo
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
if use daemon; then
|
||||
newinitd "${FILESDIR}"/${P}.initd lxd
|
||||
newconfd "${FILESDIR}"/${P}.confd lxd
|
||||
|
||||
systemd_dounit "${FILESDIR}"/lxd.service
|
||||
fi
|
||||
|
||||
newbashcomp config/bash/lxd-client lxc
|
||||
|
||||
dodoc AUTHORS CONTRIBUTING.md README.md
|
||||
|
||||
docinto specs
|
||||
dodoc specs/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo
|
||||
einfo "Consult https://wiki.gentoo.org/wiki/LXD for more information,"
|
||||
einfo "including a Quick Start."
|
||||
|
||||
# The messaging below only applies to daemon installs
|
||||
use daemon || return 0
|
||||
|
||||
# The control socket will be owned by (and writeable by) this group.
|
||||
enewgroup lxd
|
||||
|
||||
# Ubuntu also defines an lxd user but it appears unused (the daemon
|
||||
# must run as root)
|
||||
|
||||
einfo
|
||||
einfo "Though not strictly required, some features are enabled at run-time"
|
||||
einfo "when the relevant helper programs are detected:"
|
||||
einfo "- sys-apps/apparmor"
|
||||
einfo "- sys-fs/btrfs-progs"
|
||||
einfo "- sys-fs/lvm2"
|
||||
einfo "- sys-fs/lxcfs"
|
||||
einfo "- sys-fs/zfs"
|
||||
einfo "- sys-process/criu"
|
||||
einfo
|
||||
einfo "Since these features can't be disabled at build-time they are"
|
||||
einfo "not USE-conditional."
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST poppler-0.32.0.tar.xz 1609624 SHA256 4963e31ba5e17530a87b16588e22928bc044e8d28d02303dded981bff6725b98 SHA512 f68355a0242ce467b9d7d7f47cc0c3b08f015c38b147eaeddc392e693239bce2b1b3832bd5e5411f25edddab6d3cea8ca0be151372a86963610a4eae3ea50eee WHIRLPOOL bb56d497f435ccb78dfeb0125ca5d003d08769fe74e11da940f6f5399194698e1908c22d815129e6d1f1a7a9855a68ad7043a3bdd4779045fcf64dd97ade3d22
|
||||
DIST poppler-0.38.0.tar.xz 1637772 SHA256 6f0c0d49c8346d7c0cfe6348124e7f19cc901b5d35c9cd89944aac6e454e8a8b SHA512 1b8643c0f58eb1e1c3d98266c38d311c66458168188146af72c99c9f374882bdc616aa3febd8833538b286652c21a567e6240aa590111bcebcba5ee845e6bad9 WHIRLPOOL 05a75ca4ed3741273eefe003026caa1f9bb1e3d9f08d1e3885d2fddd7704349434b6deb1f9e755312d7a5b040e85435b0baa92f4934c4d220b1ea8625ebff4f5
|
||||
DIST poppler-0.39.0.tar.xz 1641156 SHA256 afd75befa9c3a41e1d7755c4e43dea70cfd8f1a4dac118e83032cbb41ce17bb9 SHA512 046a80d5cbbdf1dda57ebcd09a77eb80239a85b0d8250d89174e5a69ce171000c4ab624f6c00b599b30d4ed2559976c8e527b3ed65f04c6d3f582c3e2b75e522 WHIRLPOOL 5722c48d0d2278134f7fa353d327a6fed0ae63b96f0f1e8edd2107c9d7012a8e95d2996887e415e4cfe525cf64b7d5630c75620376fc075297397fd57f7f2be7
|
||||
DIST poppler-0.40.0.tar.xz 1642708 SHA256 bc0da278d6038ffc9cd2b8c1bba530a6ec7c072a593219a48f0a52a600ee6ead SHA512 0f26f342a4f70ebc65848c61e5eb1a182d539a8e4cdc5fa499c52765d15867e13ee7c595773d2e8d6f2eb3e83e1c19f35cc6bb47f8aeb87a8ad92e45ecff50cd WHIRLPOOL 00d887401f8438718fcee34e326c7a71970ce7e1c3071a142cef365bdd77301d77b1c9488fa80a58a0baca8fb0c8a2fb0a327867b8b8381b8eecb5f14609bec2
|
||||
DIST poppler-0.41.0.tar.xz 1655448 SHA256 420abaab63caed9e1ee28964a0ba216d1979506726164bc99ad5ade289192a1b SHA512 b2b99ac056efaae26f0bffc20756f17524011b7718a554ff48901422e7ab8caa4f879b800eacce1af5ae468346fa0beb569a4378f028a7d7cf0c9cc45f0d2402 WHIRLPOOL 565bc504b5b02ac612b267bb5d5746dc9d90b2c7f8959e2fecc58bdcc4c588f8f234d4bc9cc8086846c23643fa0abc8dba352c8a083056b95d58056281a5bc7a
|
||||
|
@ -1,122 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils toolchain-funcs
|
||||
|
||||
if [[ "${PV}" == "9999" ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://git.freedesktop.org/git/${PN}/${PN}"
|
||||
SLOT="0/9999"
|
||||
else
|
||||
SRC_URI="http://poppler.freedesktop.org/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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/58" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION
|
||||
fi
|
||||
|
||||
DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
|
||||
HOMEPAGE="http://poppler.freedesktop.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
IUSE="cairo cjk curl cxx debug doc +introspection +jpeg +jpeg2k +lcms png qt4 qt5 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:0 )
|
||||
jpeg2k? ( media-libs/openjpeg:2= )
|
||||
lcms? ( media-libs/lcms:2 )
|
||||
png? ( media-libs/libpng:0= )
|
||||
qt4? (
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
)
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtxml:5
|
||||
)
|
||||
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)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.26.0-qt5-dependencies.patch"
|
||||
"${FILESDIR}/${PN}-0.28.1-fix-multilib-configuration.patch"
|
||||
"${FILESDIR}/${PN}-0.28.1-respect-cflags.patch"
|
||||
"${FILESDIR}/${PN}-0.33.0-openjpeg2.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
|
||||
# Clang doesn't grok this flag, the configure nicely tests that, but
|
||||
# cmake just uses it, so remove it if we use clang
|
||||
if [[ ${CC} == clang ]] ; then
|
||||
sed -i -e 's/-fno-check-new//' cmake/modules/PopplerMacros.cmake || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local 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 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)
|
||||
$(cmake-utils_use_find_package qt5 Qt5Core)
|
||||
$(cmake-utils_use_with tiff)
|
||||
)
|
||||
if use jpeg2k; then
|
||||
mycmakeargs+=(-DENABLE_LIBOPENJPEG=openjpeg2)
|
||||
else
|
||||
mycmakeargs+=(-DENABLE_LIBOPENJPEG=)
|
||||
fi
|
||||
if use lcms; then
|
||||
mycmakeargs+=(-DENABLE_CMS=lcms2)
|
||||
else
|
||||
mycmakeargs+=(-DENABLE_CMS=)
|
||||
fi
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
# live version doesn't provide html documentation
|
||||
if use cairo && use doc && [[ ${PV} != 9999 ]]; then
|
||||
# For now install gtk-doc there
|
||||
insinto /usr/share/gtk-doc/html/poppler
|
||||
doins -r "${S}"/glib/reference/html/*
|
||||
fi
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="A library of routines for managing a database"
|
||||
HOMEPAGE="http://fallabs.com/tokyocabinet/"
|
||||
SRC_URI="${HOMEPAGE}${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
|
||||
IUSE="bzip2 debug doc examples threads zlib"
|
||||
|
||||
DEPEND="bzip2? ( app-arch/bzip2 )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/fix_rpath.patch"
|
||||
sed -i \
|
||||
-e "/ldconfig/d" \
|
||||
-e "/DATADIR/d" Makefile.in || die
|
||||
# cflags fix - remove -O2 at end of line and -fomit-frame-pointer
|
||||
sed -i -e 's/-O3"$/"/' configure.in || die
|
||||
sed -i -e 's/-fomit-frame-pointer//' configure.in || die
|
||||
# flag only works on x86 derivatives, remove everywhere else
|
||||
if ! use x86 && ! use amd64; then sed -i -e 's/ -minline-all-stringops//' configure.in; fi
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# we use the "fastest" target without the -O3
|
||||
econf \
|
||||
$(use_enable debug) \
|
||||
$(use_enable bzip2 bzip) \
|
||||
$(use_enable zlib) \
|
||||
$(use_enable threads pthread) \
|
||||
--enable-off64 --enable-fastest
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "Install failed"
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/${PF}/example
|
||||
doins example/* || die "Install failed"
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r doc/* || die "Install failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 check || die "Tests failed"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST classmate-0.9.0.tar.gz 57752 SHA256 6667a959b282b037aaed328fca3131a89c7649a347a72e1d2d4dd40bc8b393f2 SHA512 7fb331c462458c8aab143f23c0d128a0e4e976f9d12bd181eb5658961b217bd1fe0871d056fc38bff794522c8b3118a2a017eab265afffc1d60b5580df1237a2 WHIRLPOOL ecfa56a57d07c1486f92c1a635d5b294b9664994504649a5234daff34935c0f42dc590f55ee1fa3a780399a923728a30e083a809871777e68e78deaf3f6dd45c
|
||||
DIST classmate-1.0.0.tar.gz 57807 SHA256 eae6fe3a0736d7773856363f2cd176c44cf9bb679974f8fe3add214c16c2f1d3 SHA512 cf721c813674e295fa6c1fe897493d14926d025cab51896ea0cec69ae285a540123060c39e3515daeffa48d6975d060861bf3ca5340bb9273980fee6d92d73b5 WHIRLPOOL ed590fff997700c80c1f4735b809a01599f58112de25248fc626be295e097ac9e1930ce26c140226d3e867733cec58fa7cc7d826e9a57eea351c7dde126902f9
|
||||
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Zero-dependency Java library for accurately introspecting type information"
|
||||
HOMEPAGE="https://github.com/cowtowncoder/java-classmate/"
|
||||
SRC_URI="https://github.com/cowtowncoder/java-classmate/archive/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.6"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.6
|
||||
test? (
|
||||
dev-java/junit:4
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/java-${PN}-${P}"
|
||||
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
|
||||
# This one test is buggy.
|
||||
JAVA_RM_FILES=(
|
||||
src/test/java/com/fasterxml/classmate/AnnotationsTest.java
|
||||
)
|
||||
|
||||
java_prepare() {
|
||||
rm pom.xml || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
testcp="${S}/${PN}.jar:$(java-pkg_getjars junit-4):target/tests"
|
||||
|
||||
mkdir target/tests || die
|
||||
ejavac -cp "${testcp}" -d target/tests $(find src/test/java -name "*.java")
|
||||
|
||||
tests=$(find target/tests -name "*Test.class" -not -name "BaseTest.class" \
|
||||
| sed -e 's/target\/tests\///g' -e "s/\.class//" -e "s/\//./g" \
|
||||
| grep -vP '\$');
|
||||
ejunit4 -cp "${testcp}" ${tests}
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST dnsjava-2.1.6.tar.gz 1087908 SHA256 2503f5fb343ebc5b87c4ea3d67070305ff61d8d8c26636f62abb33e507104e76 SHA512 0d30504190aabbb176cc914834eb26a2f5522741c4473dbbf32f16e1d62fe39cf244a3ddd543b88d3a1e595afa9c6509e42d1418205677aa6523c6d11c49f497 WHIRLPOOL 60915c62b36a907928696e0afb3529ed46332013f07feea155158075fcc32a3bcfb50ddd3977f876ec7ad3203572ef54ff30f761925b6d96cca6e51fa7939f19
|
||||
DIST dnsjava-2.1.7.tar.gz 1078980 SHA256 387e5ccb17fa1c49ff1afbb5c5d61e431fefe07cdf98577c4e9792c2b8435766 SHA512 07b11b94833f4a6f5d9bd8e0265444f15704eeba6420b2fa2c4efef46823c2768e8e691d6b101bb6d1ed9ebda1e55dbf518f447d62eb686fdd583c281313afdd WHIRLPOOL 66b4a37afe5b34bc87d46f3f3c162bdb2f484d8b6b3536f3913d420503067ba179f0467b869f181540050297a3e634a13b259e56a701cdb715c3d47672d42a67
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="An implementation of DNS in Java"
|
||||
HOMEPAGE="http://www.dnsjava.org/"
|
||||
SRC_URI="http://www.dnsjava.org/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
test? (
|
||||
dev-java/junit:0
|
||||
dev-java/ant-junit:0
|
||||
)"
|
||||
|
||||
EANT_BUILD_TARGET="jar"
|
||||
EANT_DOC_TARGET="docs"
|
||||
EANT_TEST_TARGET="run_tests"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_TEST_GENTOO_CLASSPATH="junit"
|
||||
EANT_GENTOO_CLASSPATH_EXTRA="${P}.jar"
|
||||
|
||||
java_prepare() {
|
||||
java-pkg_clean
|
||||
#epatch "${FILESDIR}"/*.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar "${P}.jar"
|
||||
|
||||
dodoc README USAGE || die
|
||||
use doc && java-pkg_dojavadoc doc
|
||||
use source && java-pkg_dosrc org/
|
||||
}
|
||||
|
||||
src_test() {
|
||||
EANT_ANT_TASKS="ant-junit" java-pkg-2_src_test
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="6"
|
||||
|
||||
# jython depends on java-config, so don't add it or things will break
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Java environment configuration query tool"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Java"
|
||||
SRC_URI="https://dev.gentoo.org/~sera/distfiles/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
# baselayout-java is added as a dep till it can be added to eclass.
|
||||
RDEPEND="
|
||||
!dev-java/java-config-wrapper
|
||||
sys-apps/baselayout-java
|
||||
sys-apps/portage"
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
# This replaces the file installed by java-config-wrapper.
|
||||
dosym java-config-2 /usr/bin/java-config
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST jcommander-1.32.tar.gz 61837 SHA256 21f8dd9aaae91800648a81d44a71b6b7574e828de7faa1667c9c4c64c653f6c5 SHA512 dd23674e5ca91f770ec677579f3c2eb16cbf4f82154f9d1a728debeaef75f0e00e50d58336e7b05b63f601188380d62075df0889b2df8e1fffe48c472cfa5df0 WHIRLPOOL 3971b6c7b2d799f1d1063167d4079365d77086bbf0a76e9f8990febc01e82f78f7c2aa9dc809b04acbf21af5bd8cfb5b5c1de6fd506951e031d5b01e512076b6
|
||||
DIST jcommander-1.48.tar.gz 64544 SHA256 dcba3a05e60731c8945166089f7f1a1600150f438e5f23d36e6e766d1a34c5e2 SHA512 1304bb14ecb89f9945e8219f3229941e556c7cccef52a2eb4e4663da9dbf9fa5ecec4914275a743fb7d90ca301153284dc76dd380903aac93db1507894d72a6e WHIRLPOOL 85d1bb10129e93c69932b84d5af7c6084fa089c51a8afdfe980512a52dfe47ec9c678bfc91cfaffa61a13a4dea8953a3df50d96fdbc53ec3e2fd8870dc34afca
|
||||
|
@ -1,278 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
|
||||
<!-- ====================================================================== -->
|
||||
<!-- -->
|
||||
<!-- Any modifications will be overwritten. -->
|
||||
<!-- -->
|
||||
<!-- Generated by Maven Ant Plugin on 9/16/13 6:06 PM -->
|
||||
<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
|
||||
<!-- -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<project name="jcommander-from-maven" default="package" basedir=".">
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Build environment properties -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<property file="${user.home}/.m2/maven.properties"/>
|
||||
<property file="maven-build.properties"/>
|
||||
|
||||
<property name="maven.build.finalName" value="jcommander-1.32"/>
|
||||
<property name="maven.build.dir" value="target"/>
|
||||
<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
|
||||
<property name="maven.build.srcDir.0" value="src/main/java"/>
|
||||
<property name="maven.build.resourceDir.0" value="src/main/resources"/>
|
||||
<property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
|
||||
<property name="maven.build.testDir.0" value="src/test/java"/>
|
||||
<property name="maven.build.testResourceDir.0" value="src/test/resources"/>
|
||||
<property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
|
||||
<property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
|
||||
|
||||
<property name="maven.repo.local" value="${user.home}/.m2/repository"/>
|
||||
<property name="maven.settings.offline" value="false"/>
|
||||
<property name="maven.settings.interactiveMode" value="true"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Defining classpaths -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<path id="build.classpath"/>
|
||||
<path id="build.test.classpath">
|
||||
<pathelement location="${maven.repo.local}/org/testng/testng/6.1.1/testng-6.1.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/junit/junit/3.8.1/junit-3.8.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/beanshell/bsh/2.0b4/bsh-2.0b4.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/yaml/snakeyaml/1.6/snakeyaml-1.6.jar"/>
|
||||
</path>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Cleaning up target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="clean" description="Clean the output directory">
|
||||
<delete dir="${maven.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile" depends="get-deps" description="Compile the code">
|
||||
<mkdir dir="${maven.build.outputDir}"/>
|
||||
<javac destdir="${maven.build.outputDir}"
|
||||
encoding="UTF-8"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.5"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.5">
|
||||
<src>
|
||||
<pathelement location="${maven.build.srcDir.0}"/>
|
||||
</src>
|
||||
<classpath refid="build.classpath"/>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Test-compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile-tests"
|
||||
depends="compile"
|
||||
description="Compile the test code"
|
||||
unless="maven.test.skip">
|
||||
<mkdir dir="${maven.build.testOutputDir}"/>
|
||||
<javac destdir="${maven.build.testOutputDir}"
|
||||
encoding="UTF-8"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.5"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.5">
|
||||
<src>
|
||||
<pathelement location="${maven.build.testDir.0}"/>
|
||||
</src>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
</classpath>
|
||||
</javac>
|
||||
<copy todir="${maven.build.testOutputDir}">
|
||||
<fileset dir="${maven.build.testResourceDir.0}"/>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Run all tests -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test"
|
||||
depends="compile-tests, junit-missing"
|
||||
unless="junit.skipped"
|
||||
description="Run the test cases">
|
||||
<mkdir dir="${maven.test.reports}"/>
|
||||
<junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
|
||||
<sysproperty key="basedir" value="."/>
|
||||
<formatter type="xml"/>
|
||||
<formatter type="plain" usefile="false"/>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
<pathelement location="${maven.build.testOutputDir}"/>
|
||||
</classpath>
|
||||
<batchtest todir="${maven.test.reports}" unless="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/Test*.java"/>
|
||||
<include name="**/*Test.java"/>
|
||||
<include name="**/*TestCase.java"/>
|
||||
<exclude name="**/*Abstract*Test.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
<batchtest todir="${maven.test.reports}" if="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/${test}.java"/>
|
||||
<exclude name="**/*Abstract*Test.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
</junit>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-present">
|
||||
<available classname="junit.framework.Test" property="junit.present"/>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-status"
|
||||
depends="test-junit-present">
|
||||
<condition property="junit.missing">
|
||||
<and>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<isfalse value="${maven.test.skip}"/>
|
||||
</and>
|
||||
</condition>
|
||||
<condition property="junit.skipped">
|
||||
<or>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<istrue value="${maven.test.skip}"/>
|
||||
</or>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="junit-missing"
|
||||
depends="test-junit-status"
|
||||
if="junit.missing">
|
||||
<echo>=================================== WARNING ===================================</echo>
|
||||
<echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
|
||||
<echo>===============================================================================</echo>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Javadoc target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="javadoc" description="Generates the Javadoc of the application">
|
||||
<javadoc sourcepath="${maven.build.srcDir.0}"
|
||||
packagenames="*"
|
||||
destdir="${maven.reporting.outputDirectory}/apidocs"
|
||||
access="protected"
|
||||
old="false"
|
||||
verbose="false"
|
||||
version="true"
|
||||
use="true"
|
||||
author="true"
|
||||
splitindex="false"
|
||||
nodeprecated="false"
|
||||
nodeprecatedlist="false"
|
||||
notree="false"
|
||||
noindex="false"
|
||||
nohelp="false"
|
||||
nonavbar="false"
|
||||
serialwarn="false"
|
||||
charset="ISO-8859-1"
|
||||
linksource="false"
|
||||
breakiterator="false"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Package target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="package" depends="compile,test" description="Package the application">
|
||||
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
|
||||
compress="true"
|
||||
index="false"
|
||||
basedir="${maven.build.outputDir}"
|
||||
excludes="**/package.html"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- A dummy target for the package named after the type it creates -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="jar" depends="package" description="Builds the jar for the application"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Download dependencies target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test-offline">
|
||||
<condition property="maven.mode.offline">
|
||||
<equals arg1="${maven.settings.offline}" arg2="true"/>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="get-deps"
|
||||
depends="test-offline"
|
||||
description="Download all dependencies"
|
||||
unless="maven.mode.offline">
|
||||
<mkdir dir="${maven.repo.local}"/>
|
||||
<mkdir dir="${maven.repo.local}/org/testng/testng/6.1.1"/>
|
||||
<get src="http://oss.sonatype.org/content/repositories/snapshots/org/testng/testng/6.1.1/testng-6.1.1.jar"
|
||||
dest="${maven.repo.local}/org/testng/testng/6.1.1/testng-6.1.1.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/org/testng/testng/6.1.1/testng-6.1.1.jar"
|
||||
dest="${maven.repo.local}/org/testng/testng/6.1.1/testng-6.1.1.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<mkdir dir="${maven.repo.local}/junit/junit/3.8.1"/>
|
||||
<get src="http://oss.sonatype.org/content/repositories/snapshots/junit/junit/3.8.1/junit-3.8.1.jar"
|
||||
dest="${maven.repo.local}/junit/junit/3.8.1/junit-3.8.1.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar"
|
||||
dest="${maven.repo.local}/junit/junit/3.8.1/junit-3.8.1.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<mkdir dir="${maven.repo.local}/org/beanshell/bsh/2.0b4"/>
|
||||
<get src="http://oss.sonatype.org/content/repositories/snapshots/org/beanshell/bsh/2.0b4/bsh-2.0b4.jar"
|
||||
dest="${maven.repo.local}/org/beanshell/bsh/2.0b4/bsh-2.0b4.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/org/beanshell/bsh/2.0b4/bsh-2.0b4.jar"
|
||||
dest="${maven.repo.local}/org/beanshell/bsh/2.0b4/bsh-2.0b4.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<mkdir dir="${maven.repo.local}/org/yaml/snakeyaml/1.6"/>
|
||||
<get src="http://oss.sonatype.org/content/repositories/snapshots/org/yaml/snakeyaml/1.6/snakeyaml-1.6.jar"
|
||||
dest="${maven.repo.local}/org/yaml/snakeyaml/1.6/snakeyaml-1.6.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/org/yaml/snakeyaml/1.6/snakeyaml-1.6.jar"
|
||||
dest="${maven.repo.local}/org/yaml/snakeyaml/1.6/snakeyaml-1.6.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
</target>
|
||||
|
||||
</project>
|
@ -1,230 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
|
||||
<!-- ====================================================================== -->
|
||||
<!-- -->
|
||||
<!-- Any modifications will be overwritten. -->
|
||||
<!-- -->
|
||||
<!-- Generated by Maven Ant Plugin on 10/25/15 2:23 PM -->
|
||||
<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
|
||||
<!-- -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<project name="jcommander-from-maven" default="package" basedir=".">
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Build environment properties -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<property file="${user.home}/.m2/maven.properties"/>
|
||||
<property file="maven-build.properties"/>
|
||||
|
||||
<property name="maven.build.finalName" value="jcommander-1.48"/>
|
||||
<property name="maven.build.dir" value="target"/>
|
||||
<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
|
||||
<property name="maven.build.srcDir.0" value="src/main/java"/>
|
||||
<property name="maven.build.resourceDir.0" value="src/main/resources"/>
|
||||
<property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
|
||||
<property name="maven.build.testDir.0" value="src/test/java"/>
|
||||
<property name="maven.build.testResourceDir.0" value="src/test/resources"/>
|
||||
<property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
|
||||
<property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
|
||||
|
||||
<property name="maven.repo.local" value="${user.home}/.m2/repository"/>
|
||||
<property name="maven.settings.offline" value="false"/>
|
||||
<property name="maven.settings.interactiveMode" value="true"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Defining classpaths -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<path id="build.classpath"/>
|
||||
<path id="build.test.classpath"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Cleaning up target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="clean" description="Clean the output directory">
|
||||
<delete dir="${maven.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile" description="Compile the code">
|
||||
<mkdir dir="${maven.build.outputDir}"/>
|
||||
<javac destdir="${maven.build.outputDir}"
|
||||
encoding="UTF-8"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.6"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.6">
|
||||
<src>
|
||||
<pathelement location="${maven.build.srcDir.0}"/>
|
||||
</src>
|
||||
<classpath refid="build.classpath"/>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Test-compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile-tests"
|
||||
depends="compile"
|
||||
description="Compile the test code"
|
||||
unless="maven.test.skip">
|
||||
<mkdir dir="${maven.build.testOutputDir}"/>
|
||||
<javac destdir="${maven.build.testOutputDir}"
|
||||
encoding="UTF-8"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.6"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.6">
|
||||
<src>
|
||||
<pathelement location="${maven.build.testDir.0}"/>
|
||||
</src>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
</classpath>
|
||||
</javac>
|
||||
<copy todir="${maven.build.testOutputDir}">
|
||||
<fileset dir="${maven.build.testResourceDir.0}"/>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Run all tests -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test"
|
||||
depends="compile-tests, junit-missing"
|
||||
unless="junit.skipped"
|
||||
description="Run the test cases">
|
||||
<mkdir dir="${maven.test.reports}"/>
|
||||
<junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
|
||||
<sysproperty key="basedir" value="."/>
|
||||
<formatter type="xml"/>
|
||||
<formatter type="plain" usefile="false"/>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
<pathelement location="${maven.build.testOutputDir}"/>
|
||||
</classpath>
|
||||
<batchtest todir="${maven.test.reports}" unless="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/Test*.java"/>
|
||||
<include name="**/*Test.java"/>
|
||||
<include name="**/*TestCase.java"/>
|
||||
<exclude name="**/*Abstract*Test.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
<batchtest todir="${maven.test.reports}" if="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/${test}.java"/>
|
||||
<exclude name="**/*Abstract*Test.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
</junit>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-present">
|
||||
<available classname="junit.framework.Test" property="junit.present" classpathref="build.test.classpath"/>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-status"
|
||||
depends="test-junit-present">
|
||||
<condition property="junit.missing">
|
||||
<and>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<isfalse value="${maven.test.skip}"/>
|
||||
</and>
|
||||
</condition>
|
||||
<condition property="junit.skipped">
|
||||
<or>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<istrue value="${maven.test.skip}"/>
|
||||
</or>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="junit-missing"
|
||||
depends="test-junit-status"
|
||||
if="junit.missing">
|
||||
<echo>=================================== WARNING ===================================</echo>
|
||||
<echo> JUnit is not present in the test classpath or your $ANT_HOME/lib directory. Tests not executed.</echo>
|
||||
<echo>===============================================================================</echo>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Javadoc target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="javadoc" description="Generates the Javadoc of the application">
|
||||
<javadoc sourcepath="${maven.build.srcDir.0}"
|
||||
packagenames="*"
|
||||
destdir="${maven.reporting.outputDirectory}/apidocs"
|
||||
access="protected"
|
||||
old="false"
|
||||
verbose="false"
|
||||
version="true"
|
||||
use="true"
|
||||
author="true"
|
||||
splitindex="false"
|
||||
nodeprecated="false"
|
||||
nodeprecatedlist="false"
|
||||
notree="false"
|
||||
noindex="false"
|
||||
nohelp="false"
|
||||
nonavbar="false"
|
||||
serialwarn="false"
|
||||
charset="ISO-8859-1"
|
||||
linksource="false"
|
||||
breakiterator="false"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Package target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="package" depends="compile,test" description="Package the application">
|
||||
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
|
||||
compress="true"
|
||||
index="false"
|
||||
basedir="${maven.build.outputDir}"
|
||||
excludes="**/package.html"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- A dummy target for the package named after the type it creates -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="jar" depends="package" description="Builds the jar for the application"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Download dependencies target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test-offline">
|
||||
<condition property="maven.mode.offline">
|
||||
<equals arg1="${maven.settings.offline}" arg2="true"/>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
</project>
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 vcs-snapshot
|
||||
|
||||
DESCRIPTION="Command line parsing framework for Java"
|
||||
HOMEPAGE="https://github.com/cbeust/jcommander"
|
||||
SRC_URI="https://github.com/cbeust/${PN}/archive/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5"
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/${P}-build.xml build.xml || die
|
||||
}
|
||||
|
||||
# Depends on itself through dev-java/testng (BGO) for building tests, bad idea.
|
||||
RESTRICT="test"
|
||||
|
||||
# EANT_GENTOO_CLASSPATH_REWRITE="true"
|
||||
# EANT_TEST_GENTOO_CLASSPATH="..."
|
||||
|
||||
src_test() {
|
||||
EANT_TEST_EXTRA_ARGS="-Djunit.present=true" java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar target/${P}.jar
|
||||
|
||||
dodoc README.markdown CHANGELOG
|
||||
use doc && java-pkg_dojavadoc target/site/apidocs
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST jopt-simple-4.7.tar.gz 109206 SHA256 082aae8f1d5f6169017fed90aceee41e2b83c3716aeebf877cbe6bb9b9c0a13b SHA512 02d89cfd5ff4e48c6968a99448f0b378c6c8ce1a035d1c815f4489e2efa24ad159f5013705716b6bdea905e3c963664e1aafb18b308e661a5402b42a0eb271ae WHIRLPOOL f0be49cce81c25ec2e825a8256c273decfbe89f5a46a988aff9807f29cd63593159347ed2c1757ad7e02521a55fdf6a1e0a9291065f7364e6dd4c6f691e1c868
|
||||
DIST jopt-simple-4.8.tar.gz 110173 SHA256 21adbb508568d244a827999c1ab1567a9021febad0566b0d0464de262859fed9 SHA512 cc5360cf97446117849f93397c41734a9a001ea623e9ea4223b8d760f36897c62103ab9d2dabfcf0fa032db8e33f7bc51759d626d7bd76dda3adc61fa6622984 WHIRLPOOL cb0e88abcf34a77f617bacc39a9152dafcc04ff9723cfb78bc454250acd4c7c78717c9772bb809e79bfd5da8ff032b323dbeb9d158ea79e53337db400a872050
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="A Java library for parsing command line options"
|
||||
HOMEPAGE="https://pholser.github.com/jopt-simple/"
|
||||
SRC_URI="https://github.com/pholser/${PN}/tarball/${P} -> ${P}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
DEPEND=">=virtual/jdk-1.6"
|
||||
|
||||
S="${WORKDIR}/pholser-${PN}-587d4ee"
|
||||
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
|
||||
java_prepare() {
|
||||
# Easier to use java-pkg-simple.
|
||||
rm -v pom.xml || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
dodoc README.md
|
||||
}
|
@ -1 +1 @@
|
||||
DIST metadata-extractor-2.2.2-src.jar 3936358 SHA256 38f8b12418afde99286b9b7c86158eb4fd2c47a23ed4af025af77bae301e1783 SHA512 5004ecef28e9fc1f24a4b13b4596c801e9b20fcb9c20165e79b2543837187b8cb019aa32c301e2850939a95a23224444d6eb7e23c45d8bf54cf267899052b2f7 WHIRLPOOL ff35285df14741babe45b2b1906b0d5ceacbc76a12684d0e676cb7ad784eeafaa9bee4016489ce5643d5bcf85d1140d69667f8f9a646c9720ae4eb2602bbf031
|
||||
DIST metadata-extractor-2.8.1.tar.gz 3132397 SHA256 0d734971e9896709fb9e11406cefbeaa0cf11d57fa7dca6b02acaf92a2a686fd SHA512 4e9fe88be4112fbf9ce481e7fd3b3a7c9544d1d5b1ebd646d2c6e2a2a1fe2d53a4b80ab859fe5e277c3e72f5e035aa46d7af7a953a182f5b8215edf9cde99974 WHIRLPOOL bc296ebe64b82ec9485f364e287139369bb1da5f98eab47db5014d0f1d263378d0341383da95bda3efa5fba6c81c3ebb9c30a3586aa7277ec893d2ad6ac5e52f
|
||||
|
@ -1,46 +0,0 @@
|
||||
--- metadata-extractor.build 2009-01-31 15:22:58.000000000 +0200
|
||||
+++ metadata-extractor.build.fixed 2009-01-31 15:37:02.000000000 +0200
|
||||
@@ -24,25 +24,38 @@
|
||||
srcdir="${src}"
|
||||
destdir="${build}"
|
||||
debug="${debug}"
|
||||
- verbose="${verbose}"/>
|
||||
+ verbose="${verbose}">
|
||||
+ <exclude name="**/test/*.java"/>
|
||||
+ </javac>
|
||||
+ </target>
|
||||
+
|
||||
+ <target name="compile-test" description="compile the source">
|
||||
+ <javac classpath="${classpath}"
|
||||
+ srcdir="${src}"
|
||||
+ destdir="${build}"
|
||||
+ debug="${debug}"
|
||||
+ verbose="${verbose}">
|
||||
+ <include name="**/test/*.java"/>
|
||||
+ </javac>
|
||||
</target>
|
||||
|
||||
- <target name="dist-binaries" depends="clean, compile, test" description="generate binary distribution">
|
||||
+ <target name="dist-binaries" depends="clean, compile" description="generate binary distribution">
|
||||
<jar destfile="${dist}/metadata-extractor-${version}.jar" update="false" basedir="${build}">
|
||||
<manifest>
|
||||
<attribute name="Main-Class" value="com.drew.imaging.jpeg.JpegMetadataReader"/>
|
||||
- </manifest>
|
||||
+ </manifest>
|
||||
+ <exclude name="**/test/*.class"/>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
- <target name="dist-source" depends="clean, compile, test" description="generate source distribution">
|
||||
+ <target name="dist-source" depends="clean, compile" description="generate source distribution">
|
||||
<jar destfile="${dist}/metadata-extractor-${version}-src.jar" update="false">
|
||||
<fileset dir="."
|
||||
includes="${src}/**/*.java, ${src}/**/*.jpg, ${lib}/junit.jar, metadata-extractor.build, ReleaseNotes.txt"/>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
- <target name="test" depends="compile" description="run all junit tests">
|
||||
+ <target name="test" depends="compile-test" description="run all junit tests">
|
||||
<junit printsummary="yes" fork="yes" haltonfailure="yes">
|
||||
<classpath>
|
||||
<pathelement location="${build}"/>
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Metadata extraction framework for Exif and IPTC metadata segments, extraction support for JPEG files"
|
||||
HOMEPAGE="http://www.drewnoakes.com/code/exif/"
|
||||
SRC_URI="http://www.drewnoakes.com/code/exif/metadata-extractor-${PV}-src.jar"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
|| ( =virtual/jdk-1.6* =virtual/jdk-1.5* =virtual/jdk-1.4* )
|
||||
=dev-java/junit-3.8*
|
||||
app-arch/unzip"
|
||||
RDEPEND=">=virtual/jre-1.4"
|
||||
S=${WORKDIR}/
|
||||
|
||||
src_unpack() {
|
||||
jar xf "${DISTDIR}/${A}"
|
||||
sed -e "s:clean, compile, test:clean, compile:" -i metadata-extractor.build || die "sed failed"
|
||||
mv metadata-extractor.build build.xml
|
||||
|
||||
java-pkg_jar-from --build-only --into lib/ junit junit.jar
|
||||
}
|
||||
|
||||
EANT_DOC_TARGET=""
|
||||
EANT_BUILD_TARGET="dist-binaries"
|
||||
|
||||
src_install() {
|
||||
dodoc ReleaseNotes.txt
|
||||
java-pkg_newjar dist/*.jar "${PN}.jar"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ANT_TASKS="ant-junit" eant test
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 eutils
|
||||
|
||||
DESCRIPTION="Metadata extraction framework for Exif and IPTC metadata segments, extraction support for JPEG files"
|
||||
HOMEPAGE="http://www.drewnoakes.com/code/exif/"
|
||||
SRC_URI="http://www.drewnoakes.com/code/exif/metadata-extractor-${PV}-src.jar"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="|| ( =virtual/jdk-1.6* =virtual/jdk-1.5* =virtual/jdk-1.4* )
|
||||
test? ( dev-java/junit:0 )
|
||||
app-arch/unzip:0"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.4"
|
||||
S=${WORKDIR}
|
||||
|
||||
java_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-buildfix.patch
|
||||
|
||||
mv metadata-extractor.build build.xml || die
|
||||
|
||||
use test && java-pkg_jar-from --build-only --into lib/ junit junit.jar
|
||||
}
|
||||
|
||||
EANT_DOC_TARGET=""
|
||||
EANT_BUILD_TARGET="dist-binaries"
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar dist/*.jar ${PN}.jar
|
||||
|
||||
dodoc ReleaseNotes.txt
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ANT_TASKS="ant-junit" eant test
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Access the metadata in digital images and video via a simple Java API"
|
||||
HOMEPAGE="http://www.drewnoakes.com/code/exif/"
|
||||
SRC_URI="https://github.com/drewnoakes/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples test"
|
||||
|
||||
CDEPEND="dev-java/xmpcore:0"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
>=virtual/jdk-1.6
|
||||
test? ( dev-java/junit:4 )"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
>=virtual/jre-1.6"
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
JAVA_SRC_DIR="Source"
|
||||
JAVA_GENTOO_CLASSPATH="xmpcore"
|
||||
|
||||
java_prepare() {
|
||||
java-pkg_clean
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
dodoc {CONTRIBUTING,README}.md
|
||||
use examples && java-pkg_doexamples Samples
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local DIR=Tests
|
||||
local CP="${DIR}:${S}/${PN}.jar:$(java-pkg_getjars junit-4,${JAVA_GENTOO_CLASSPATH})"
|
||||
local TESTS=$(find ${DIR} -name "*Test.java")
|
||||
TESTS="${TESTS//Tests\/}"
|
||||
TESTS="${TESTS//.java}"
|
||||
TESTS="${TESTS//\//.}"
|
||||
|
||||
ejavac -cp "${CP}" -d ${DIR} $(find ${DIR} -name "*.java")
|
||||
ejunit4 -classpath "${CP}" ${TESTS}
|
||||
}
|
@ -1 +1 @@
|
||||
DIST opencsv-2.3-src-with-libs.tar.gz 280510 SHA256 04ebc52af08b20e18c193f194ea9d169a7737403b2376f1707d858dbd4e7950d SHA512 3831cb9c5aaf8b19ed6895406e7358ddb6b30cba1876b42daeab41230d83bd532b9db53c073960413a385222ca889f1aae14404fd46143aa28ee05b3d1019106 WHIRLPOOL 069c1bf477c04f0ad6db927e7179c0dc29104c48e179f0fcf8e4c42b0de2e83e3e3ab5fd80ebbd8e13e12cacfbe231097b675e99ecb0ef1610277dbc9a9c927a
|
||||
DIST opencsv-2.3.tar.gz 280510 SHA256 04ebc52af08b20e18c193f194ea9d169a7737403b2376f1707d858dbd4e7950d SHA512 3831cb9c5aaf8b19ed6895406e7358ddb6b30cba1876b42daeab41230d83bd532b9db53c073960413a385222ca889f1aae14404fd46143aa28ee05b3d1019106 WHIRLPOOL 069c1bf477c04f0ad6db927e7179c0dc29104c48e179f0fcf8e4c42b0de2e83e3e3ab5fd80ebbd8e13e12cacfbe231097b675e99ecb0ef1610277dbc9a9c927a
|
||||
|
@ -0,0 +1 @@
|
||||
DIST xmpcore-5.1.2-sources.jar 136918 SHA256 3f2f5dd6c983ac574f9bf721ae0eacf888bc26eb40a8650b231d06f29d05ee75 SHA512 ad4c78a68f1d32a358b79bfb4acacbcc56eaa294af5afbb29eb916a1a488dba547e72c4d94809222fae63fd7c66940d9ce7cb6c06598f9c7b8691d0feaabdad8 WHIRLPOOL c2d39305158f10476e9986bcf16f75ca36852c6654a1ce00aae7f273972801cd585bc604c7d7f0ae1404b700572ee10460e909ef6005302d9cbf70d89ecb3fb5
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Java library based on the Adobe C++ XMPCore library with a similar API"
|
||||
HOMEPAGE="http://www.adobe.com/devnet/xmp.html"
|
||||
SRC_URI="http://central.maven.org/maven2/com/adobe/xmp/${PN}/${PV}/${P}-sources.jar"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
app-arch/unzip"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6"
|
@ -0,0 +1,211 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
export CBUILD=${CBUILD:-${CHOST}}
|
||||
export CTARGET=${CTARGET:-${CHOST}}
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
if [[ ${PV} = 9999 ]]; then
|
||||
EGIT_REPO_URI="git://github.com/golang/go.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz"
|
||||
# go-bootstrap-1.4 only supports go on amd64, arm and x86 architectures.
|
||||
# Allowing other bootstrap options would enable arm64 and ppc64 builds.
|
||||
case ${PV} in
|
||||
*9999*|*_rc*) ;;
|
||||
*)
|
||||
KEYWORDS="-* ~amd64 ~arm ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x86-macos"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
DESCRIPTION="A concurrent garbage collected and typesafe programming language"
|
||||
HOMEPAGE="http://www.golang.org"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/go-bootstrap-1.4.1"
|
||||
RDEPEND="!<dev-go/go-tools-0_pre20150902"
|
||||
|
||||
# These test data objects have writable/executable stacks.
|
||||
QA_EXECSTACK="usr/lib/go/src/debug/elf/testdata/*.obj"
|
||||
|
||||
REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/*"
|
||||
|
||||
# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
|
||||
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
|
||||
|
||||
# The go language uses *.a files which are _NOT_ libraries and should not be
|
||||
# stripped. The test data objects should also be left alone and unstripped.
|
||||
STRIP_MASK="/usr/lib/go/pkg/*.a
|
||||
/usr/lib/go/src/debug/elf/testdata/*
|
||||
/usr/lib/go/src/debug/dwarf/testdata/*
|
||||
/usr/lib/go/src/runtime/race/*.syso"
|
||||
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
S="${WORKDIR}"/go
|
||||
fi
|
||||
|
||||
go_arch()
|
||||
{
|
||||
# By chance most portage arch names match Go
|
||||
local portage_arch=$(tc-arch $@)
|
||||
case "${portage_arch}" in
|
||||
x86) echo 386;;
|
||||
x64-*) echo amd64;;
|
||||
*) echo "${portage_arch}";;
|
||||
esac
|
||||
}
|
||||
|
||||
go_arm()
|
||||
{
|
||||
case "${1:-${CHOST}}" in
|
||||
armv5*) echo 5;;
|
||||
armv6*) echo 6;;
|
||||
armv7*) echo 7;;
|
||||
*)
|
||||
die "unknown GOARM for ${1:-${CHOST}}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
go_os()
|
||||
{
|
||||
case "${1:-${CHOST}}" in
|
||||
*-linux*) echo linux;;
|
||||
*-darwin*) echo darwin;;
|
||||
*-freebsd*) echo freebsd;;
|
||||
*-netbsd*) echo netbsd;;
|
||||
*-openbsd*) echo openbsd;;
|
||||
*-solaris*) echo solaris;;
|
||||
*-cygwin*|*-interix*|*-winnt*)
|
||||
echo windows
|
||||
;;
|
||||
*)
|
||||
die "unknown GOOS for ${1:-${CHOST}}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
go_tuple()
|
||||
{
|
||||
echo "$(go_os $@)_$(go_arch $@)"
|
||||
}
|
||||
|
||||
go_cross_compile()
|
||||
{
|
||||
[[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
|
||||
}
|
||||
|
||||
pkg_pretend()
|
||||
{
|
||||
# make.bash does not understand cross-compiling a cross-compiler
|
||||
if [[ $(go_tuple) != $(go_tuple ${CTARGET}) ]]; then
|
||||
die "CHOST CTARGET pair unsupported: CHOST=${CHOST} CTARGET=${CTARGET}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile()
|
||||
{
|
||||
export GOROOT_BOOTSTRAP="${EPREFIX}"/usr/lib/go1.4
|
||||
export GOROOT_FINAL="${EPREFIX}"/usr/lib/go
|
||||
export GOROOT="$(pwd)"
|
||||
export GOBIN="${GOROOT}/bin"
|
||||
|
||||
# Go's build script does not use BUILD/HOST/TARGET consistently. :(
|
||||
export GOHOSTARCH=$(go_arch ${CBUILD})
|
||||
export GOHOSTOS=$(go_os ${CBUILD})
|
||||
export CC=$(tc-getBUILD_CC)
|
||||
|
||||
export GOARCH=$(go_arch)
|
||||
export GOOS=$(go_os)
|
||||
export CC_FOR_TARGET=$(tc-getCC)
|
||||
export CXX_FOR_TARGET=$(tc-getCXX)
|
||||
if [[ ${ARCH} == arm ]]; then
|
||||
export GOARM=$(go_arm)
|
||||
fi
|
||||
|
||||
cd src
|
||||
./make.bash || die "build failed"
|
||||
}
|
||||
|
||||
src_test()
|
||||
{
|
||||
go_cross_compile && return 0
|
||||
|
||||
cd src
|
||||
PATH="${GOBIN}:${PATH}" \
|
||||
./run.bash -no-rebuild || die "tests failed"
|
||||
}
|
||||
|
||||
src_install()
|
||||
{
|
||||
local bin_path f x
|
||||
|
||||
dodir /usr/lib/go
|
||||
insinto /usr/lib/go
|
||||
|
||||
# There is a known issue which requires the source tree to be installed [1].
|
||||
# Once this is fixed, we can consider using the doc use flag to control
|
||||
# installing the doc and src directories.
|
||||
# [1] https://golang.org/issue/2775
|
||||
doins -r bin doc lib pkg src
|
||||
fperms -R +x /usr/lib/go/bin /usr/lib/go/pkg/tool
|
||||
|
||||
cp -a misc "${D}"/usr/lib/go/misc
|
||||
|
||||
if go_cross_compile; then
|
||||
bin_path="bin/$(go_tuple)"
|
||||
else
|
||||
bin_path=bin
|
||||
fi
|
||||
for x in ${bin_path}/*; do
|
||||
f=${x##*/}
|
||||
dosym ../lib/go/${bin_path}/${f} /usr/bin/${f}
|
||||
done
|
||||
dodoc AUTHORS CONTRIBUTORS PATENTS README.md
|
||||
}
|
||||
|
||||
pkg_preinst()
|
||||
{
|
||||
has_version '<dev-lang/go-1.4' &&
|
||||
export had_support_files=true ||
|
||||
export had_support_files=false
|
||||
}
|
||||
|
||||
pkg_postinst()
|
||||
{
|
||||
# If the go tool sees a package file timestamped older than a dependancy it
|
||||
# will rebuild that file. So, in order to stop go from rebuilding lots of
|
||||
# packages for every build we need to fix the timestamps. The compiler and
|
||||
# linker are also checked - so we need to fix them too.
|
||||
ebegin "fixing timestamps to avoid unnecessary rebuilds"
|
||||
tref="usr/lib/go/pkg/*/runtime.a"
|
||||
find "${EROOT}"usr/lib/go -type f \
|
||||
-exec touch -r "${EROOT}"${tref} {} \;
|
||||
eend $?
|
||||
|
||||
if [[ ${PV} != 9999 && -n ${REPLACING_VERSIONS} &&
|
||||
${REPLACING_VERSIONS} != ${PV} ]]; then
|
||||
elog "Release notes are located at http://golang.org/doc/go${PV}"
|
||||
fi
|
||||
|
||||
if $had_support_files; then
|
||||
ewarn
|
||||
ewarn "All editor support, IDE support, shell completion"
|
||||
ewarn "support, etc has been removed from the go package"
|
||||
ewarn "upstream."
|
||||
ewarn "For more information on which support is available, see"
|
||||
ewarn "the following URL:"
|
||||
ewarn "https://github.com/golang/go/wiki/IDEsAndTextEditorPlugins"
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST ocl-icd-2.1.3.tar.gz 419083 SHA256 8338c6ae5cb7a9b34dfe79922f5e32c4f78c535a2217321dae842f72e0a2b175 SHA512 5d0704bed8a664950131c985fc32ffe5e078874945642417122df79c66bad804307192db49a561330268664ceb59756b268cf52201b809398efe58c85f823ad3 WHIRLPOOL f2757e00dcd9d484b1536ebb6b776bf5b54cd3e13cfa1b56fc95ef1e71f3db36bdb4ff996b2ddfb18d63082ebfdf743b9aeb41ed76910020724cfde7839e741b
|
||||
DIST ocl-icd-2.2.3.tar.gz 446966 SHA256 93a5ac3b23fb10731cc9e6406a58f7a21825562877787ed08c3a41f08b504d0c SHA512 da890da32cd61e42f610df472ac651d47edb1b014d98c25a778551fe6973bdb47753417b2eeab220a07f2862468845e3ac31a2e9631eac5eed05153f09da2cb9 WHIRLPOOL 1025d9b10d0140777d50abef5049df033b5a3f405807997eef3c3d88c7d4c1bd568316a20a40f936eb253da5b473aedbc764702bf5145c6c4203d85b6b420239
|
||||
DIST ocl-icd-2.2.8.tar.gz 452374 SHA256 25360a62a80558f3128164510b53ee00713a54db45de2faa1b6f4bd28191a184 SHA512 4d0364616c105ec421a39cc6a38b3a835a63280188a1e19f595eff655d50581ab1af83d2aa26fec956d33b5f492789797b3a05e29897e4342d38521d8902da96 WHIRLPOOL 89479c3bfcc366c67b7ff4bb04b4d4982cabd61984dab4e341b3b493c9676b0283e1d9960e0e0bd300330caf7b072d4a3d6a32fd3fbcbd8942428d5c80fe1cc5
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Alternative to vendor specific OpenCL ICD loaders"
|
||||
HOMEPAGE="http://forge.imag.fr/projects/ocl-icd/"
|
||||
SRC_URI="https://forge.imag.fr/frs/download.php/698/${P}.tar.gz"
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-lang/ruby"
|
||||
RDEPEND="app-eselect/eselect-opencl"
|
||||
|
||||
src_prepare() {
|
||||
echo "/usr/$(get_libdir)/OpenCL/vendors/ocl-icd/libOpenCL.so" > ocl-icd.icd
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc/OpenCL/vendors/
|
||||
doins ocl-icd.icd
|
||||
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
OCL_DIR="${D}"/usr/"$(get_libdir)"/OpenCL/vendors/ocl-icd/
|
||||
mkdir -p ${OCL_DIR} || die "mkdir failed"
|
||||
|
||||
mv "${D}/usr/$(get_libdir)"/libOpenCL* "${OCL_DIR}"
|
||||
}
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/git/${PN}/${PN}"
|
||||
GIT_ECLASS="git-r3"
|
||||
EXPERIMENTAL="true"
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
fi
|
||||
|
||||
inherit autotools-multilib toolchain-funcs $GIT_ECLASS
|
||||
|
||||
DESCRIPTION="Wayland protocol libraries"
|
||||
HOMEPAGE="http://wayland.freedesktop.org/"
|
||||
|
||||
if [[ $PV = 9999* ]]; then
|
||||
SRC_URI="${SRC_PATCHES}"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://wayland.freedesktop.org/releases/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
RDEPEND=">=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
|
||||
>=virtual/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? (
|
||||
>=app-doc/doxygen-1.6[dot]
|
||||
app-text/xmlto
|
||||
>=media-gfx/graphviz-2.26.0
|
||||
sys-apps/grep[pcre]
|
||||
)
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable doc documentation)
|
||||
)
|
||||
if tc-is-cross-compiler ; then
|
||||
myeconfargs+=( --with-host-scanner )
|
||||
fi
|
||||
if ! multilib_is_native_abi; then
|
||||
myeconfargs+=( --disable-documentation )
|
||||
fi
|
||||
|
||||
autotools-multilib_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
export XDG_RUNTIME_DIR="${T}/runtime-dir"
|
||||
mkdir "${XDG_RUNTIME_DIR}" || die
|
||||
chmod 0700 "${XDG_RUNTIME_DIR}" || die
|
||||
|
||||
autotools-multilib_src_test
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST APLpy-0.9.14.tar.gz 1095547 SHA256 0313a91523b6a32a40e5b97da55243d5e59722cd8fa2e6642915edd26d464d69 SHA512 9cf12aa30d3c4540c2cc33907be3a12e78247a8880720e4de7e513842ef437f616b2c63a345a63e7a7081676aff56032840dc1528ed10438f7729cf2acb9da9f WHIRLPOOL 55c25aa11065b741e89b1538d96e57974bcb6b80f5708e5ee5f975742f7e04cbfe6df3da7b030c67a54bbcc929eaec46e2d2e34551d8f9e7365e2f2c4d5b3a0d
|
||||
DIST APLpy-1.0.tar.gz 1169280 SHA256 09a8a24b46b93a1eacdbc0e6fd480fa38e4dd890a24963136d76185924602ff0 SHA512 658b626c2a94c73cc8ba45fde86409659555ed3ec065d07313f08b67c0bcdc596c8dc94562c924de2f3f32d6884051e6756e22384d9594c4538578b482fa7590 WHIRLPOOL 0c884cecbbc9a7cd4ca4ba48cee4e03f039fa2edf4aa5aa4ac945b58c889084acb762f9cff2014911b383b0b14ebd2e51d2ce28b01b87eb0053ba06c3cc6c5c3
|
||||
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
|
||||
inherit distutils-r1 virtualx
|
||||
|
||||
MYPN=APLpy
|
||||
MYP=${MYPN}-${PV}
|
||||
|
||||
DESCRIPTION="Astronomical Plotting Library in Python"
|
||||
HOMEPAGE="https://aplpy.github.com/"
|
||||
SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-python/astropy[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/pyavm[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/astropy-helpers[${PYTHON_USEDEP}]"
|
||||
|
||||
S="${WORKDIR}/${MYP}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.0-mark-known-failures.patch"
|
||||
"${FILESDIR}/${PN}-1.0-fix-dependencies.patch"
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i -e '/auto_use/s/True/False/' setup.cfg || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile --use-system-libraries
|
||||
}
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
cd "${TEST_DIR}" || die
|
||||
virtx "${EPYTHON}" -c "import aplpy, sys;r = aplpy.test();sys.exit(r)" \
|
||||
|| die "tests fail with ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
Author: Ole Streicher <olebole@debian.org>
|
||||
Description: Change requires to install_requires
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -94,8 +94,7 @@
|
||||
version=VERSION,
|
||||
description=DESCRIPTION,
|
||||
scripts=scripts,
|
||||
- requires=['astropy', 'numpy', 'matplotlib'],
|
||||
- install_requires=['astropy'],
|
||||
+ install_requires=['astropy', 'numpy', 'matplotlib'],
|
||||
provides=[PACKAGENAME],
|
||||
author=AUTHOR,
|
||||
author_email=AUTHOR_EMAIL,
|
@ -0,0 +1,121 @@
|
||||
Author: Ole Streicher <olebole@debian.org>
|
||||
Description: Mark tests that are known to fail with matplotlib-1.5
|
||||
--- a/aplpy/tests/test_images.py
|
||||
+++ b/aplpy/tests/test_images.py
|
||||
@@ -61,6 +61,8 @@
|
||||
|
||||
class TestBasic(BaseImageTests):
|
||||
|
||||
+# see https://github.com/aplpy/aplpy/issues/278
|
||||
+ @pytest.mark.xfail()
|
||||
# Test for showing grayscale
|
||||
def test_basic_image(self, generate):
|
||||
f = FITSFigure(self.filename_2)
|
||||
@@ -68,6 +70,8 @@
|
||||
self.generate_or_test(generate, f, 'basic_image.png')
|
||||
f.close()
|
||||
|
||||
+# see https://github.com/aplpy/aplpy/issues/278
|
||||
+ @pytest.mark.xfail()
|
||||
def test_ticks_labels_options(self, generate):
|
||||
f = FITSFigure(self.filename_2)
|
||||
f.ticks.set_color('black')
|
||||
@@ -84,6 +88,8 @@
|
||||
self.generate_or_test(generate, f, 'tick_labels_options.png')
|
||||
f.close()
|
||||
|
||||
+# see https://github.com/aplpy/aplpy/issues/278
|
||||
+ @pytest.mark.xfail()
|
||||
# Test for showing colorscale
|
||||
def test_show_colorbar_scalebar_beam(self, generate):
|
||||
f = FITSFigure(self.filename_1)
|
||||
@@ -96,6 +102,8 @@
|
||||
self.generate_or_test(generate, f, 'colorbar_scalebar_beam.png')
|
||||
f.close()
|
||||
|
||||
+# see https://github.com/aplpy/aplpy/issues/278
|
||||
+ @pytest.mark.xfail()
|
||||
# Test for overlaying shapes
|
||||
def test_overlay_shapes(self, generate):
|
||||
f = FITSFigure(self.filename_1)
|
||||
@@ -112,6 +120,8 @@
|
||||
self.generate_or_test(generate, f, 'overlay_shapes.png')
|
||||
f.close()
|
||||
|
||||
+# see https://github.com/aplpy/aplpy/issues/278
|
||||
+ @pytest.mark.xfail()
|
||||
# Test for grid
|
||||
def test_grid(self, generate):
|
||||
f = FITSFigure(self.filename_1)
|
||||
@@ -125,6 +135,8 @@
|
||||
self.generate_or_test(generate, f, 'grid.png')
|
||||
f.close()
|
||||
|
||||
+# see https://github.com/aplpy/aplpy/issues/278
|
||||
+ @pytest.mark.xfail()
|
||||
# Test recenter
|
||||
def test_recenter(self, generate):
|
||||
f = FITSFigure(self.filename_2)
|
||||
@@ -135,6 +147,8 @@
|
||||
self.generate_or_test(generate, f, 'recenter.png')
|
||||
f.close()
|
||||
|
||||
+# see https://github.com/aplpy/aplpy/issues/278
|
||||
+ @pytest.mark.xfail()
|
||||
# Test overlaying contours
|
||||
def test_contours(self, generate):
|
||||
data = np.arange(256).reshape((16, 16))
|
||||
@@ -144,6 +158,8 @@
|
||||
self.generate_or_test(generate, f, 'contours.png')
|
||||
f.close()
|
||||
|
||||
+# see https://github.com/aplpy/aplpy/issues/278
|
||||
+ @pytest.mark.xfail()
|
||||
# Test cube slice
|
||||
def test_cube_slice(self, generate):
|
||||
f = FITSFigure(self.filename_3, dimensions=[2, 0], slices=[10])
|
||||
--- a/aplpy/tests/test_rgb.py
|
||||
+++ b/aplpy/tests/test_rgb.py
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
import numpy as np
|
||||
from astropy.io import fits
|
||||
+from astropy.tests.helper import pytest
|
||||
|
||||
from .. import FITSFigure
|
||||
from ..rgb import make_rgb_image
|
||||
@@ -17,6 +18,8 @@
|
||||
|
||||
class TestRGB(BaseImageTests):
|
||||
|
||||
+# see https://github.com/aplpy/aplpy/issues/278
|
||||
+ @pytest.mark.xfail()
|
||||
def test_rgb(self, generate, tmpdir):
|
||||
|
||||
# Regression test to check that RGB recenter works properly
|
||||
--- a/aplpy/tests/test_vectors.py
|
||||
+++ b/aplpy/tests/test_vectors.py
|
||||
@@ -1,4 +1,5 @@
|
||||
import numpy as np
|
||||
+from astropy.tests.helper import pytest
|
||||
|
||||
from ..core import FITSFigure
|
||||
|
||||
@@ -15,6 +16,8 @@
|
||||
|
||||
class TestVectors(BaseImageTests):
|
||||
|
||||
+# see https://github.com/aplpy/aplpy/issues/278
|
||||
+ @pytest.mark.xfail()
|
||||
def test_default(self, generate):
|
||||
f = FITSFigure(IMAGE, figsize=(4,4))
|
||||
f.show_grayscale()
|
||||
@@ -22,6 +25,8 @@
|
||||
self.generate_or_test(generate, f, 'vectors_default.png', tolerance=2.5)
|
||||
f.close()
|
||||
|
||||
+# see https://github.com/aplpy/aplpy/issues/278
|
||||
+ @pytest.mark.xfail()
|
||||
def test_step_scale(self, generate):
|
||||
f = FITSFigure(IMAGE, figsize=(4,4))
|
||||
f.show_grayscale()
|
@ -1,4 +1,2 @@
|
||||
DIST astropy-helpers-0.4.1.tar.gz 98477 SHA256 0b4e47e535e7226d8795efb9e9453cac9343759058970a20734e66f443074577 SHA512 85975268372624bec4024dfbe560ef820bda308db898919c4d29643f10df11636f4996a8ff3f2fb7deece44f88963ddb0c8ca231e030713cf17db7503ceae42e WHIRLPOOL b37fa02ebe3e750052a9681e1e8a3a0aa9eede1909e69c70e2004ba738139707e1a0c21797681454ee782a6543bc8808b8de574d60aba601d228966c8659bb9f
|
||||
DIST astropy-helpers-1.0.3.tar.gz 127177 SHA256 0733f3081db46ec02faa08595dad9a72d79d0ed73e54fe3404620703d737594d SHA512 74d4f191290914cf51f91b9cc1a9ed168799a47f586c33505a4ebdef554b7e4cdc90625fbd9b8c9e29b44fc2a988fdf0f50446ce9461017a9755c7ec2a2b1ed4 WHIRLPOOL 43a00a990b3caabeeecefac90bbb91e2b42a7f184c66887855ea188b123f0b74125fb9b694e7d503e78dbed720769329b95aaddd17c16d65807113ec7253b448
|
||||
DIST astropy-helpers-1.0.5.tar.gz 127951 SHA256 b872547580861564023f31a201dcb63d5e9f134f47f4224eb3904a6341b42507 SHA512 31e0c858f126d1e02167faaed2395529ade4e484d0c9c53f809d15de2fda68a4ce9dcd36951546c071d3556feb6f64ca4b0ed5678405af57cb80f3e0cf8de13d WHIRLPOOL 1481eff853e04c94dd95f689c148a68f83cc18d7026f766d2af7d6c4ffc5c0f9eca107c3403b9295f245aed3dea562377ba59cf2bbb303d4653fb4712f6a037c
|
||||
DIST astropy-helpers-1.0.6.tar.gz 126274 SHA256 3651a854fafd0184252639775aab9776331f8ae1bbadd920169d6dc1914095e3 SHA512 c3fa2e329094c5e319b493d2c8889b1158dfdcb8845dc978274a4333167b5069228d9c9ac585e0759b1002776d4597b2a23cf5d276d9c971122919afddb8f277 WHIRLPOOL 83467c958a762fb3b045b6e8e168572012ef308b6aaac7f92c5992e5207cd26efb6cbb5ce617e5701ab2c8d23f169af939052dc2bd50195b9163f3a8db5d6b3f
|
||||
DIST astropy-helpers-1.1.1.tar.gz 132083 SHA256 2da74e8e6b08f3c378fc5f863460bc5c45f4f08e47ed2887cff0a26692aadd4b SHA512 432580de37583b6195b6827dae46516553ceba71bfc038bb609bd59f158f3eb082925dc03f7d9b8ef10d9da68e0d40ee0fa0dc915d72ee0391d58d851a7114bf WHIRLPOOL a64b950acb452307e2f43206c2ff6d102856c0c60a7d4058a59ab8c82338692fee4e432d7dea78b865dea2401536a101713615079c3a1eafbfb4b8c034f57047
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Helpers for Astropy and Affiliated packages"
|
||||
HOMEPAGE="https://github.com/astropy/astropy-helpers"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
KEYWORDS="~amd64 ~x86 ~x86-linux"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e '/import ah_bootstrap/d' -i setup.py || die "Removing ah_bootstrap failed"
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Helpers for Astropy and Affiliated packages"
|
||||
HOMEPAGE="https://github.com/astropy/astropy-helpers"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
KEYWORDS="~amd64 ~x86 ~x86-linux"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e '/import ah_bootstrap/d' -i setup.py || die "Removing ah_bootstrap failed"
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
|
||||
|
@ -1,2 +1,2 @@
|
||||
DIST astropy-1.0.4.tar.gz 7693852 SHA256 c64be72f3246ef699d2e0627a757afc0d59701fc9533088a8be0de23e16595a9 SHA512 5f66f61c93ad88afd2f24fedf96d553688de3c9f2a926dca9b1037ff24b4fd83bd486b870a0abf3c9810ad4e3e902c64f8dfb7f023363d0677e233a21667dfcc WHIRLPOOL ab10edec3650cc39d82e0f023ab107e5b23e75a03cbf8e24b0e902f3700c78921f86983f89ff533c56d9f4bc3b9d0109d8ee57cd6450ab239845b8a403bc5c26
|
||||
DIST astropy-1.0.6.tar.gz 7632331 SHA256 1a0190ad420323b9bd8f7b29995a39580d7d59c5329c825bb5abb52e2f7b936d SHA512 84e02204bc55d3bd6e0e891dc56ab218d1deb65882d5d771b3f80c2a11790f77c103b0c0d5537f1842d98f0d3ded19039c82482c15147edadac89e9707537b40 WHIRLPOOL b20e5c2e3677485eaf22c71c7e3461443d4a92bf7b0e649f5e0153e0b1d46741958e983b743aa30bf07ad971a0c865e53211963653ddf814a5d4362f36f07b02
|
||||
DIST astropy-1.1.1.tar.gz 8157305 SHA256 4d2e7a8bd5191a66d7e1a52beefb4a0b6f496a1e9e8212422613219cb514769f SHA512 bc3c370da32d5f0098dbfc2808dba9d4d4424d3dcfba4d7ffd84b39569387b79ad93086e10678c259237f9cfe1229725501d0dc4eba51c9d01a4cd8a72024fb4 WHIRLPOOL 5b40955f56e6f080ad93b224eabd345565ef9f5e7f5ccb00e2737bd714117bc9b35922a044fe4ccaddb9d30fa72e13dd560577392120bfbd0a9d10c8aaa5aa01
|
||||
|
@ -0,0 +1,15 @@
|
||||
Author: Kacper Kowalik <xarthisius.kk@gmail.com>
|
||||
Description: Copy keys to a list, since orignal map is modified
|
||||
Url: https://github.com/astropy/astropy/issues/4477
|
||||
Bug: https://github.com/astropy/astropy/issues/4460
|
||||
--- a/astropy/wcs/wcs.py
|
||||
+++ b/astropy/wcs/wcs.py
|
||||
@@ -988,7 +988,7 @@
|
||||
"""
|
||||
# Never pass SIP coefficients to wcslib
|
||||
# CTYPE must be passed with -SIP to wcslib
|
||||
- for key in (m.group() for m in map(SIP_KW.match, header.keys())
|
||||
+ for key in (m.group() for m in map(SIP_KW.match, list(header))
|
||||
if m is not None):
|
||||
del header[key]
|
||||
|
@ -0,0 +1,99 @@
|
||||
Author: Ole Streicher <olebole@debian.org>
|
||||
Description: Mark all known test failures as xfail.
|
||||
These failures have been discussed with upstream.
|
||||
--- a/astropy/io/fits/tests/test_connect.py
|
||||
+++ b/astropy/io/fits/tests/test_connect.py
|
||||
@@ -136,6 +136,8 @@
|
||||
# while reading is to check whether col.null is present. For float columns, col.null
|
||||
# is not initialized
|
||||
|
||||
+# see https://github.com/astropy/astropy/issues/3415
|
||||
+ @pytest.mark.xfail()
|
||||
def test_read_from_fileobj(self, tmpdir):
|
||||
filename = str(tmpdir.join('test_read_from_fileobj.fits'))
|
||||
hdu = BinTableHDU(self.data)
|
||||
@@ -172,6 +174,8 @@
|
||||
def setup_method(self, method):
|
||||
warnings.filterwarnings('always')
|
||||
|
||||
+# see https://github.com/astropy/astropy/issues/3415
|
||||
+ @pytest.mark.xfail()
|
||||
def test_read(self, tmpdir):
|
||||
filename = str(tmpdir.join('test_read.fits'))
|
||||
self.hdus.writeto(filename)
|
||||
@@ -189,6 +193,8 @@
|
||||
Table.read(filename, hdu=0)
|
||||
assert exc.value.args[0] == 'No table found in hdu=0'
|
||||
|
||||
+# see https://github.com/astropy/astropy/issues/3415
|
||||
+ @pytest.mark.xfail()
|
||||
@pytest.mark.parametrize('hdu', [1, 'first'])
|
||||
def test_read_with_hdu_1(self, tmpdir, hdu):
|
||||
filename = str(tmpdir.join('test_read_with_hdu_1.fits'))
|
||||
--- a/astropy/wcs/wcs.py
|
||||
+++ b/astropy/wcs/wcs.py
|
||||
@@ -84,6 +84,8 @@
|
||||
if six.PY3 or platform.system() == 'Windows':
|
||||
__doctest_skip__ = ['WCS.all_world2pix']
|
||||
|
||||
+# see https://github.com/astropy/astropy/issues/3380
|
||||
+__doctest_skip__ = ['WCS.all_world2pix']
|
||||
|
||||
if _wcs is not None:
|
||||
WCSBase = _wcs._Wcs
|
||||
--- a/astropy/tests/tests/test_socketblocker.py
|
||||
+++ b/astropy/tests/tests/test_socketblocker.py
|
||||
@@ -66,8 +66,8 @@
|
||||
def _square(x):
|
||||
return x ** 2
|
||||
|
||||
-
|
||||
-@pytest.mark.skipif('not PY3_4 or sys.platform == "win32" or sys.platform.startswith("gnu0")')
|
||||
+# see https://github.com/astropy/astropy/issues/4193
|
||||
+@pytest.mark.skipif(True, reason="Blocks on Debian CI test")
|
||||
def test_multiprocessing_forkserver():
|
||||
"""
|
||||
Test that using multiprocessing with forkserver works. Perhaps
|
||||
--- a/astropy/coordinates/tests/test_api_ape5.py
|
||||
+++ b/astropy/coordinates/tests/test_api_ape5.py
|
||||
@@ -319,7 +319,8 @@
|
||||
# coordinate object, and one that returns a cartesian matrix but does *not*
|
||||
# require `newobj` or `fk5frame` - this allows optimization of the transform.
|
||||
|
||||
-
|
||||
+# Temporary mark until scipy/numpy is fully on 3.5
|
||||
+@pytest.mark.xfail()
|
||||
def test_highlevel_api():
|
||||
J2001 = time.Time('J2001', scale='utc')
|
||||
|
||||
--- a/astropy/visualization/tests/test_histogram.py
|
||||
+++ b/astropy/visualization/tests/test_histogram.py
|
||||
@@ -50,6 +50,8 @@
|
||||
assert patches2[0].axes is ax[1]
|
||||
|
||||
|
||||
+# see https://github.com/astropy/astropy/issues/4329
|
||||
+@pytest.mark.xfail()
|
||||
@pytest.mark.skipif('not HAS_PLT')
|
||||
def test_hist_autobin(rseed=0):
|
||||
rng = np.random.RandomState(rseed)
|
||||
--- a/astropy/table/tests/test_info.py
|
||||
+++ b/astropy/table/tests/test_info.py
|
||||
@@ -6,6 +6,7 @@
|
||||
import warnings
|
||||
import numpy as np
|
||||
|
||||
+from ...tests.helper import pytest
|
||||
from ...extern import six
|
||||
from ... import units as u
|
||||
from ... import time
|
||||
@@ -225,7 +226,8 @@
|
||||
t.info(out=out)
|
||||
assert out.getvalue().splitlines() == exp
|
||||
|
||||
-
|
||||
+# see https://github.com/astropy/astropy/issues/4336
|
||||
+@pytest.mark.xfail()
|
||||
def test_ignore_warnings():
|
||||
t = table.Table([[np.nan, np.nan]])
|
||||
with warnings.catch_warnings(record=True) as warns:
|
@ -1,16 +0,0 @@
|
||||
astropy/tests/helper.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/astropy/tests/helper.py b/astropy/tests/helper.py
|
||||
index 97d2617..a75db15 100644
|
||||
--- a/astropy/tests/helper.py
|
||||
+++ b/astropy/tests/helper.py
|
||||
@@ -42,7 +42,7 @@ __all__ = ['raises', 'enable_deprecations_as_exceptions', 'remote_data',
|
||||
'pickle_protocol', 'generic_recursive_equality_test']
|
||||
|
||||
|
||||
-if os.environ.get('ASTROPY_USE_SYSTEM_PYTEST') or '_pytest' in sys.modules:
|
||||
+if True or os.environ.get('ASTROPY_USE_SYSTEM_PYTEST') or '_pytest' in sys.modules:
|
||||
import pytest
|
||||
|
||||
else:
|
@ -0,0 +1 @@
|
||||
DIST cloudpickle-0.1.1.tar.gz 14479 SHA256 3418303f44c6c4daa184f1dc36c8c0b7ff8261c56d1f922ffd8d09e79caa4b74 SHA512 685972288689219e33bb655abb26fc509b3fc5bb26f5dc8715c3ce544835c7ceab79cb6cc3decfee75a5b846a7e283125c8040901038a25c9d55d965c74a7714 WHIRLPOOL 96ed0ef9112d25538a9a3516946067e6a1997592d246019593c2957b8dff093bf8593ed03289fd5e0b9dfe47a54e556aaed0c8558b65be57e4e263cb6105a371
|
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
inherit eutils distutils-r1
|
||||
|
||||
DESCRIPTION="Extended pickling support for Python objects"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/cloudpickle/"
|
||||
SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">cloudpickle</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +1,2 @@
|
||||
DIST ddt-1.0.0.tar.gz 5535 SHA256 e24ecb7e2cf0bf43fa9d4255d3ae2bd0b7ce30b1d1b89ace7aa68aca1152f37a SHA512 4afec9fca19479acefb4f01bd550d696f437e53bf8e63cbb9dc16aa0b7f6c0214f5c7dc8118044b2d6e794de54ce3bac539f8de58202df74619eee1d8c7f85c1 WHIRLPOOL 0c6d54566147ce9fe9d2a0a3004f1bc053854b97048264442573102494fd8185f4d0f60127ca576b3a066d25756902538400944620745144e6042d4c72c25e71
|
||||
DIST ddt-1.0.1.tar.gz 5530 SHA256 4d9b43149db1047696018feefcb8d01ae3a121335d8290a0bb72fe63814ba427 SHA512 16fd6b1fbe2105976ef416c61fc6375ddb9fe619fa47e953c95bb0aedaa065c47efe2b801a16d0c30e25b7adbd9ec3f2e3483560cd170a78da7dd99513adcc8c WHIRLPOOL bcfc6f67fb9d1e085b6f885c3a61ec1a795aab76af8718710fbb4105ac26f17bd691bd632fd6c83bbd641e2da3fe081234ea4df583f1ec7130ccd9e23c5d92a5
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_{3,4,5}} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A library to multiply test cases"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/ddt https://github.com/txels/ddt"
|
||||
SRC_URI="mirror://pypi/d/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
@ -1,2 +1,3 @@
|
||||
DIST demjson-2.2.2.tar.gz 130874 SHA256 5114563dd3a0324b6c9c74250528660adbb6a095b2a015038149e31a9b5727d5 SHA512 c5df57fdc286b33fbceada0ff8531d559fb183b29ca114fbfef7dfd0615ad5bae3882da91b6818ad58be5e20d3c2091db7cb75b1c31285b8ed5f466984b5fc15 WHIRLPOOL 6ca4e599128a896df098514d2b1983b025122ac07ee5ffa2f673c2d441482e32b7fa013a3896c2efedfcea9114dbe2049927b1754d4db9127bdf1ab9f32ddda3
|
||||
DIST demjson-2.2.3.tar.gz 131263 SHA256 9fb0f3c02fe500104680af2889a64d1637b395aebdb37341ae2309d77854f40c SHA512 058f8429967e21b30a9e28ec7790c372f5eb3126d7ab05c17d6f0548002650314048bf2f4eb3e2c8f75bb91169722c90eeeddb815ca166dfb14b2d1385504b14 WHIRLPOOL b665e19c5c28afd4636b2f33959f7a14d04706c8e8d7c77ef790fb12e3aff56a1cea35420caf7eceb06de8b001cab07a3e38d4252b7f67a3dbba99fcc4f1d476
|
||||
DIST demjson-2.2.4.tar.gz 131457 SHA256 31de2038a0fdd9c4c11f8bf3b13fe77bc2a128307f965c8d5fb4dc6d6f6beb79 SHA512 d8a1cde062d0b062bdae29b6d79ad69fb9cc185428718a0009ccbed544ed37bd354fbb86edadb56bd98183ac8636b2edae322ed19aa5f07a7b6df668c7aa0029 WHIRLPOOL 70e826739bc2ae7ca040e54fe651f021a1c7f08357d985a560a8560f5da694da0068d32e7a972525ba215a6fcda93abdebdf4d99c8e3f156a9f17600aa283973
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="encoder, decoder, and lint/validator for JSON (JavaScript Object Notation) compliant with RFC 4627"
|
||||
HOMEPAGE="http://deron.meranda.us/python/demjson/ https://pypi.python.org/pypi/demjson"
|
||||
SRC_URI="http://deron.meranda.us/python/${PN}/dist/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND=""
|
||||
|
||||
python_test() {
|
||||
cd test
|
||||
if python_is_python3; then
|
||||
2to3 -w --no-diffs test_demjson.py
|
||||
fi
|
||||
"${PYTHON}" test_demjson.py
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
# Docs are .txt files
|
||||
if use doc; then
|
||||
dodoc docs/*.txt || die "Installation of documentation failed"
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST discogs-client-2.0.2.tar.gz 25486 SHA256 7de2166ee4f7f5dc4cf1709b7a6abe6211a0046f2341874d2c67e5c6466351a8 SHA512 00634eb95018ccb2ece0adf4b7e3ea96674f0c8dd63d9bd151cdf9c871898fa24379f78065ebb677cc87eaffa31e91ba60051622a38c6bd774e010c20229b16e WHIRLPOOL ae54cdbb93d7fdfb26301f57a4ee3f0ec925a55a29c377c875221d62a0c54e54d957075ab04800fcc39aa3152317511ec775a66e6a5e25300558437c730faed5
|
||||
DIST discogs-client-2.2.0.tar.gz 27484 SHA256 b31e3fd8f17f46b9c7221182ed6be96774a334ac8be4e434ee99943d27170945 SHA512 e1f894cabab6c8162f0195164cd68fca7806149112d065c007991a4fb93de6bd4baa16230eaccde1e1d9d842930f6bb8ba64bd618352bc85051f64d3e7b13c0b WHIRLPOOL c903dc0348eddbd5c097972313cd04e7c9714f89ef8baac129b20ca01269b5be070f850f1d78b733bf408fb11ba40d26cae6b945bfb33bbdba16f8f9d5509a92
|
||||
DIST discogs-client-2.2.1.tar.gz 24645 SHA256 9e32b5e45cff41af8025891c71aa3025b3e1895de59b37c11fd203a8af687414 SHA512 fa339b14d5655a36fdf252fd94c729ecb97e195c1f7eb2e5207355dc5f4fd89d0b738218ffbac71acab4f143870bdba5cf5ea02dff70166014f14c30481ae1e5 WHIRLPOOL 7eda6665ac149b96317b516f30ef5fa164422f46d0eb0e4281914b40346360c72e2db23b6bbf4891c555c2c18baffdc405144c7532c11577091634390d8f0e67
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
# Not py3 capable due to oauth2 supports py2 pypy only
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Official Python API client for Discogs"
|
||||
HOMEPAGE="https://github.com/discogs/discogs_client https://pypi.python.org/pypi/discogs-client"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/oauth2[${PYTHON_USEDEP}]
|
||||
dev-python/oauthlib[${PYTHON_USEDEP}]
|
||||
"
|
||||
# It's either this or make a test use flag to add RDEPEND behind it. Both work
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" -m unittest discover || die "Tests failed under ${EPYTHON}"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST dj-database-url-0.3.0.tar.gz 2747 SHA256 f2e273ed34acbb560962d5cf12917936d8df02297df09bd3089b8546d4584138 SHA512 a27fa974edcc0fcfb99f8b74b25324a7afbf70ae4161576ec72733a3b305e170b23677106b85dbc075c5888330d6187ad9e95fbecc41cf7455c26ebf6f3f86e3 WHIRLPOOL 60e0c50f353ea314c6562a05d5a39042e3db15aca4018e8b35646c991a15fda59ed72b213fcbdef303d3eb47a2cff856b1c1d3d80c3e7868bc619794cf0330f3
|
||||
DIST dj-database-url-0.4.0.tar.gz 4015 SHA256 858312abb7b330ea875733a65806a36ad04d7b8451c6ce8835118a2fa10d6870 SHA512 eea9a095f135adf7a197db949cb1ca067ff920c73fe62f510da4decd92aad7e0051bbabee4b92f0848ffc23ce6ee87ddaf0fb284b0cfba78ba0e3b5a367cccf6 WHIRLPOOL ff56f7666aee983286a1faeabcbb4815e88857f1f10d2919963f7ac07b95916f363859ea22f284180e9828eb95e3a3c70c3e25eb614450c1ef0e463ee924a892
|
||||
|
@ -0,0 +1,30 @@
|
||||
# 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 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Use Database URLs in your Django Application"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/dj-database-url https://github.com/kennethreitz/dj-database-url"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
# Not contained in the tarball
|
||||
RESTRICT=test
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" test_dj_database_url.py || die
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST django-annoying-0.7.6.tar.gz 7355 SHA256 7cc80ef00d63c3863e03ed97a197f8b71c67b00a5bd9eaf0383a90dcc6117003 SHA512 86ceb5ae10fafb6e273c2ff31b25489482da3ded6eaf3fdade3d148563251e00f4c9af3ce7420ae68124709a6f8e1a8960824e2b170d77fc5d57f2364b8c7e31 WHIRLPOOL d6f451f21db9ee1415392cfb2d18037bfd39306f0a0301f4bc393a9c158754894cd7e7d3345ee30b071832980939820742e44defcaa6056c11df9984887a8c85
|
||||
DIST django-annoying-0.7.7.tar.gz 7277 SHA256 498ba1ab00da56b939772913f7d5b3a29997990b63518acfa5305e8bf03fed7b SHA512 37435fb08110bc0e06a2a8b35d4f45d96d7fed3c03b87a541fcd96a76ed2e36281f1f7632654f3f5f64597203097ac7b5def1e8dc32e500e973fd81686a208ab WHIRLPOOL 14df887e05b9d1d47f80982a89ab719a2244dc38fa02ec9f0666484d79923ad7a1df047e261b5f70be8b408df30def2f70b9ca93ab7637278b5302e1eeb5e2f9
|
||||
DIST django-annoying-0.8.2.tar.gz 9135 SHA256 5e394ebb65819b9d6b44389e0d0f107b3504921293b784ab7cabaa73045f6b2c SHA512 5d8475ccc8f20291218f8302c90b70c01488361924bf7ad142403f6dcb9d51c9d8558c0dc3b0686585aa2f80b8a5ec2875ffc6f940a5a4bd8750de8653815f0a WHIRLPOOL 468b4bc3a1688e35cb2005e3f65fb49bb168092915c49c3d624909a93a65f017b76bb1ce83778b2396dbec12f92cd9da400f12d07b4b807e107bb64024020d0b
|
||||
DIST django-annoying-0.8.7.tar.gz 10170 SHA256 dd15478a686c64edd1829d2f2c0f1203167c1670fc19da0bbe101b0343913f9a SHA512 4654083ef0076837bc2cacec82c51faa3746cfb2f27002692c7552079e0f0e8d59e064ec4119366e0c452c102309513ff8bf12ec5d9785485e580b989c96517a WHIRLPOOL c76db9e2e50a26b7bf3c2e2d8099066cef8d40681b1544479d0a3ba9a10de08994a90ac21cfb8292482735f7bb20d81fba40228a34ad7818ff9428c0f11fe683
|
||||
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="This is django application that try to eliminate annoying things in Django framework"
|
||||
HOMEPAGE="https://bitbucket.org/offline/django-annoying/wiki/Home"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="dev-python/django[${PYTHON_USEDEP}]"
|
@ -1,2 +1,3 @@
|
||||
DIST django-auth-ldap-1.2.2.tar.gz 131086 SHA256 faa067b073f6ea73c1ceeb5e244187ae1b3cf4ec79846ff366fa996428434264 SHA512 676d1114faeb9a2956ed51c586afea7618c1bf62867d3525596599391f8327b8f22a075c4203311df88279c317ca37b9097b59e55a64330afee6eb1c5a9c9ac3 WHIRLPOOL ae84405b4855ad9701244ab6cbd5e5154d2e173e04896c27e0869680bb4e030b6847293bcc59ef4f7f56969778c7d403721bae0d7099e2f3724186908c7abbbd
|
||||
DIST django-auth-ldap-1.2.6.tar.gz 131385 SHA256 17671e1f0f1ef5c1242291f710956ba9446bf804ff907eab1fe533031b9411b5 SHA512 59d6d18ad2f890e26a728b9f45885d98d08d85a36bce0a28cd52e02f7c4a52def79d668c1948be37915fd0c3be72d50de983bf4a4b622ce7bbff7d3e040b63b7 WHIRLPOOL 5e673bc686f222e6704ca98f0ae8a7472bd85b6c33f3182f4a087d9a8b3174cdcd76521ce42033874979d00dee94cbdc2db5da32b8bdceb474edf3e8b498d1ee
|
||||
DIST django-auth-ldap-1.2.7.tar.gz 131431 SHA256 ff6af43d5429fbd918f62c25a07e2bff916b053b46990c1b60e60de63d5f3f80 SHA512 2ca29bdceb4b2540f7c90c9dfdfd7a02f91e72cd44ae062cebff84199dab737ee69ada56269189ec0dd70ee7916c3373acba50866280ad080c4c68dd69dffb09 WHIRLPOOL 785f1155e03f80e1c84f62bd565455c079ccf326210ff45c5597d7ac344e362b54ffb4196b1bbbdb5568a1288c053ae0dc2531489c33da95511323ea345be399
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
# Although setup.py claims to support py3, python-ldap does not
|
||||
PYTHON_COMPAT=( python2_7 pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Django LDAP authentication backend"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/django-auth-ldap https://bitbucket.org/psagers/django-auth-ldap/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="dev-python/django[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-ldap-2.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="app-arch/unzip
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( ${RDEPEND}
|
||||
>=dev-python/mockldap-0.2[${PYTHON_USEDEP}] )
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/docs.patch )
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
PYTHONPATH=. "${PYTHON}" test/manage.py test || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST doit-py-0.3.0.tar.gz 16151 SHA256 af015e61b1aade838d299a508e72b35d714b67a9b903c65c2863427f5c3883fc SHA512 c6cbb326a7635b78d0c22ff7db8a722aedf8d66b85db4017e1a2566f1d8f1f96d4e00407cfec2180d20091addaf731a916da1a3970553cb4bebec87df90fc609 WHIRLPOOL becc06fd65d0afcf2b9034f7943f5cb01362ad06dabc154051dd5c5d0bf0b4cc35b94e5ee0a54b873ac1c32c82cd122b78e274fda597252ebdda1f5b78ef09dd
|
||||
DIST doit-py-0.4.0.tar.gz 16534 SHA256 46896bbb592ecb954397de5dc525e74f46dfb578ecfb53b7c57d7f798d57e2be SHA512 72aa850928c99bf43eefd827334b361243da3b26283fa358ed3f7fba72d1916b1cbe50e581d3d62ed3b4f0efb9b5d1e7f59c3dc913b2ee27e6503bf4e47def33 WHIRLPOOL 0c9180a92e29d4bf2338c33af6e4fa3f23cfe6b5a35ee3c8eb060961a311796b8d1c342074a917bfc373f068e28a3c883fcb9bcb9be45057d44c35ef9838b6a6
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="doit tasks for python stuff"
|
||||
HOMEPAGE="http://pythonhosted.org/doit-py"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/singledispatch[${PYTHON_USEDEP}]
|
||||
app-text/hunspell )
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
RDEPEND="
|
||||
virtual/python-pathlib[${PYTHON_USEDEP}]
|
||||
dev-python/doit[${PYTHON_USEDEP}]
|
||||
dev-python/configclass[${PYTHON_USEDEP}]"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST doit-0.23.0.tar.gz 316588 SHA256 5d0421be6e5528e3be11bd0ede5c232e0c91f2b98b55688d7db1ce0638e1efbb SHA512 f2298d76d9ce3e7ed5f356bfdeeef8d5d99ebae74571666a3d2b3843fc63f5a8f76cd6cdedcfe8fc81bc653ecf04951c11f50abd16e9aa8fc7539e3c224b0e4c WHIRLPOOL cfb09484e25cfbc9618ef5b4a750010d16281a13772a37a8da59f2f6e1ebed77bbc40c06f263062c0464e6689415aeac695c0ef9e5cfe561349efea61f8be8e3
|
||||
DIST doit-0.27.0.tar.gz 193700 SHA256 06662c8677fb3e925c262559b7d3c5d8e08a10320be3386a7d348702e8e3ed8a SHA512 afca1029873c9fca0632ef43bc75762eed0738b7e4c1b8e9babf10543b15f78c526794462a83fa2fac1b35f2ff9152afbce8660b1dfbd86ce9dd73d47c70a9f7 WHIRLPOOL 60c022977b6dfe9e3e66d206315ac23a291c4df58bc07b4f8120622f257b636b80340dc267e5615de5876d40a500cf0fbaf3f531c6f41dce53d91ebdc6d65d7e
|
||||
DIST doit-0.28.0.tar.gz 213582 SHA256 12a2febde2566728344acbdb6ad92f82417228cd548f0f467187d1e67047513f SHA512 ff1eeb1819ad8a962b98c6d96aef8173bc9793a3afd6e2086f1f80fa60eba73c71e16c1467be89f2f78c9c9516f3c780bf57d7f461df96940f2feb51afd2ad3a WHIRLPOOL cf759118284c8e7b74299bf7fa92e99bdf5302e7f1dacd86c301a14d13eca5a5611d2cd57b0411a76439df64add439627040dcc6902b2d43ffd95a3c942441da
|
||||
DIST doit-0.29.0.tar.gz 222341 SHA256 fcb479482644de3e83d6faed9b29373f1f38942b79b991a7432943a84416d5cd SHA512 a686457df31b414d0c3797789e0ae1ae5cdfa3674025236419cb59b254f342cd2db07911ef18b2cb576d8d817b44035b9372265b34b786b2779fb7074b394de1 WHIRLPOOL 64e5cedb8d3ce0b99287713c05041da477182d63f745c7abc10cb72fd3d856fee62514cfa97c4ae6a433e12dd43d70bf4dea751eff99b91430b538dbf0ab7012
|
||||
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
inherit eutils distutils-r1
|
||||
|
||||
RESTRICT="test" # can't work as it imports nonexistant modules from coverage
|
||||
|
||||
DESCRIPTION="Automation tool"
|
||||
HOMEPAGE="http://python-doit.sourceforge.net/ https://pypi.python.org/pypi/doit"
|
||||
SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/pyinotify[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
>=dev-python/doit-py-0.3.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/configparser[${PYTHON_USEDEP}]' python2_7 pypy)
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
DEPEND="test? ( ${RDEPEND}
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pyflakes[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/cloudpickle[${PYTHON_USEDEP}] )"
|
||||
|
||||
# Required for test phase
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_prepare_all() {
|
||||
# Disable test failing due to impact on PATH run in a sandbox
|
||||
sed -e s':test_target:_&:' -i tests/test_cmd_strace.py || die
|
||||
|
||||
# Test requires connection to an absent database
|
||||
sed -e s':testIgnoreAll:_&:' -i tests/test_cmd_ignore.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x TMPDIR="${T}"
|
||||
# disable tests where pypy's treatment of some tests' use of a db is incompatible
|
||||
|
||||
if [[ "${EPYTHON}" == pypy ]]; then
|
||||
sed -e 's:test_remove_all:_&:' -i tests/test_dependency.py || die
|
||||
sed -e 's:testForgetAll:_&:' -i tests/test_cmd_forget.py || die
|
||||
sed -e 's:test_not_picklable:_&:' \
|
||||
-e 's:test_task_not_picklabe_multiprocess:_&:' \
|
||||
-i tests/test_runner.py || die
|
||||
fi
|
||||
|
||||
py.test || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && HTML_DOCS=( doc/_build/html/. )
|
||||
|
||||
distutils-r1_src_install
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST Epsilon-0.6.0.tar.gz 96243 SHA256 2be3a6ef877c4e17ca9dadd6b484fe31bdf16c20b949ec6a8b15677e08c512fa SHA512 0ce7ba2eb86811dc50a0e86b9f3d85be1a4f930f86659c2381a1d80455e1e86362b8719c92ae2ad951a34264e5d0649ec5de96f1179734c7fab6c3abc6fb037b WHIRLPOOL 6aa363b44a42f29ec836cf46b2fdfe3bb57541a9fe282b57ea888f4906b9c438c9eb99d5a0876cb11108b7337a0691c45810a3e44579023f0b660e8752952120
|
||||
DIST Epsilon-0.7.0.tar.gz 81218 SHA256 81419d50b17a20efd75440d43e4b07fe3c2a5e6d619f39318dab9031a0680032 SHA512 d1927ca431df3233a94296ca9e1f5dd70d6d61091d23f77df2222c6472d9a5f7b55c5c8dd2a75d0fead41af862c9e3a6a0ea9a31e21447459d5182f0d677d9b2 WHIRLPOOL 8cbab28e5e05b44b521c5f66494de1e2f4bee7713487cfb9d87bfcc108dc05b6534919934fd53cb1b0dc7aee633187351973b78cfdabf0584d6b294104a05a57
|
||||
DIST Epsilon-0.7.1.tar.gz 96820 SHA256 419ab2de80e6b201455775a939c158259af90695e59474a4a7bb3cd522a7193b SHA512 ecf34a402208e514c430b4b3785df9b29f3708026ceba1301a2db8760b55111f59e7c40f868f4b642e4c7dd6c78735edbc32b2ef96ec3582e90aa2d978f06842 WHIRLPOOL 69de1d74457ce6f376537c1a8ba3adbf8cae7b2e7325d8a61ba1a1a83e1b2cc88794b5016fa37b1808e32ff61834cb215b30146d93a0e6416623afd6a4609c08
|
||||
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit twisted-r1 eutils
|
||||
|
||||
DESCRIPTION="Epsilon is a Python utilities package, most famous for its Time class"
|
||||
HOMEPAGE="http://divmod.org/trac/wiki/DivmodEpsilon https://pypi.python.org/pypi/Epsilon"
|
||||
SRC_URI="mirror://pypi/${TWISTED_PN:0:1}/${TWISTED_PN}/${TWISTED_P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-python/twisted-core-13.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )
|
||||
${DEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/epsilon_plugincache_portagesandbox.patch" )
|
||||
|
||||
# epsilon doesn't install any plugins, so override the default
|
||||
TWISTED_PLUGINS=()
|
||||
|
||||
python_prepare_all() {
|
||||
# Rename to avoid file-collisions
|
||||
mv bin/benchmark bin/epsilon-benchmark
|
||||
sed -i \
|
||||
-e "s#bin/benchmark#bin/epsilon-benchmark#" \
|
||||
setup.py || die "sed failed"
|
||||
|
||||
#These test are removed upstream
|
||||
rm -f epsilon/test/test_sslverify.py epsilon/sslverify.py || die
|
||||
#See bug 357157 comment 5 for Ian Delaney's explanation of this fix
|
||||
sed -e 's:month) 2004 9:month) 2004 14:' \
|
||||
-i epsilon/test/test_extime.py || die
|
||||
# Release tests need DivmodCombinator.
|
||||
rm -f epsilon/test/test_release.py* epsilon/release.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
dodoc NAME.txt NEWS.txt
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
#Lets run some tests, having prepped them
|
||||
python_test() {
|
||||
# No testrunner seems stipulated within the source; pytest and nosetests both work
|
||||
nosetests ${PN}/test || die "testsuite failed under ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
# 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 python3_4 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Highly concurrent networking library"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/eventlet https://github.com/eventlet/eventlet/"
|
||||
SRC_URI="mirror://pypi/e/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples test"
|
||||
|
||||
RDEPEND=">=dev-python/greenlet-0.3[${PYTHON_USEDEP}]"
|
||||
DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-docs-2.7.6-r1:2.7 )
|
||||
test? ( ${RDEPEND}
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_prepare_all() {
|
||||
if use doc; then
|
||||
local PYTHON_DOC_ATOM=$(best_version --host-root dev-python/python-docs:2.7)
|
||||
local PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}"
|
||||
local PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html"
|
||||
local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv"
|
||||
sed -i "s|'http://docs.python.org/': None|'${PYTHON_DOC}': '${PYTHON_DOC_INVENTORY}'|" doc/conf.py || die
|
||||
fi
|
||||
|
||||
if use test; then
|
||||
# sed -i '/This is a Python 3 module/d' eventlet/green/http/__init__.py || die
|
||||
# sed -i 's/^import/from OpenSSL import/g' eventlet/green/OpenSSL/__init__.py || die
|
||||
# sed -i 's/^from version/from OpenSSL.version/' eventlet/green/OpenSSL/__init__.py || die
|
||||
sed -i 's/TEST_TIMEOUT = 1/TEST_TIMEOUT = 10/' tests/__init__.py || die
|
||||
fi
|
||||
|
||||
# Prevent file collisions from teestsuite
|
||||
sed -e "s:'tests', :'tests', 'tests.*', :" -i setup.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
# https://github.com/eventlet/eventlet/issues/152
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Several errors 1 failure
|
||||
# https://github.com/eventlet/eventlet/issues/151
|
||||
nosetests tests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/_build/html/. )
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_{3,4,5}} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A wrapper around PyFlakes, pep8 & mccabe"
|
||||
HOMEPAGE="https://bitbucket.org/tarek/flake8 https://pypi.python.org/pypi/flake8"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
# requires.txt inc. mccabe however that creates a circular dep
|
||||
RDEPEND="
|
||||
>=dev-python/pyflakes-0.8.1[${PYTHON_USEDEP}]
|
||||
<dev-python/pyflakes-1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pep8-1.5.7[${PYTHON_USEDEP}]
|
||||
!=dev-python/pep8-1.6.1[${PYTHON_USEDEP}]
|
||||
!=dev-python/pep8-1.6.2[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( ${PDEPEND}
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7)
|
||||
>=dev-python/mccabe-0.2.1[${PYTHON_USEDEP}]
|
||||
<dev-python/mccabe-0.5[${PYTHON_USEDEP}]
|
||||
)"
|
||||
PDEPEND="
|
||||
>=dev-python/mccabe-0.2.1[${PYTHON_USEDEP}]
|
||||
<dev-python/mccabe-0.5[${PYTHON_USEDEP}]"
|
||||
|
||||
python_prepare_all() {
|
||||
# This tests requires / assumes this version is already installed.
|
||||
sed -e 's:test_register_extensions:_&:' -i flake8/tests/test_engine.py || die
|
||||
|
||||
# Gentoo has flake8 support restored in >=pep8-1.6.2-r1.
|
||||
sed -e 's:, != 1.6.2::' -i setup.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Plugin for nose or py.test that automatically reruns flaky tests"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/flaky https://github.com/box/flaky"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="Apache-2.0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/genty[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
python_prepare_all() {
|
||||
cat >> test/__init__.py <<- EOF
|
||||
# coding: utf-8
|
||||
|
||||
from __future__ import unicode_literals
|
||||
EOF
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests --with-flaky --exclude="test_nose_options_example" test/test_nose/ || die
|
||||
py.test -k 'example and not options' --doctest-modules test/test_pytest/ || die
|
||||
py.test -p no:flaky test/test_pytest/test_flaky_pytest_plugin.py || die
|
||||
nosetests --with-flaky --force-flaky --max-runs 2 test/test_nose/test_nose_options_example.py || die
|
||||
py.test --force-flaky --max-runs 2 test/test_pytest/test_pytest_options_example.py || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST fonttools-2.4.tar.gz 348885 SHA256 95e5d8a67e2dae3ea237f9bebc449e0af42f12f03683db34f617e5b15d9d4fb0 SHA512 d63f4d715b2af2716145e6798cfbcde5a96da0d778f1a394bf8850afb0d4643ee87399a031c1f97f67d46ec545eb548ef137e794b1b02964ad04d54e468ac570 WHIRLPOOL dfc654fb40ec8cb7f7c3767e33bcdf6a0048ff42b53f97e9df893402f8470f95ba85dda436263b3f4a5281d19f48d8b21b2be551973421a17b6ed25ff211eef0
|
||||
DIST fonttools-2.5.tar.gz 229374 SHA256 c89603f9f3346f48f4a24f786422e935423554e0a9172dcd3ec8ffbd556d2159 SHA512 03e5943dbf821563d1997de50ee3a5d46c56d22d8ec48d03211fe4c51913154da36655bce5f5b003551fbcc7daa39919f1d1d21f2dd8d61c1f6186cee74f694f WHIRLPOOL 48b75a2b7b525c46f6de9b3b258873ef2965d9b9ba10679e4958e0dcde3d031c2ded9f8d7beb0dc41233ca028bc83ea3b4f75df6b4457f6f3a8ccf6b547af45f
|
||||
DIST fonttools-3.0.tar.gz 298992 SHA256 3bc9141d608603faac3f800482feec78a550d0a94c29ff3850471dbe4ad9e941 SHA512 d0793d4c17e077e2cd308f37680d8b2ac34502542fda5a4a20e9567dff3667c8fc3f73aff8605e2e86d5486bf9a61f3f25f1f8d20d6de610477f7f8b0c7be40e WHIRLPOOL acaf145935e7f85529bdcd74edd366307482424ea68b55be96c6e51808d2364e0c6c2aba1cfef8d16b8e402a286add0785e7974998492178b3fd0ce2458207f8
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts"
|
||||
HOMEPAGE="https://github.com/behdad/fonttools/"
|
||||
SRC_URI="https://github.com/behdad/fonttools/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-python/numpy-1.0.2[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
python_install_all() {
|
||||
DOCS=( README.md Doc/{changes.txt,install.txt} )
|
||||
HTML_DOCS=( Doc/documentation.html )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST foolscap-0.10.1.tar.gz 491548 SHA256 bd7c6ea98237a81622461398254528c9c791574fd283d1a1ed8e0e3f705b36f3 SHA512 94577c2ad95235aad955ea1bc435b23d8c460cc658179556b204333df81359e773e692befcb0546f003a62aae24cc5dcaa85c1a06fef52cb7e32cdcf820613f7 WHIRLPOOL 0b709c8d8bbb91e187f4fca7c67f7cae07df6e2c11a5b7e47e54e0abfbc06d61392b860ffbae42e9b236452e248875056b10e001eda060cc17f86856ba92444f
|
||||
DIST foolscap-0.7.0.tar.gz 478999 SHA256 fba0e016079442c9e69e2752727a1307f4110a1c62319a059650b2ab044b29d8 SHA512 b2eb5415376d4e8e4ee3fd9ecef80a02d195d6b44059e5292c2daa7dcfdea9deafd8678ff89391128244a8d41fb6a69a92f9e4f07cc599f7358783dc8cb70f15 WHIRLPOOL 58bc4b34d36e1edfa3bbcadb6a16704820af8b6448bf09d6d5e95c23edf60f41481d6792fcae808c0bd8bb3f71b18ed794c0be00e77cc67f160cb3b026567384
|
||||
DIST foolscap-0.8.0.tar.gz 475062 SHA256 6ab49e8c52ee49597148802a877593ddb6ca9a63cb32eaae8bff2900667be1c9 SHA512 4f491ac1e35e76b7fcee5994312e34696921eb7a9b0913e919142fe2807e32aad5ddbbffec3bfe5e1f4333ec38e0ee607ea9cfe5007b385ab6a15ea913c80f45 WHIRLPOOL 5b8c26eb081cf211683d6a8ed3177267793fe2aa3258b2e6b381aaa4d367ae4c0fb61b0902a186874efad9d2150303378d4468c573992047ac0994998ba2f534
|
||||
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="RPC protocol for Twisted"
|
||||
HOMEPAGE="http://foolscap.lothar.com/trac https://pypi.python.org/pypi/foolscap"
|
||||
SRC_URI="http://${PN}.lothar.com/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="doc +ssl test"
|
||||
|
||||
# setup.py stipulates >=twisted-core-2.5.0 but failures occur in testsuite under -15.x
|
||||
RDEPEND="
|
||||
dev-python/twisted-core[${PYTHON_USEDEP}]
|
||||
dev-python/twisted-web[${PYTHON_USEDEP}]
|
||||
dev-python/service_identity[${PYTHON_USEDEP}]
|
||||
ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )
|
||||
"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( ${RDEPEND} )"
|
||||
|
||||
python_test() {
|
||||
trial ${PN} || die "Tests fail for ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
local i;
|
||||
if use doc; then
|
||||
pushd doc > /dev/null
|
||||
mkdir build || die
|
||||
for i in ./*.rst
|
||||
do
|
||||
rst2html.py $i > ./build/${i/rst/html} || die
|
||||
done
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
trial ${PN} || die "Tests fail for ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/build/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue