From: "Ian Delaney" <idella4@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/classified-ads/
Date: Tue, 3 May 2016 06:45:43 +0000 (UTC) [thread overview]
Message-ID: <1462257922.2c1b2991bfd7c7fe686836d0f3c1a968b626a8da.idella4@gentoo> (raw)
commit: 2c1b2991bfd7c7fe686836d0f3c1a968b626a8da
Author: Ian Delaney <idella4 <AT> gentoo <DOT> org>
AuthorDate: Tue May 3 06:22:29 2016 +0000
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Tue May 3 06:45:22 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c1b2991
Revert "net-p2p/classified-ads: Classified ads v0.10 version bump. - changed way how test suite is run and fixed 2 unit tests."
This reverts commit a7a6d00357859094ff31fcbaf4eba09de9360022.
net-p2p/classified-ads/classified-ads-0.10.ebuild | 35 ++++++++---------------
1 file changed, 12 insertions(+), 23 deletions(-)
diff --git a/net-p2p/classified-ads/classified-ads-0.10.ebuild b/net-p2p/classified-ads/classified-ads-0.10.ebuild
index a792705..9ff04f5 100644
--- a/net-p2p/classified-ads/classified-ads-0.10.ebuild
+++ b/net-p2p/classified-ads/classified-ads-0.10.ebuild
@@ -5,12 +5,11 @@
EAPI=5
PLOCALES="en fi sv da uk"
PLOCALE_BACKUP="en"
-inherit qt4-r2 qmake-utils virtualx vcs-snapshot
+inherit qt4-r2 qmake-utils
-COMMIT_ID="cd0652c52f86f6284b793f26e5362bc8fb8a7118"
DESCRIPTION="Program for displaying classified advertisement items"
HOMEPAGE="http://katiska.org/classified-ads/"
-SRC_URI="https://github.com/operatornormal/classified-ads/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz \
+SRC_URI="https://github.com/operatornormal/classified-ads/archive/${PV}.tar.gz -> classified-ads-${PV}.tar.gz \
https://github.com/operatornormal/classified-ads/blob/graphics/preprocessed.tar.gz?raw=true \
-> classified-ads-graphics-${PV}.tar.gz"
@@ -38,14 +37,13 @@ DEPEND="${RDEPEND}
dev-qt/qttest:4
sys-devel/gdb:0
doc? ( app-doc/doxygen[dot] )
- test? ( dev-libs/libgcrypt:0
- ${VIRTUALX_DEPEND} )
+ test? ( dev-libs/libgcrypt:0 )
"
src_prepare() {
# preprocessed graphics are unpacked into wrong directory
# so lets move them into correct location:
- mv ../classified-ads-graphics-${PV}/* ui/ || die
+ mv ../ui/* ui/ || die
# then just run qmake
qt4-r2_src_prepare
}
@@ -59,19 +57,8 @@ src_compile() {
}
src_test() {
- virtx test_suite
-}
-
-src_install() {
- emake install INSTALL_ROOT="${D}" DESTDIR="${D}"
- use doc && dodoc -r doc/doxygen.generated/html/
-}
-
-# virtualx requires a command that returns number, and does not just die:
-test_suite() {
- cd test || return -1
- echo qmake
- "$(qt4_get_bindir)"/qmake || return -2
+ cd test || die "test suite missing"
+ "$(qt4_get_bindir)"/qmake || die "test suite configure failed"
emake
# test suite will create files under $HOME, set $HOME to point to
# safe location, ideas stolen from
@@ -83,9 +70,11 @@ test_suite() {
result=$?
export HOME=$BACKUP_HOME
if [ $result != "0" ]; then
- echo "test suite failed with error code " `echo $result`
- return $result
- else
- return 0
+ die "test suite failed with error code " `echo $result`
fi
}
+
+src_install() {
+ emake install INSTALL_ROOT="${D}" DESTDIR="${D}"
+ use doc && dodoc -r doc/doxygen.generated/html/
+}
next reply other threads:[~2016-05-03 6:45 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-03 6:45 Ian Delaney [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-05-07 8:01 [gentoo-commits] repo/gentoo:master commit in: net-p2p/classified-ads/ Joonas Niilola
2022-07-02 17:35 Joonas Niilola
2022-04-22 6:18 Joonas Niilola
2021-06-22 18:19 Sam James
2020-09-20 13:51 David Seifert
2018-08-18 7:19 Michał Górny
2018-02-11 11:12 Michał Górny
2018-01-05 15:38 Ulrich Müller
2017-11-26 23:23 David Seifert
2017-09-09 16:13 Michael Palimaka
2017-09-09 16:13 Michael Palimaka
2016-07-08 19:06 Patrice Clement
2016-05-29 14:19 Pacho Ramos
2016-05-16 9:31 Ian Delaney
2016-05-12 2:50 Ian Delaney
2016-05-12 2:50 Ian Delaney
2016-05-07 21:24 Michał Górny
2016-05-03 6:45 Ian Delaney
2016-05-03 6:45 Ian Delaney
2016-05-03 6:45 Ian Delaney
2016-05-03 3:41 Ian Delaney
2016-05-03 3:41 Ian Delaney
2016-05-03 3:41 Ian Delaney
2016-05-03 3:41 Ian Delaney
2015-12-27 10:08 Ian Delaney
2015-12-27 10:08 Ian Delaney
2015-12-27 10:08 Ian Delaney
2015-10-13 4:41 Ian Delaney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1462257922.2c1b2991bfd7c7fe686836d0f3c1a968b626a8da.idella4@gentoo \
--to=idella4@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox