added ebuild for palaver 0.6 from my forked palaver project on github

This commit is contained in:
Manuel Friedli 2014-10-23 00:02:26 +02:00
parent c33882ea9e
commit 7f2a544364
2 changed files with 58 additions and 0 deletions

View file

@ -2,4 +2,6 @@ AUX palaver-confd 69 SHA256 5c838254d31931fed4ede315b5c661a24af2e616b78b46a36141
AUX palaver-initd 650 SHA256 3db70d01fc2958858a08b1f7fb26af56aedc28e2d1c99f5cd1bcade4edb9c6c4 SHA512 18c955d68aeff2d527f58c2afebe0f2e823b178fe046085148c37fc4750e2d4067e3eb3be3ccc16f9ef309c66ab9ae3de97091e08453346069e871bff9d42f03 WHIRLPOOL d983725daf62d1e37577bd926c92140ac03f36cdeaef80f35d589df1229eced127cd67a0737168883c8a914c631b7f6e4744da8ea384c5776976bfa409a779dc
AUX palaver.conf 116 SHA256 4c532034298f197a7810463d9f0a850e8118b96f50efd850f65097c017622d9f SHA512 f34536040a13bce8e419559b59058d930ae851917fedb150b3c9c4315f7946be9ca56af28841fa86ee1b3252b98eadcb01d3bb87a73e77917d59646fbb6871f2 WHIRLPOOL 26a61f877c6dbf6dc08f39dc0164c1672a4b050073ecb99b3b331ff7152fee4ff198ec4faf829018870a2022ebcf8e03eed9b1b8a02d47d032284741978d0c33
AUX palaver_plugin.py 1222 SHA256 f9e81c27fb210799739ed36964b203a3ebde15584f9499d965db20e63eeeddf0 SHA512 5957e52274f38d82f3c897b24b8588eeb6a93eb9a04c2a421e9f95eab1a451da4bf1b944f19914163c9e925eaf37fb9fe6b332866859c22df40216d447a505ce WHIRLPOOL 9cf4778eaf45c556456c79764bc630d268fd0e2dbcb189d4af88b5664aeae0b3e91ee0af98e9666c9b160e454456fc7781e0bacd33dd7dcc0f40ff4d6d1ad427
DIST palaver-0.6.tar.gz 118593 SHA256 b6af62125742bc502c249711bd9a1f9c10e8489b837def2b0fa61bafae7a998a SHA512 0217fd8d5ccadc23121f6317671ae9be8afdd35887c4ed4815e870d04d64a3d70811c852897f3135ca6bff9f03cdd5ce8eda6726563ab4615eb66871e207d4ee WHIRLPOOL 04750d099d662ebd49ecfe83163dc93186036e8e333d15466b54abfcc2a04033dbfa030e670d993048b3f3ee219db89a3a37f0811acc01a23bcf9d11abdd2f8f
EBUILD palaver-0.6.ebuild 1358 SHA256 c0a9d8b9d8a58b057c77890aa92c97d2e28da0981518f60ec2fbf00fa5a3164a SHA512 15555991316b1031dc988faf282b2befb8b2a5673e4cd1003a5972209db33db1d21d6ac3b975d4ff12ec38a1d4cb574e8891e8c3d711235f3824d524463f6c56 WHIRLPOOL 5ba6bcd0ea5dd529fcfc55d141cc73fd3fa7bde97eed04ecfaac9c9d935eced0cb48567ff35ff9f92f91550bb546f271722a3653322845aab20e92f91152bf15
EBUILD palaver-9999.ebuild 1309 SHA256 377d78c73303b1cec9ff7e694f5b398f4d4911865c1a2d7c9861ea408e18074b SHA512 b61b625d5296b2fde56239ad8112d0d1800388a0fe93dcbdd2cc0f11271d45d0c379838fb7843dbfb6139dd3bb28fbf69ff0cbf9236ab1423b94324cd6cb3d75 WHIRLPOOL 1e7312070a9d9b4b978fc14dfa9e84115cbdfde3b233dd97b7205f13b120fb6f40fe8de219706fa4123eb831aa81bbac556f1b8e6a453d1c2875e2f7adcd460c

View file

@ -0,0 +1,56 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
PYTHON_DEPEND="2"
inherit distutils eutils python
DESCRIPTION="Multi-user chat component for jabber implemented in python"
HOMEPAGE="https://github.com/fritteli/palaver"
SRC_URI="https://github.com/fritteli/palaver/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="net-im/jabber-base"
RDEPEND=">=dev-python/twisted-core-2.4.0
>=dev-python/twisted-words-0.5
${DEPEND}"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
cp ${FILESDIR}/palaver_plugin.py ${S}/twisted/plugins
# rm ${S}/twisted/plugins/palaver.py
cd ${S}/palaver
mv palaver.py __init__.py
}
src_compile() {
# nothing to be done here?
distutils_src_compile
}
src_install() {
distutils_src_install
insinto /etc/jabber
newins "${FILESDIR}/"palaver.conf ${PN}.conf
fperms 600 /etc/jabber/${PN}.conf
fowners jabber:jabber /etc/jabber/${PN}.conf
# dosed \
# "s:<spool>[^\<]*</spool>:<spool>/var/spool/jabber</spool>:" \
# /etc/jabber/${PN}.xml
newinitd "${FILESDIR}/${PN}-initd" ${PN}
newconfd "${FILESDIR}/${PN}-confd" ${PN}
}
pkg_postinst() {
einfo "A sample config file has been installed into /etc/jabber/${PN}.conf."
einfo "Please adjust the settings as needed."
}