[net-im/spectrum2] rename to match with tree

This commit is contained in:
Robert Förster 2019-01-12 04:14:23 +01:00
parent 6c3eff76fc
commit 29c0947a76
5 changed files with 13 additions and 8 deletions

View File

@ -4,10 +4,11 @@
EAPI=6 EAPI=6
PYTHON_COMPAT=( python2_7 ) PYTHON_COMPAT=( python2_7 )
inherit cmake-utils python-single-r1 systemd user inherit cmake-utils python-single-r1 systemd user
if [[ ${PV} = "9999" ]] ; then if [[ ${PV} = "9999" ]] ; then
EGIT_REPO_URI="https://github.com/SpectrumIM/${PN}2.git" EGIT_REPO_URI="https://github.com/SpectrumIM/${PN}.git"
inherit git-r3 inherit git-r3
KEYWORDS="" KEYWORDS=""
else else
@ -40,15 +41,15 @@ RDEPEND="
frotz? ( !games-engines/frotz ) frotz? ( !games-engines/frotz )
irc? ( net-im/libcommuni ) irc? ( net-im/libcommuni )
mysql? ( mysql? (
|| ( || (
dev-db/mariadb-connector-c dev-db/mariadb-connector-c
dev-db/mysql-connector-c dev-db/mysql-connector-c
) )
) )
postgres? ( dev-libs/libpqxx:= ) postgres? ( dev-libs/libpqxx:= )
purple? ( purple? (
dev-libs/glib dev-libs/glib
net-im/pidgin:= net-im/pidgin:=
) )
sms? ( app-mobilephone/smstools ) sms? ( app-mobilephone/smstools )
sqlite? ( dev-db/sqlite:3 ) sqlite? ( dev-db/sqlite:3 )
@ -60,16 +61,20 @@ DEPEND="
${RDEPEND} ${RDEPEND}
doc? ( app-doc/doxygen ) doc? ( app-doc/doxygen )
test? ( test? (
dev-python/sleekxmpp[${PYTHON_USEDEP}] dev-python/sleekxmpp[${PYTHON_USEDEP}]
dev-util/cppunit dev-util/cppunit
net-irc/ngircd net-irc/ngircd
) )
" "
PATCHES=( PATCHES=(
"${FILESDIR}/remove_debug_cflags.patch" "${FILESDIR}/remove_debug_cflags.patch"
) )
# Tests are currently restricted, as they do completly fail
RESTRICT="test"
pkg_setup() { pkg_setup() {
enewgroup spectrum enewgroup spectrum
enewuser spectrum -1 -1 /var/lib/spectrum2 spectrum enewuser spectrum -1 -1 /var/lib/spectrum2 spectrum
@ -107,7 +112,7 @@ src_configure() {
} }
src_test() { src_test() {
cd tests/libtransport && "${EPYTHON}" ../start.py || die cd tests/libtransport && "${EPYTHON}" ../start.py || die
} }
src_install() { src_install() {