parent
b899d467e4
commit
69cdd6474d
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/rudy/rudy-0.9.8.016-r1.ebuild,v 1.1 2013/11/30 08:16:49 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RESTRICT=test
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc examples/authorize.rb examples/gem-test.rb
|
||||
examples/solaris.rb examples/windows.rb"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="Rudyfile"
|
||||
|
||||
inherit ruby-fakegem eutils versionator
|
||||
|
||||
DESCRIPTION="Not your grandparents' EC2 deployment tool"
|
||||
HOMEPAGE="http://solutious.com/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
if [[ "$(get_version_component_range 4)" == "001" ]]; then
|
||||
MY_PV="$(get_version_component_range 1-3)"
|
||||
else
|
||||
MY_PV="${PV}"
|
||||
fi
|
||||
|
||||
SRC_URI="http://github.com/solutious/${PN}/tarball/v${MY_PV} -> ${PN}-git-${PV}.tgz"
|
||||
RUBY_S="solutious-${PN}-*"
|
||||
|
||||
ruby_add_rdepend '
|
||||
>=dev-ruby/amazon-ec2-0.9.10
|
||||
>=dev-ruby/highline-1.5.1
|
||||
>=dev-ruby/aws-s3-0.6.1
|
||||
>=dev-ruby/storable-0.7.1
|
||||
>=dev-ruby/gibbler-0.7.7
|
||||
>=dev-ruby/sysinfo-0.7.3
|
||||
>=dev-ruby/caesars-0.7.4
|
||||
>=dev-ruby/drydock-0.6.9
|
||||
>=dev-ruby/annoy-0.5.6
|
||||
>=dev-ruby/attic-0.5.2
|
||||
>=dev-ruby/rye-0.9.2
|
||||
virtual/ruby-ssl'
|
@ -1,4 +1,3 @@
|
||||
DIST cdrtools-3.00.tar.bz2 1978563 SHA256 7f9cb64820055573b880f77b2f16662a512518336ba95ab49228a1617973423d SHA512 93887afd6c244814b7f6a623f0ac5b551934626163065a6f32aefe82aa7438450fd7a42737ef3cdaad3f18841c066d25e72e37891531dd0be5be328692712cec WHIRLPOOL a02750131e4ec55df10387a01dab3881afee669cd8b8ea65eaed4fdd82e6bd11040c6d79fc64ccc9377e787f5903ec92ea3ae81db1945554b65a8636737cc931
|
||||
DIST cdrtools-3.01a17.tar.bz2 2061522 SHA256 3d613965b213ad83e4be0ba2535e784901839ea4d11a20a2beb6765f0eb76dfa SHA512 34a0579c536028b030cf828441ad55a705472646bc3a1ae962aad234fbe0b12c2bcb670511487c17086f5ba7643d1b8ae42a4a86bfe2940dc94f9744377daa8b WHIRLPOOL b718d559e0b36a576a42a38f84b3917891450d0bbab47b084eb1e906a396cf28ce47b79fd16565d4e0697311ee0c3d5abdd95b52ba2d7ae4e9f32d9b26bc26e1
|
||||
DIST cdrtools-3.01a18.tar.bz2 2059197 SHA256 7e9ad9e00679bb0c0456455243eb41614a5a3395eebded9371a0c843dd3494d6 SHA512 d9d7e427b9860b387a4b50c5120e564a275ed377cd933836ed68713e004fb5573bfa06640cba62a1c38e6fef2ba34d4384fe2644d64077b05338e005116c07ee WHIRLPOOL fc8dce50b17d176a1c90ad182c8ff49ab1a1cb2e0fc916938d7d3a99b4b4d2b683e7d49278be72596dba98bc2a4b8b4072cb929dee36af60b966d639bd945799
|
||||
DIST cdrtools-3.01a19.tar.bz2 2065394 SHA256 9680547e0be8efa82d2ef542af47b5c0f465bc23fd5d8af27cb0328e4e5ba35e SHA512 88c1b23ce436bb2265bc64bb31b42904d48946ead2bda07a284371f2637e58b837a15dc6731d5f43f33cf9f9edbec7cf386b2b98a9ea4ccb71a3412f78e28981 WHIRLPOOL 5dc9a990cfc19e0148de8fd718ee0e017dd9f25d5ba8996d3b5ed740344abd8d6d8ec0b2ad7b4aebe16b2edefda67e5de1bc6ce5c3679e170f02ad8c263808ef
|
||||
|
@ -1,156 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-3.01_alpha18.ebuild,v 1.1 2013/10/14 17:43:12 billie Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit fcaps multilib eutils toolchain-funcs flag-o-matic
|
||||
|
||||
MY_P="${P/_alpha/a}"
|
||||
|
||||
DESCRIPTION="A set of tools for CD/DVD reading and recording, including cdrecord"
|
||||
HOMEPAGE="http://cdrecord.berlios.de/private/cdrecord.html"
|
||||
SRC_URI="ftp://ftp.berlios.de/pub/cdrecord/$([[ -z ${PV/*_alpha*} ]] && echo 'alpha/')/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1 CDDL-Schily"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="acl nls unicode"
|
||||
|
||||
RDEPEND="acl? ( virtual/acl )
|
||||
nls? ( virtual/libintl )
|
||||
!app-cdr/cdrkit"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( >=sys-devel/gettext-0.18.1.1 )"
|
||||
|
||||
S=${WORKDIR}/${P/_alpha[0-9][0-9]}
|
||||
|
||||
FILECAPS=(
|
||||
cap_sys_resource,cap_dac_override,cap_sys_admin,cap_sys_nice,cap_net_bind_service,cap_ipc_lock,cap_sys_rawio+ep usr/bin/cdrecord --
|
||||
cap_dac_override,cap_sys_admin,cap_sys_nice,cap_net_bind_service,cap_sys_rawio+ep usr/bin/cdda2wav --
|
||||
cap_dac_override,cap_sys_admin,cap_net_bind_service,cap_sys_rawio+ep usr/bin/readcd
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# Remove profiled make files.
|
||||
rm -f $(find . -name '*_p.mk') || die "rm profiled"
|
||||
|
||||
# Adjusting hardcoded paths.
|
||||
sed -i -e 's:opt/schily:usr:' \
|
||||
$(find ./ -type f -name \*.[0-9ch] -exec grep -l 'opt/schily' '{}' '+') \
|
||||
|| die "sed opt/schily"
|
||||
|
||||
sed -i -e "s:\(^INSDIR=\t\tshare/doc/\):\1${PF}/:" \
|
||||
$(find ./ -type f -exec grep -l 'INSDIR.\+doc' '{}' '+') \
|
||||
|| die "sed doc"
|
||||
|
||||
# Respect libdir.
|
||||
sed -i -e "s:\(^INSDIR=\t\t\)lib:\1$(get_libdir):" \
|
||||
$(find ./ -type f -exec grep -l '^INSDIR.\+lib\(/siconv\)\?$' '{}' '+') \
|
||||
|| die "sed multilib"
|
||||
|
||||
# Do not install static libraries.
|
||||
sed -i -e 's:include\t\t.*rules.lib::' \
|
||||
$(find ./ -type f -exec grep -l '^include.\+rules\.lib' '{}' '+') \
|
||||
|| die "sed rules"
|
||||
|
||||
# Respect CC/CXX variables.
|
||||
cd "${S}"/RULES
|
||||
local tcCC=$(tc-getCC)
|
||||
local tcCXX=$(tc-getCXX)
|
||||
sed -i -e "/cc-config.sh/s|\$(C_ARCH:%64=%) \$(CCOM_DEF)|${tcCC} ${tcCC}|" \
|
||||
rules1.top || die "sed rules1.top"
|
||||
sed -i -e "/^\(CC\|DYNLD\|LDCC\|MKDEP\)/s|gcc|${tcCC}|" \
|
||||
-e "/^\(CC++\|DYNLDC++\|LDCC++\|MKC++DEP\)/s|g++|${tcCXX}|" \
|
||||
-e "/COPTOPT=/s/-O//" \
|
||||
-e 's/$(GCCOPTOPT)//' \
|
||||
cc-gcc.rul || die "sed cc-gcc.rul"
|
||||
sed -i -e "s|^#CONFFLAGS +=\t-cc=\$(XCC_COM)$|CONFFLAGS +=\t-cc=${tcCC}|g" \
|
||||
rules.cnf || die "sed rules.cnf"
|
||||
|
||||
# Create additional symlinks needed for some archs (armv4l already created)
|
||||
local t
|
||||
for t in armv4tl armv5tel armv7l s390x; do
|
||||
ln -s i586-linux-cc.rul ${t}-linux-cc.rul || die
|
||||
ln -s i586-linux-gcc.rul ${t}-linux-gcc.rul || die
|
||||
done
|
||||
|
||||
# Schily make setup.
|
||||
cd "${S}"/DEFAULTS
|
||||
local os="linux"
|
||||
[[ ${CHOST} == *-darwin* ]] && os="mac-os10"
|
||||
|
||||
sed -i \
|
||||
-e "s:/opt/schily:/usr:g" \
|
||||
-e "s:/usr/src/linux/include::g" \
|
||||
-e "s:bin:root:g" \
|
||||
Defaults.${os} || die "sed Schily make setup"
|
||||
}
|
||||
|
||||
# skip obsolete configure script
|
||||
src_configure() { : ; }
|
||||
|
||||
src_compile() {
|
||||
if use unicode; then
|
||||
local flags="$(test-flags -finput-charset=ISO-8859-1 -fexec-charset=UTF-8)"
|
||||
if [[ -n ${flags} ]]; then
|
||||
append-flags ${flags}
|
||||
else
|
||||
ewarn "Your compiler does not support the options required to build"
|
||||
ewarn "cdrtools with unicode in USE. unicode flag will be ignored."
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! use filecaps; then
|
||||
CFLAGS="${CFLAGS} -DNO_LINUX_CAPS"
|
||||
fi
|
||||
|
||||
if ! use acl; then
|
||||
CFLAGS="${CFLAGS} -DNO_ACL"
|
||||
fi
|
||||
|
||||
# If not built with -j1, "sometimes" cdda2wav will not be built.
|
||||
emake -j1 CC="$(tc-getCC)" CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" \
|
||||
LDOPTX="${LDFLAGS}" \
|
||||
INS_BASE="${ED}/usr" INS_RBASE="${ED}" LINKMODE="dynamic" \
|
||||
RUNPATH="" GMAKE_NOWARN="true"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# If not built with -j1, "sometimes" manpages are not installed.
|
||||
emake -j1 CC="$(tc-getCC)" CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" \
|
||||
LDOPTX="${LDFLAGS}" \
|
||||
INS_BASE="${ED}/usr" INS_RBASE="${ED}" LINKMODE="dynamic" \
|
||||
RUNPATH="" GMAKE_NOWARN="true" install
|
||||
|
||||
# These symlinks are for compat with cdrkit.
|
||||
dosym schily /usr/include/scsilib
|
||||
dosym ../scg /usr/include/schily/scg
|
||||
|
||||
dodoc ABOUT Changelog* CONTRIBUTING PORTING README.linux-shm READMEs/README.linux
|
||||
|
||||
cd "${S}"/cdda2wav
|
||||
docinto cdda2wav
|
||||
dodoc Changelog FAQ Frontends HOWTOUSE NEEDED README THANKS TODO
|
||||
|
||||
cd "${S}"/mkisofs
|
||||
docinto mkisofs
|
||||
dodoc ChangeLog* TODO
|
||||
|
||||
# Remove man pages related to the build system
|
||||
rm -rvf "${ED}"/usr/share/man/man5
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fcaps_pkg_postinst
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
einfo
|
||||
einfo "Darwin/OS X use the following device names:"
|
||||
einfo
|
||||
einfo "CD burners: (probably) ./cdrecord dev=IOCompactDiscServices"
|
||||
einfo
|
||||
einfo "DVD burners: (probably) ./cdrecord dev=IODVDServices"
|
||||
einfo
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST ReText-4.0.1.tar.gz 92892 SHA256 547f4d4cd6ca826963799a55e124ee22bbd2c1dc33fd11dc0d891cb66af8b77e SHA512 7055df357573ea87227bb169d9016e6d94fa7a299461019b12e56f8f1f15738f239dd6a1fbd2b37a84ea66abac4f85af6ae5d0b41e85323fbe10bbe8a6db4a81 WHIRLPOOL bf47d53870c3d3d913d09c3094a6451aa3b11f51126dd26c21e4f0d814fa876dbaba38adeb36c5660ad849742beb024bc567d49825c8f244941b761ff7eef471
|
||||
DIST ReText-4.1.0.tar.gz 125515 SHA256 7fb1207acbe8b6ef87eaeda2338a99214990b68d12c951d71ffaeb9527f08b29 SHA512 ab872dc2fcdd2fcf43ade28b04cf62887d3228f39ecca09778c3d9c29692faabcfe51a61a0e713f710b167aa82aa0e803e09b78492cf43c74aff6240804cab0d WHIRLPOOL 5152bfd47bb93493bb02d86b411bfe3ea64ccc3ed38bcf2f7adfe32907e002fb96b3c1b2b3f9fc2167becb912a4c9fc5e5d68fce5e15aaa8e74c74d1d2cc266a
|
||||
DIST ReText-4.1.1.tar.gz 125987 SHA256 a0184f003518073c9e38b7fb8737b84f70d7420522c5ecf688ad8c7fe22d8c1d SHA512 db5a66e3da145fcadb6c12b1e91e005374c1758b9a3ec4484171546071dd2cae80ceeee9be4a035b87815634deff8a4e8db407855027b53538174b2a6004a4ec WHIRLPOOL e013e73f9ef75d99312e627263d84a798a5d3e99b4b730479751317a2af972afcea2dcc383a7fcb2d8f6868caf6a5ac99fc65a8fdc25ba15a5852e8d920ebc23
|
||||
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/retext/retext-4.1.1.ebuild,v 1.1 2013/11/30 15:12:35 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python3_2 )
|
||||
PLOCALES="ca cs cy da de es et eu fr it ja pl pt pt_BR ru sk uk zh_CN zh_TW"
|
||||
|
||||
inherit distutils-r1 l10n
|
||||
|
||||
MY_PN="ReText"
|
||||
MY_P="${MY_PN}-${PV/_/~}"
|
||||
|
||||
if [[ ${PV} == *9999* ]] ; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://git.code.sf.net/p/retext/git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A Qt-based text editor for Markdown and reStructuredText"
|
||||
HOMEPAGE="http://sourceforge.net/p/retext/home/ReText/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="+spell"
|
||||
|
||||
RDEPEND+="
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/markdown[${PYTHON_USEDEP}]
|
||||
dev-python/markups[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt4[webkit,${PYTHON_USEDEP}]
|
||||
spell? ( dev-python/pyenchant[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
newicon {icons/,}${PN}.png
|
||||
newicon {icons/,}${PN}.svg
|
||||
|
||||
l10n_for_each_disabled_locale_do remove_locale
|
||||
|
||||
make_desktop_entry ${PN} "${MY_PN} Editor" ${PN} "Development;Utility;TextEditor"
|
||||
}
|
||||
|
||||
remove_locale() {
|
||||
find "${D}" -name "retext_${1}.qm" -delete || die "Failed to remove locale ${1}."
|
||||
}
|
@ -1 +1 @@
|
||||
DIST webgen-0.5.14.gem 429056 SHA256 a0a5d871df27ae47a170bee04dc83e89706d85ef3815c474f6c491a42fce0fb7 SHA512 ff33f57b9b44371698afbbf3cf52c1d65c8c0af519e3f92ecbe7921149915b9b9481e22c57322f491014370d6e761c4e18885b8ed990c6d8e985e6c7a7271794 WHIRLPOOL 487d3b31e7a08d7cbcbda514ce468b31fc40525da6b8bb1a1e80688900f444350bb7dafedfef9fe9801a16ef6e2573260c06b9eafad8dfc0095c3658009f71ac
|
||||
DIST webgen-1.0.0.gem 197120 SHA256 f4334837607e3fe4287a51af90b5e8b1f4f8a03fc039a8ccf8f586c38db96ba3 SHA512 af33130daba5eb7a74b72e37410aec1a9a82c4821945d6e11baab13417874ca6e32a95d5002f027b8033317e7ee2d6f24716ce1ccf9176e80925eaeeff872c39 WHIRLPOOL cdc5298f8e1ab0808bc3ee70c7a02c9e997a7fd5d5fc1a7499ff8fca68c0e971427b2dcbe25bab169e69a65d60cb5c58e246786ce48be8b66760ca75a7348fa1
|
||||
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/webgen/webgen-0.5.14.ebuild,v 1.2 2013/09/01 12:41:00 graaff Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby18"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="htmldoc/rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="AUTHORS ChangeLog THANKS"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="data misc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A template-based static website generator."
|
||||
HOMEPAGE="http://webgen.rubyforge.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="builder highlight markdown"
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/rdoc )"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/cmdparse-2.0.0
|
||||
>=dev-ruby/redcloth-4.1.9
|
||||
builder? ( >=dev-ruby/builder-2.1.0 )
|
||||
highlight? ( >=dev-ruby/coderay-0.8.312 )
|
||||
markdown? ( dev-ruby/maruku )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove tests for optional dependencies that we do not have
|
||||
# packaged yet.
|
||||
rm test/test_contentprocessor_{kramdown,less,rdiscount}.rb || die
|
||||
sed -i -e '/def test_render/,/^\s*$/d' test/test_cli.rb || die
|
||||
|
||||
# Add empty directory that does not get packaged by rubygems.
|
||||
# http://rubyforge.org/tracker/index.php?func=detail&aid=28393&group_id=296&atid=1207
|
||||
mkdir data/webgen/website_skeleton/src || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
doman man/man1/webgen.1 || die
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/webgen/webgen-1.0.0.ebuild,v 1.1 2013/11/30 12:28:09 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="htmldoc/rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="AUTHORS THANKS"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="data"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A template-based static website generator"
|
||||
HOMEPAGE="http://webgen.rubyforge.org/"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="builder highlight markdown"
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/rdoc )
|
||||
test? ( dev-ruby/kramdown
|
||||
dev-ruby/rdiscount )"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/cmdparse-2.0.0
|
||||
dev-ruby/systemu
|
||||
dev-ruby/kramdown
|
||||
builder? ( >=dev-ruby/builder-2.1.0 )
|
||||
highlight? ( >=dev-ruby/coderay-0.8.312 )
|
||||
markdown? ( dev-ruby/maruku )"
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
doman man/man1/webgen.1
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST diablo-caffe-freebsd7-amd64-1.6.0_07-b02.tar.bz2 62778916 RMD160 4846f0cb7c6b78d70c30da78c9645322dc158373 SHA1 35a351c7f679192da88d4f28b0c8fdccff99bd78 SHA256 09f9fb014779f1e02456d51692c61902125800830b82078be9eac95190343109
|
||||
DIST diablo-caffe-freebsd7-i386-1.6.0_07-b02.tar.bz2 64093245 RMD160 6a4b354ba556fe00aa260da7e6f269de6d894010 SHA1 8046dc67cff191a0779b8d9a297bf30b902a89c8 SHA256 971a537f8e852166fa94a9666b14e2f0a8ee51dcf7a470ab7bcb5be0dba05409
|
||||
DIST diablo-caffe-freebsd7-amd64-1.6.0_07-b02.tar.bz2 62778916 SHA256 09f9fb014779f1e02456d51692c61902125800830b82078be9eac95190343109
|
||||
DIST diablo-caffe-freebsd7-i386-1.6.0_07-b02.tar.bz2 64093245 SHA256 971a537f8e852166fa94a9666b14e2f0a8ee51dcf7a470ab7bcb5be0dba05409
|
||||
|
@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-postgresql/jdbc-postgresql-9.2_p1003.ebuild,v 1.1 2013/11/30 08:29:53 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
MY_PN="postgresql-jdbc"
|
||||
MY_PV="${PV/_p/-}"
|
||||
MY_P="${MY_PN}-${MY_PV}.src"
|
||||
|
||||
DESCRIPTION="JDBC Driver for PostgreSQL"
|
||||
SRC_URI="http://jdbc.postgresql.org/download/${MY_P}.tar.gz"
|
||||
HOMEPAGE="http://jdbc.postgresql.org/"
|
||||
|
||||
LICENSE="POSTGRESQL"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.6
|
||||
doc? (
|
||||
dev-libs/libxslt
|
||||
app-text/docbook-xsl-stylesheets
|
||||
)
|
||||
test? (
|
||||
dev-java/ant-junit
|
||||
dev-db/postgresql-server
|
||||
)"
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
|
||||
S="${WORKDIR}/postgresql-jdbc-${MY_PV}.src"
|
||||
|
||||
java_prepare() {
|
||||
find -name "*.class" -type f -exec rm -v {} + || die
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
EANT_DOC_TARGET="publicapi"
|
||||
|
||||
src_compile() {
|
||||
java-pkg-2_src_compile
|
||||
|
||||
# There is a task that creates this doc but I didn't find a way how to use system catalog
|
||||
# to lookup the stylesheet so the 'doc' target is rewritten here to use system call instead.
|
||||
if use doc; then
|
||||
mkdir -p "${S}/build/doc"
|
||||
xsltproc -o "${S}/build/doc/pgjdbc.html" http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl \
|
||||
"${S}/doc/pgjdbc.xml"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo "In order to run the tests successfully, you have to have:"
|
||||
einfo "1) PostgreSQL server running"
|
||||
einfo "2) database 'test' defined with user 'test' with password 'password'"
|
||||
einfo " as owner of the database"
|
||||
einfo "3) plpgsql support in the 'test' database"
|
||||
einfo
|
||||
einfo "You can find a general info on how to perform these steps at"
|
||||
einfo "https://wiki.gentoo.org/wiki/PostgreSQL"
|
||||
|
||||
ANT_TASKS="ant-junit" eant test -Dgentoo.classpath=$(java-pkg_getjars --build-only junit)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar jars/postgresql.jar jdbc-postgresql.jar
|
||||
|
||||
if use doc ; then
|
||||
java-pkg_dojavadoc build/publicapi
|
||||
dohtml build/doc/pgjdbc.html
|
||||
fi
|
||||
|
||||
use source && java-pkg_dosrc org
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST slf4j-1.6.6.tar.gz 2703160 SHA256 d169a50fd535417bde88e342a21c1674fef0a560cbe249ff05e56b8178589b55 SHA512 bb22e3c38d451893b79f382d790eb1058465208a1ab462999894c12375ed6b38daced6389d2a8e6015cc718479bfbc50b2b58a354e99a2aadec7c9decd59423f WHIRLPOOL 1903a6513c1b7e133240c19bcf3e6c506ba3c080be66d000c7d3f382c750a8a4ad47faffe9352937bbf77e814152c58e1163b76b012d7d65ad4c3cc9bd9e290d
|
||||
DIST slf4j-1.7.5.tar.gz 2862186 SHA256 e83f1f22f22dabce0a78bd8191fb2d6fab71dc9dc4c8bfbd7939a87b1237c92e SHA512 2ef078f505b626273bd22fe683b4a2527ce2d97b345ffb8cd9f23e7375cb11588623e67e15de90ceacfa02689e40c59749f22e5e0b44b8a9fd7492d3f120d9d7 WHIRLPOOL 4a396c81b50b186d8e582f30331f7d0a21c85bb2cc293bdc8eff8a8bc49ae7382b6b37e1b3f585d0f14e716b1b889ac17ae1acdc03799b93180539e488170820
|
||||
DIST slf4j-api-1.5.11-sources.jar 42350 SHA256 1ab1f0772dd8b232b38fc47a2b3fb9c94c069e5f38ce943ee78601840c452b09 SHA512 ad6d8fc92b3ca6377ca8d93c2222022636644d0eab03ad72af98c7a8169f73874ab768eb80cfc07ec1ad3bcbc60fed68eee03a9e54e383b46ef530d66a46f8c0 WHIRLPOOL 579fbf56ce4d54be392b3a9929c73ac56b1828b8b0c9d309b40fe01abe46b69bb52beda54bfab4aed5578fa654b1eee055fd65139d30999280cc61a10b009e30
|
||||
|
@ -0,0 +1,127 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<project name="slf4j-api-from-maven" default="package" basedir=".">
|
||||
|
||||
<property file="${user.home}/.m2/maven.properties" />
|
||||
<property file="maven-build.properties" />
|
||||
|
||||
<property name="maven.build.finalName" value="slf4j-api" />
|
||||
<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" />
|
||||
|
||||
<path id="build.classpath" />
|
||||
<path id="build.test.classpath"/>
|
||||
|
||||
<target name="clean" description="Clean the output directory">
|
||||
<delete dir="${maven.build.dir}" />
|
||||
</target>
|
||||
|
||||
<target name="compile" description="Compile the code">
|
||||
<mkdir dir="${maven.build.outputDir}" />
|
||||
<javac destdir="${maven.build.outputDir}" 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>
|
||||
<copy todir="${maven.build.outputDir}">
|
||||
<fileset dir="${maven.build.resourceDir.0}" />
|
||||
</copy>
|
||||
</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}" 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>
|
||||
</target>
|
||||
|
||||
<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="**/AllTest.java" />
|
||||
<exclude name="**/PackageTest.java" />
|
||||
<exclude name="**/NoBindingTest.java" />
|
||||
</fileset>
|
||||
</batchtest>
|
||||
<batchtest todir="${maven.test.reports}" if="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/${test}.java" />
|
||||
<exclude name="**/AllTest.java" />
|
||||
<exclude name="**/PackageTest.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>
|
||||
|
||||
<target name="javadoc" description="Generates the Javadoc of the application">
|
||||
<javadoc sourcepath="${maven.build.srcDir.0}" packagenames="*" destdir="${basedir}/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>
|
||||
|
||||
<target name="package" depends="compile,test" description="Package the application">
|
||||
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" compress="true" index="false" manifest="${basedir}/target/classes/META-INF/MANIFEST.MF" basedir="${maven.build.outputDir}" excludes="**/package.html" />
|
||||
</target>
|
||||
|
||||
<target name="jar" depends="package" description="Builds the jar for the application" />
|
||||
|
||||
<target name="test-offline">
|
||||
<condition property="maven.mode.offline">
|
||||
<equals arg1="${maven.settings.offline}" arg2="true" />
|
||||
</condition>
|
||||
</target>
|
||||
</project>
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/slf4j-api/slf4j-api-1.7.5.ebuild,v 1.1 2013/11/30 09:41:28 ercpe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Simple Logging Facade for Java"
|
||||
HOMEPAGE="http://www.slf4j.org/"
|
||||
SRC_URI="http://www.slf4j.org/dist/${P/-api/}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/unzip
|
||||
test? (
|
||||
dev-java/junit:4
|
||||
dev-java/ant-junit4:0
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/${P/-api/}/${PN}"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
EANT_TEST_GENTOO_CLASSPATH="junit-4"
|
||||
EANT_TEST_ANT_TASKS="ant-junit"
|
||||
|
||||
java_prepare() {
|
||||
cp -v "${FILESDIR}"/${PV}-build.xml build.xml || die
|
||||
find "${WORKDIR}" -iname '*.jar' -delete || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar target/${PN}.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc "${S}"/apidocs
|
||||
use source && java-pkg_dosrc src/main/java/org
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST slf4j-1.6.6.tar.gz 2703160 SHA256 d169a50fd535417bde88e342a21c1674fef0a560cbe249ff05e56b8178589b55 SHA512 bb22e3c38d451893b79f382d790eb1058465208a1ab462999894c12375ed6b38daced6389d2a8e6015cc718479bfbc50b2b58a354e99a2aadec7c9decd59423f WHIRLPOOL 1903a6513c1b7e133240c19bcf3e6c506ba3c080be66d000c7d3f382c750a8a4ad47faffe9352937bbf77e814152c58e1163b76b012d7d65ad4c3cc9bd9e290d
|
||||
DIST slf4j-1.7.5.tar.gz 2862186 SHA256 e83f1f22f22dabce0a78bd8191fb2d6fab71dc9dc4c8bfbd7939a87b1237c92e SHA512 2ef078f505b626273bd22fe683b4a2527ce2d97b345ffb8cd9f23e7375cb11588623e67e15de90ceacfa02689e40c59749f22e5e0b44b8a9fd7492d3f120d9d7 WHIRLPOOL 4a396c81b50b186d8e582f30331f7d0a21c85bb2cc293bdc8eff8a8bc49ae7382b6b37e1b3f585d0f14e716b1b889ac17ae1acdc03799b93180539e488170820
|
||||
DIST slf4j-nop-1.5.11-sources.jar 5372 SHA256 2cdf4de025c5e564de45599aeaf6c28ab0dfb77e8e9fd139f4fd070f1926a549 SHA512 012dac709c70c3bf514f767fd26efbf46d795440aea206353b8988112992a024b1a916a6c62d9a6b9cd8c75febf93b0dc5a0df0050b71bd038c1d50cba13217d WHIRLPOOL 70e32cc0f5d755ee5dad0cd654d37a990a9570a21ac6bc384dad8733f2cbd6a61bc6a46c5558ee103ff79428d4b881111382894cc785093fa481d9283c8b54b3
|
||||
|
@ -0,0 +1,93 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<project name="slf4j-nop-from-maven" default="jar" basedir=".">
|
||||
<property file="${user.home}/.m2/maven.properties" />
|
||||
<property file="maven-build.properties" />
|
||||
|
||||
<property name="maven.build.finalName" value="slf4j-nop" />
|
||||
<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" />
|
||||
|
||||
<path id="build.classpath"/>
|
||||
<path id="build.test.classpath" />
|
||||
|
||||
<target name="clean" description="Clean the output directory">
|
||||
<delete dir="${maven.build.dir}" />
|
||||
</target>
|
||||
|
||||
<target name="compile" description="Compile the code">
|
||||
<mkdir dir="${maven.build.outputDir}" />
|
||||
<javac destdir="${maven.build.outputDir}" 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>
|
||||
<copy todir="${maven.build.outputDir}">
|
||||
<fileset dir="${maven.build.resourceDir.0}" />
|
||||
</copy>
|
||||
</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}" 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>
|
||||
</target>
|
||||
|
||||
<target name="test" depends="compile-tests" 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="**/AllTest.java" />
|
||||
<exclude name="**/PackageTest.java" />
|
||||
</fileset>
|
||||
</batchtest>
|
||||
<batchtest todir="${maven.test.reports}" if="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/${test}.java" />
|
||||
<exclude name="**/AllTest.java" />
|
||||
<exclude name="**/PackageTest.java" />
|
||||
</fileset>
|
||||
</batchtest>
|
||||
</junit>
|
||||
</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>
|
||||
|
||||
<target name="jar" depends="compile" 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>
|
||||
</project>
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/slf4j-nop/slf4j-nop-1.7.5.ebuild,v 1.1 2013/11/30 09:45:51 ercpe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Simple Logging Facade for Java"
|
||||
HOMEPAGE="http://www.slf4j.org/"
|
||||
SRC_URI="http://www.slf4j.org/dist/${P/-nop/}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="dev-java/slf4j-api:0"
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEP}"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/unzip
|
||||
${COMMON_DEP}
|
||||
test? ( dev-java/junit:4 )"
|
||||
|
||||
S="${WORKDIR}/${P/-nop/}/${PN}"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
EANT_GENTOO_CLASSPATH="slf4j-api"
|
||||
EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4"
|
||||
EANT_TEST_ANT_TASKS="ant-junit"
|
||||
|
||||
java_prepare() {
|
||||
cp -v "${FILESDIR}"/${PV}-build.xml "${S}"/build.xml || die
|
||||
find "${S}" -name "*.jar" -delete || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${S}"/target/${PN}.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc "${S}"/target/site/apidocs
|
||||
use source && java-pkg_dosrc "${S}"/src/main/java/org
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST slf4j-1.7.5.tar.gz 2862186 SHA256 e83f1f22f22dabce0a78bd8191fb2d6fab71dc9dc4c8bfbd7939a87b1237c92e SHA512 2ef078f505b626273bd22fe683b4a2527ce2d97b345ffb8cd9f23e7375cb11588623e67e15de90ceacfa02689e40c59749f22e5e0b44b8a9fd7492d3f120d9d7 WHIRLPOOL 4a396c81b50b186d8e582f30331f7d0a21c85bb2cc293bdc8eff8a8bc49ae7382b6b37e1b3f585d0f14e716b1b889ac17ae1acdc03799b93180539e488170820
|
@ -0,0 +1,93 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<project name="slf4j-simpl-from-maven" default="jar" basedir=".">
|
||||
<property file="${user.home}/.m2/maven.properties" />
|
||||
<property file="maven-build.properties" />
|
||||
|
||||
<property name="maven.build.finalName" value="slf4j-simple" />
|
||||
<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" />
|
||||
|
||||
<path id="build.classpath"/>
|
||||
<path id="build.test.classpath" />
|
||||
|
||||
<target name="clean" description="Clean the output directory">
|
||||
<delete dir="${maven.build.dir}" />
|
||||
</target>
|
||||
|
||||
<target name="compile" description="Compile the code">
|
||||
<mkdir dir="${maven.build.outputDir}" />
|
||||
<javac destdir="${maven.build.outputDir}" 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>
|
||||
<copy todir="${maven.build.outputDir}">
|
||||
<fileset dir="${maven.build.resourceDir.0}" />
|
||||
</copy>
|
||||
</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}" 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>
|
||||
</target>
|
||||
|
||||
<target name="test" depends="compile-tests" 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="**/AllTest.java" />
|
||||
<exclude name="**/PackageTest.java" />
|
||||
</fileset>
|
||||
</batchtest>
|
||||
<batchtest todir="${maven.test.reports}" if="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/${test}.java" />
|
||||
<exclude name="**/AllTest.java" />
|
||||
<exclude name="**/PackageTest.java" />
|
||||
</fileset>
|
||||
</batchtest>
|
||||
</junit>
|
||||
</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>
|
||||
|
||||
<target name="jar" depends="compile" 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>
|
||||
</project>
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/slf4j-simple/slf4j-simple-1.7.5.ebuild,v 1.1 2013/11/30 09:49:32 ercpe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Simple Logging Facade for Java"
|
||||
HOMEPAGE="http://www.slf4j.org/"
|
||||
SRC_URI="http://www.slf4j.org/dist/${P/-simple/}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="dev-java/slf4j-api:0"
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEP}"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/unzip
|
||||
${COMMON_DEP}
|
||||
test? ( dev-java/junit )"
|
||||
|
||||
S="${WORKDIR}/${P/-simple/}/${PN}"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
EANT_GENTOO_CLASSPATH="slf4j-api"
|
||||
EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4"
|
||||
EANT_TEST_ANT_TASKS="ant-junit"
|
||||
|
||||
java_prepare() {
|
||||
cp -v "${FILESDIR}"/${PV}-build.xml build.xml || die
|
||||
find "${S}" -name "*.jar" -delete || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${S}"/target/${PN}.jar
|
||||
use doc && java-pkg_dojavadoc "${S}"/target/site/apidocs
|
||||
use source && java-pkg_dosrc "${S}"/src/main/java/org
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST spymemcached-2.9.1-sources.jar 305723 SHA256 ae4e650e112da383f1cd27b63cc9ec2c3a50dcdc4d61a35ca975ae90ce778ea0 SHA512 3d7b593a095094e4b564eef8112f8f9ad0e812f313b5a943e669115c1aa4662795e9321a75e030ab7bb954a810ffb92c399041ed4b29e8f703aecf80d7603614 WHIRLPOOL cf431f3cd2a8e6d4e0f9c3301071827a883310be8d33ca050ff94c2b16264d79b1df6e95e492e0e38cfa1f7e2b5dd2109c616bcde2a30815c3bb116ba893826f
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
<use>
|
||||
<flag name='spring'>Build support for the spring framework</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="google-code">spymemcached</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/spymemcached/spymemcached-2.9.1.ebuild,v 1.1 2013/11/30 10:21:21 ercpe Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit eutils java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="A simple, asynchronous, single-threaded memcached client written in java"
|
||||
HOMEPAGE="https://code.google.com/p/spymemcached/"
|
||||
SRC_URI="https://${PN}.googlecode.com/files/${P}-sources.jar"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="spring"
|
||||
|
||||
CDEPEND="dev-java/log4j:0
|
||||
dev-java/slf4j-api:0
|
||||
spring? ( dev-java/spring-beans:3.2 )"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
${CDEPEND}"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
JAVA_GENTOO_CLASSPATH="log4j,slf4j-api"
|
||||
|
||||
java_prepare() {
|
||||
if use spring; then
|
||||
JAVA_GENTOO_CLASSPATH+=",spring-beans-3.2"
|
||||
else
|
||||
rm net/spy/memcached/spring/MemcachedClientFactoryBean.java || die
|
||||
fi
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libexplain/libexplain-1.3.ebuild,v 1.1 2013/11/30 04:12:51 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=yes
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="Library which may be used to explain Unix and Linux system call errors"
|
||||
HOMEPAGE="http://libexplain.sourceforge.net/"
|
||||
SRC_URI="http://libexplain.sourceforge.net/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
LICENSE="GPL-3 LGPL-3"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/libcap
|
||||
>=sys-libs/glibc-2.11
|
||||
sys-process/lsof"
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-kernel/linux-headers-2.6.35
|
||||
doc? (
|
||||
app-text/ghostscript-gpl
|
||||
sys-apps/groff
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( README )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.45-configure.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# Portage incompatible test
|
||||
sed \
|
||||
-e '/t0524a/d' \
|
||||
-e '/t0363a/d' \
|
||||
-i Makefile.in || die
|
||||
|
||||
cp "${S}"/etc/configure.ac "${S}" || die
|
||||
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-utils_src_compile
|
||||
use doc && autotools-utils_src_compile all-doc
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST libksba-1.2.0.tar.bz2 588323 SHA256 09afce65b03d027cbec10d21464f4f651cdfd269e38b404f83e48d3e2a3c934b SHA512 69dc7f6dda4c611c3ada1f212e18e2d468dcb18ee14ef8c410a629d52b3329a741b42156ecdf62814cb5d682dbbf43ea0ba76aaadb1dae2660f6a1a00480ee17 WHIRLPOOL d16df55083a0f9fe8f3880852e53ab4448d1e870822370697719083a3c21448d0a95708a4c38b0572683d53b6e5573c67f0ae5bf6a67fd407759c62fca575d85
|
||||
DIST libksba-1.3.0.tar.bz2 624704 SHA256 5a61eed50550d4d0dcb47457ce7b6a90f8e719d42a3b25f7e79333e8cd721971 SHA512 51023119346fb7ffa31eee205376b7efb0fab42dee73c669c3174c2ebf4100008d3f508f8d49da27b1ea865c46d407b430c47ce503a8d63c069f59132ee638d9 WHIRLPOOL 26dfb3230a00f2fa3dbee161b192e6fd8ce404ce0020379a847a3842a16c1092959f5f69f6e1ebc668dc531be2de6fe4c5e8bbab08c508a152fab40a2640aa77
|
||||
|
@ -0,0 +1,56 @@
|
||||
From 475ee015cb32010f735ea82272ce2a35701e85bf Mon Sep 17 00:00:00 2001
|
||||
From: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
Date: Fri, 29 Nov 2013 21:18:51 +0200
|
||||
Subject: [PATCH] aix: fix conflict with sys/types.h
|
||||
|
||||
AIX header file <sys/types.h> defines TRUE and FALSE when _ALL_SOURCE is
|
||||
defined, conflicts with tokens within yacc.
|
||||
|
||||
Bug-Url: https://bugs.gentoo.org/show_bug.cgi?id=492866
|
||||
Bug-Url: https://bugs.g10code.com/gnupg/issue1574
|
||||
---
|
||||
src/asn1-parse.c | 8 ++++++++
|
||||
src/asn1-parse.y | 8 ++++++++
|
||||
2 files changed, 16 insertions(+)
|
||||
|
||||
diff --git a/src/asn1-parse.c b/src/asn1-parse.c
|
||||
index e84e13d..07294e7 100644
|
||||
--- a/src/asn1-parse.c
|
||||
+++ b/src/asn1-parse.c
|
||||
@@ -89,6 +89,14 @@
|
||||
|
||||
#include "asn1-func.h"
|
||||
|
||||
+/* aix conflict */
|
||||
+#ifdef TRUE
|
||||
+#undef TRUE
|
||||
+#endif
|
||||
+#ifdef FALSE
|
||||
+#undef FALSE
|
||||
+#endif
|
||||
+
|
||||
/* It would be better to make yyparse static but there is no way to do
|
||||
this. Let's hope that this macros works. */
|
||||
#define yyparse _ksba_asn1_yyparse
|
||||
diff --git a/src/asn1-parse.y b/src/asn1-parse.y
|
||||
index eedaa0a..da8bd0c 100755
|
||||
--- a/src/asn1-parse.y
|
||||
+++ b/src/asn1-parse.y
|
||||
@@ -59,6 +59,14 @@
|
||||
|
||||
#include "asn1-func.h"
|
||||
|
||||
+/* aix conflict */
|
||||
+#ifdef TRUE
|
||||
+#undef TRUE
|
||||
+#endif
|
||||
+#ifdef FALSE
|
||||
+#undef FALSE
|
||||
+#endif
|
||||
+
|
||||
/* It would be better to make yyparse static but there is no way to do
|
||||
this. Let's hope that this macros works. */
|
||||
#define yyparse _ksba_asn1_yyparse
|
||||
--
|
||||
1.8.3.2
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libksba/libksba-1.2.0.ebuild,v 1.10 2012/05/09 15:18:25 aballier Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
DESCRIPTION="X.509 and CMS (PKCS#7) library"
|
||||
HOMEPAGE="http://www.gnupg.org/related_software/libksba"
|
||||
#SRC_URI="ftp://ftp.gnupg.org/gcrypt/${PN}/${P}.tar.bz2"
|
||||
SRC_URI="mirror://gnupg/libksba/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND=">=dev-libs/libgpg-error-1.8"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
find "${ED}" -name "*.la" -print0 | xargs -0 rm -f
|
||||
dodoc AUTHORS ChangeLog NEWS README THANKS TODO VERSION || die "dodoc failed"
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtasn1/libtasn1-3.4.ebuild,v 1.1 2013/11/30 02:18:21 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="ASN.1 library"
|
||||
HOMEPAGE="http://www.gnu.org/software/libtasn1/"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-macos ~arm-linux ~x86-linux"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
DEPEND=">=dev-lang/perl-5.6
|
||||
virtual/yacc"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README THANKS )
|
||||
|
||||
src_configure(){
|
||||
local myeconfargs
|
||||
[[ "${VALGRIND_TESTS}" == "0" ]] && myeconfargs+=( --disable-valgrind-tests )
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
|
||||
if use doc ; then
|
||||
dodoc doc/libtasn1.pdf
|
||||
dohtml doc/reference/html/*
|
||||
fi
|
||||
}
|
@ -0,0 +1,113 @@
|
||||
# HG changeset patch
|
||||
# User holger krekel <holger@merlinux.eu>
|
||||
# Date 1384852227 -3600
|
||||
# Node ID 304f9f212ae373dbb55129b41b88e413baceba51
|
||||
# Parent 77b0a734de063196acea35e63c0ece16078cd8f0
|
||||
fix pexpect-3.0 compatibility for pytest's own tests.
|
||||
(fixes issue386)
|
||||
|
||||
diff --git a/_pytest/pytester.py b/_pytest/pytester.py
|
||||
--- a/_pytest/pytester.py
|
||||
+++ b/_pytest/pytester.py
|
||||
@@ -516,15 +516,16 @@
|
||||
return self.spawn(cmd, expect_timeout=expect_timeout)
|
||||
|
||||
def spawn(self, cmd, expect_timeout=10.0):
|
||||
- pexpect = py.test.importorskip("pexpect", "2.4")
|
||||
+ pexpect = py.test.importorskip("pexpect", "3.0")
|
||||
if hasattr(sys, 'pypy_version_info') and '64' in py.std.platform.machine():
|
||||
pytest.skip("pypy-64 bit not supported")
|
||||
if sys.platform == "darwin":
|
||||
pytest.xfail("pexpect does not work reliably on darwin?!")
|
||||
if sys.platform.startswith("freebsd"):
|
||||
pytest.xfail("pexpect does not work reliably on freebsd")
|
||||
- logfile = self.tmpdir.join("spawn.out")
|
||||
- child = pexpect.spawn(cmd, logfile=logfile.open("w"))
|
||||
+ logfile = self.tmpdir.join("spawn.out").open("wb")
|
||||
+ child = pexpect.spawn(cmd, logfile=logfile)
|
||||
+ self.request.addfinalizer(logfile.close)
|
||||
child.timeout = expect_timeout
|
||||
return child
|
||||
|
||||
diff --git a/testing/test_pdb.py b/testing/test_pdb.py
|
||||
--- a/testing/test_pdb.py
|
||||
+++ b/testing/test_pdb.py
|
||||
@@ -62,7 +63,7 @@
|
||||
child.expect(".*i = 0")
|
||||
child.expect("(Pdb)")
|
||||
child.sendeof()
|
||||
- rest = child.read()
|
||||
+ rest = child.read().decode("utf8")
|
||||
assert "1 failed" in rest
|
||||
assert "def test_1" not in rest
|
||||
if child.isalive():
|
||||
@@ -127,7 +128,7 @@
|
||||
child.expect("x = 3")
|
||||
child.expect("(Pdb)")
|
||||
child.sendeof()
|
||||
- rest = child.read()
|
||||
+ rest = child.read().decode("utf-8")
|
||||
assert "1 failed" in rest
|
||||
assert "def test_1" in rest
|
||||
assert "hello17" in rest # out is captured
|
||||
@@ -144,7 +145,7 @@
|
||||
child.expect("test_1")
|
||||
child.expect("(Pdb)")
|
||||
child.sendeof()
|
||||
- rest = child.read()
|
||||
+ rest = child.read().decode("utf8")
|
||||
assert "1 failed" in rest
|
||||
assert "reading from stdin while output" not in rest
|
||||
if child.isalive():
|
||||
@@ -182,7 +183,7 @@
|
||||
child.expect("0")
|
||||
child.expect("(Pdb)")
|
||||
child.sendeof()
|
||||
- rest = child.read()
|
||||
+ rest = child.read().decode("utf8")
|
||||
assert "1 failed" in rest
|
||||
if child.isalive():
|
||||
child.wait()
|
||||
@@ -206,7 +207,7 @@
|
||||
child.sendline('c')
|
||||
child.expect("x = 4")
|
||||
child.sendeof()
|
||||
- rest = child.read()
|
||||
+ rest = child.read().decode("utf8")
|
||||
assert "1 failed" in rest
|
||||
assert "def test_1" in rest
|
||||
assert "hello17" in rest # out is captured
|
||||
@@ -238,6 +239,7 @@
|
||||
child.expect("x = 5")
|
||||
child.sendeof()
|
||||
child.wait()
|
||||
+
|
||||
def test_pdb_collection_failure_is_shown(self, testdir):
|
||||
p1 = testdir.makepyfile("""xxx """)
|
||||
result = testdir.runpytest("--pdb", p1)
|
||||
diff --git a/tox.ini b/tox.ini
|
||||
--- a/tox.ini
|
||||
+++ b/tox.ini
|
||||
@@ -16,6 +16,7 @@
|
||||
[testenv:py25]
|
||||
setenv =
|
||||
PIP_INSECURE=1
|
||||
+deps=nose
|
||||
|
||||
[testenv:flakes]
|
||||
changedir=
|
||||
@@ -55,14 +56,6 @@
|
||||
commands=py.test --doctest-modules _pytest
|
||||
deps=
|
||||
|
||||
-[testenv:py32]
|
||||
-deps=
|
||||
- nose
|
||||
-
|
||||
-[testenv:py33]
|
||||
-deps=
|
||||
- nose
|
||||
-
|
||||
[testenv:doc]
|
||||
basepython=python
|
||||
changedir=doc/en
|
@ -1 +1,2 @@
|
||||
DIST python-cinderclient-1.0.5.tar.gz 117604 SHA256 75f59abd8ec56aeb1322b8c8f111574f2c1fd3f503fb22c672183914915d3d1f SHA512 8dcc092896241922cfaf1598a7f35cca7ebe9e94d98a5d6c7f094034ba55ba04ba5621c9cbe41bb3c6c3cf75eef3717965a7f3cab71e9e820f9a0b82aa9349e9 WHIRLPOOL 0858f2291a0b49cba1af6d4655dca134960736951398b8387cf301d11e36c89a5b851b982ec441dc1e898c13080d63d1b5821bc2c0112cc1452a39ea4d5ef431
|
||||
DIST python-cinderclient-1.0.7.tar.gz 160111 SHA256 8ad67a35e7370fe1379703738050deeae0da33ad6c1e1466dd0cf51c82d4255b SHA512 a30a33a8b570126a73d64e8500668505f5a53b5474a3685bf8d97024134a58cdbc0ba6b632e652fa6cd594105e31393720b24d6489b13f9f6941fe6886d40397 WHIRLPOOL 13bd2d0f5c8f0bf87655b2b88bdb07a656c17d3a89e0cea99631b6a5993656041288a94e834c4b4b7b16855244a18ce6bc8fc89ccc2dab1be7358a6de96e986a
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-cinderclient/python-cinderclient-1.0.7.ebuild,v 1.1 2013/11/30 12:00:24 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A client for the OpenStack Cinder API"
|
||||
HOMEPAGE="https://launchpad.net/python-cinderclient"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( >=dev-python/pyflakes-0.7.2[${PYTHON_USEDEP}]
|
||||
<dev-python/pyflakes-0.7.4[${PYTHON_USEDEP}]
|
||||
=dev-python/flake8-2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/hacking-0.5.6[${PYTHON_USEDEP}]
|
||||
<dev-python/hacking-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
|
||||
dev-python/subunit[${PYTHON_USEDEP}]
|
||||
=dev-python/pep8-1.4.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.32[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.17[${PYTHON_USEDEP}]
|
||||
)"
|
||||
RDEPEND="virtual/python-argparse[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-0.5.21[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/prettytable-0.6[${PYTHON_USEDEP}]
|
||||
<dev-python/prettytable-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/simplejson-2.0.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.4.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/Babel-1.3[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
testr init
|
||||
testr run --parallel || die "tests failed under python2.7"
|
||||
flake8 cinderclient/tests || die "run by flake8 over tests folder yielded error"
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue