From 4bcef42e80c08f1e0b5deaa6fae137c33fbc0cfd Mon Sep 17 00:00:00 2001 From: lxnay Date: Wed, 16 Apr 2008 10:29:14 +0000 Subject: [PATCH] Entropy 0.14.11 ebuilds git-svn-id: http://svn.sabayonlinux.org/overlay@2165 d7aec97c-591d-0410-af39-a8856400b30a --- app-admin/equo/Manifest | 1 + app-admin/equo/equo-0.14.11.ebuild | 63 ++++++++++ app-admin/spritz/Manifest | 1 + app-admin/spritz/spritz-0.14.11.ebuild | 42 +++++++ sys-apps/entropy-server/Manifest | 1 + .../entropy-server-0.14.11.ebuild | 52 ++++++++ sys-apps/entropy/Manifest | 1 + sys-apps/entropy/entropy-0.14.11.ebuild | 115 ++++++++++++++++++ 8 files changed, 276 insertions(+) create mode 100644 app-admin/equo/equo-0.14.11.ebuild create mode 100644 app-admin/spritz/spritz-0.14.11.ebuild create mode 100644 sys-apps/entropy-server/entropy-server-0.14.11.ebuild create mode 100644 sys-apps/entropy/entropy-0.14.11.ebuild diff --git a/app-admin/equo/Manifest b/app-admin/equo/Manifest index 3ae5a9b07..8e86ef4d1 100644 --- a/app-admin/equo/Manifest +++ b/app-admin/equo/Manifest @@ -4,5 +4,6 @@ EBUILD equo-0.13.3.ebuild 1415 RMD160 9bc83aecb1009d694c40769dcffa52429a533273 S EBUILD equo-0.14.0.ebuild 1415 RMD160 9bc83aecb1009d694c40769dcffa52429a533273 SHA1 71386fc042daf88302258efc9323d9f6fae5e73d SHA256 f29180aeace4a087b36218517badeb45dab2228ed814da2aaa6d1481d8ce41ae EBUILD equo-0.14.1.ebuild 1415 RMD160 9bc83aecb1009d694c40769dcffa52429a533273 SHA1 71386fc042daf88302258efc9323d9f6fae5e73d SHA256 f29180aeace4a087b36218517badeb45dab2228ed814da2aaa6d1481d8ce41ae EBUILD equo-0.14.10.ebuild 1415 RMD160 9bc83aecb1009d694c40769dcffa52429a533273 SHA1 71386fc042daf88302258efc9323d9f6fae5e73d SHA256 f29180aeace4a087b36218517badeb45dab2228ed814da2aaa6d1481d8ce41ae +EBUILD equo-0.14.11.ebuild 1415 RMD160 9bc83aecb1009d694c40769dcffa52429a533273 SHA1 71386fc042daf88302258efc9323d9f6fae5e73d SHA256 f29180aeace4a087b36218517badeb45dab2228ed814da2aaa6d1481d8ce41ae EBUILD equo-0.14.2.ebuild 1415 RMD160 9bc83aecb1009d694c40769dcffa52429a533273 SHA1 71386fc042daf88302258efc9323d9f6fae5e73d SHA256 f29180aeace4a087b36218517badeb45dab2228ed814da2aaa6d1481d8ce41ae EBUILD equo-9999-r8.ebuild 1402 RMD160 ed45d57bbe7ffa887cbf1f93a6cdb75685e0f970 SHA1 5b7cc6806933f9e8a7a34479c5dfa0131790be99 SHA256 e26ffdfa291827c02bb3da588c9fbc22b12e72d8d4facefb8342b84fe38e881e diff --git a/app-admin/equo/equo-0.14.11.ebuild b/app-admin/equo/equo-0.14.11.ebuild new file mode 100644 index 000000000..b5eac5936 --- /dev/null +++ b/app-admin/equo/equo-0.14.11.ebuild @@ -0,0 +1,63 @@ +# Copyright 2004-2007 Sabayon Linux +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils subversion +ESVN_REPO_URI="http://svn.sabayonlinux.org/projects/entropy/tags/${PV}" + +DESCRIPTION="Official Sabayon Linux Package Manager Client (tagged release)" +HOMEPAGE="http://www.sabayonlinux.org" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}"/trunk + +DEPEND="~sys-apps/entropy-${PV}" +RDEPEND="${DEPEND}" + +src_compile() { + einfo "nothing to compile" +} + +src_install() { + + ########## + # + # Equo + # + ######### + + dodir /usr/$(get_libdir)/entropy/client + dodir /etc/portage + + # copying portage bashrc + insinto /etc/portage + mv ${S}/conf/etc-portage-bashrc ${S}/conf/bashrc + doins ${S}/conf/bashrc + + # copy configuration + cd ${S}/conf + dodir /etc/entropy + insinto /etc/entropy + doins equo.conf + # FIXME: remove this below + doins repositories.conf + + # copy client + cd ${S}/client + insinto /usr/$(get_libdir)/entropy/client + doins *.py + doins entropy-system-test-client + doins equo + + cd ${S} + dodir /usr/bin + echo '#!/bin/sh' > equo + echo 'if [ -f "/etc/profile" ]; then source /etc/profile; fi' >> equo + echo 'cd /usr/'$(get_libdir)'/entropy/client' >> equo + echo 'LD_LIBRARY_PATH="/usr/'$(get_libdir)'/entropy/client/lib/:/usr/'$(get_libdir)'/entropy/client/libraries/pysqlite2/" python equo "$@"' >> equo + exeinto /usr/bin + doexe equo + +} diff --git a/app-admin/spritz/Manifest b/app-admin/spritz/Manifest index 4ac3234fc..ab25af836 100644 --- a/app-admin/spritz/Manifest +++ b/app-admin/spritz/Manifest @@ -4,5 +4,6 @@ EBUILD spritz-0.13.3.ebuild 1085 RMD160 527824053ad4ceca71a42a7809609244efed59da EBUILD spritz-0.14.0.ebuild 1085 RMD160 527824053ad4ceca71a42a7809609244efed59da SHA1 bf3230c4de79b6f65a9e29b0b32b7d01bfb31abb SHA256 c86a85b03558ea3ea3b675f795a9d20650d4efbb6713f76110863b4815dd0280 EBUILD spritz-0.14.1.ebuild 1085 RMD160 527824053ad4ceca71a42a7809609244efed59da SHA1 bf3230c4de79b6f65a9e29b0b32b7d01bfb31abb SHA256 c86a85b03558ea3ea3b675f795a9d20650d4efbb6713f76110863b4815dd0280 EBUILD spritz-0.14.10.ebuild 1085 RMD160 527824053ad4ceca71a42a7809609244efed59da SHA1 bf3230c4de79b6f65a9e29b0b32b7d01bfb31abb SHA256 c86a85b03558ea3ea3b675f795a9d20650d4efbb6713f76110863b4815dd0280 +EBUILD spritz-0.14.11.ebuild 1085 RMD160 527824053ad4ceca71a42a7809609244efed59da SHA1 bf3230c4de79b6f65a9e29b0b32b7d01bfb31abb SHA256 c86a85b03558ea3ea3b675f795a9d20650d4efbb6713f76110863b4815dd0280 EBUILD spritz-0.14.2.ebuild 1085 RMD160 527824053ad4ceca71a42a7809609244efed59da SHA1 bf3230c4de79b6f65a9e29b0b32b7d01bfb31abb SHA256 c86a85b03558ea3ea3b675f795a9d20650d4efbb6713f76110863b4815dd0280 EBUILD spritz-9999-r1.ebuild 1000 RMD160 d698f35ccea733d3a1669827a2a53bf5a5014cf7 SHA1 48e1a7f4cdee89830a2a068335cc4fd07d749f0a SHA256 fac0e92c5df14ae9a098963293b7272560cf9136745897671450d83c0e0fdfc6 diff --git a/app-admin/spritz/spritz-0.14.11.ebuild b/app-admin/spritz/spritz-0.14.11.ebuild new file mode 100644 index 000000000..c016bd30d --- /dev/null +++ b/app-admin/spritz/spritz-0.14.11.ebuild @@ -0,0 +1,42 @@ +# Copyright 2004-2007 Sabayon Linux +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils subversion multilib +ESVN_REPO_URI="http://svn.sabayonlinux.org/projects/entropy/tags/${PV}/spritz" +DESCRIPTION="Official Sabayon Linux Package Manager Graphical Client (tagged release)" +HOMEPAGE="http://www.sabayonlinux.org" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}"/trunk + +RDEPEND=" + ~sys-apps/entropy-${PV} + >=dev-python/pygtk-2.10 + >=x11-libs/vte-0.12.2 + x11-misc/xdg-utils + dev-python/notify-python + >=dev-python/gnome-python-extras-2.19 + " +DEPEND="sys-devel/gettext" + +pkg_setup () +{ + if ! built_with_use x11-libs/vte python; then + echo + eerror "x11-libs/vte has not been built with python support." + eerror "Please re-emerge vte with the python use-flag enabled." + die "missing python flag for x11-libs/vte" + fi +} + +src_unpack() { + # prepare spritz stuff + subversion_src_unpack +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" +} diff --git a/sys-apps/entropy-server/Manifest b/sys-apps/entropy-server/Manifest index b34211026..b3bafccdf 100644 --- a/sys-apps/entropy-server/Manifest +++ b/sys-apps/entropy-server/Manifest @@ -4,4 +4,5 @@ EBUILD entropy-server-0.13.3.ebuild 1177 RMD160 6ee202e6e9a41a98741ef02dd4c3d5e9 EBUILD entropy-server-0.14.0.ebuild 1255 RMD160 f1ebe8bfc0393575eefc793a9af28cd5326e50f4 SHA1 a762c0a05546a787abf410d635351136cbd683ad SHA256 ea9b693a3f138bb1d42a51170bf0fd3b8c56bb024cbb44d343dd2300f9055e30 EBUILD entropy-server-0.14.1.ebuild 1255 RMD160 f1ebe8bfc0393575eefc793a9af28cd5326e50f4 SHA1 a762c0a05546a787abf410d635351136cbd683ad SHA256 ea9b693a3f138bb1d42a51170bf0fd3b8c56bb024cbb44d343dd2300f9055e30 EBUILD entropy-server-0.14.10.ebuild 1255 RMD160 f1ebe8bfc0393575eefc793a9af28cd5326e50f4 SHA1 a762c0a05546a787abf410d635351136cbd683ad SHA256 ea9b693a3f138bb1d42a51170bf0fd3b8c56bb024cbb44d343dd2300f9055e30 +EBUILD entropy-server-0.14.11.ebuild 1255 RMD160 f1ebe8bfc0393575eefc793a9af28cd5326e50f4 SHA1 a762c0a05546a787abf410d635351136cbd683ad SHA256 ea9b693a3f138bb1d42a51170bf0fd3b8c56bb024cbb44d343dd2300f9055e30 EBUILD entropy-server-0.14.2.ebuild 1255 RMD160 f1ebe8bfc0393575eefc793a9af28cd5326e50f4 SHA1 a762c0a05546a787abf410d635351136cbd683ad SHA256 ea9b693a3f138bb1d42a51170bf0fd3b8c56bb024cbb44d343dd2300f9055e30 diff --git a/sys-apps/entropy-server/entropy-server-0.14.11.ebuild b/sys-apps/entropy-server/entropy-server-0.14.11.ebuild new file mode 100644 index 000000000..9f54de41f --- /dev/null +++ b/sys-apps/entropy-server/entropy-server-0.14.11.ebuild @@ -0,0 +1,52 @@ +# Copyright 2004-2007 Sabayon Linux +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils subversion +ESVN_REPO_URI="http://svn.sabayonlinux.org/projects/entropy/tags/${PV}" + +DESCRIPTION="Official Sabayon Linux Package Manager Server Interface (tagged release)" +HOMEPAGE="http://www.sabayonlinux.org" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}"/trunk + +DEPEND="~sys-apps/entropy-${PV}" +RDEPEND="${DEPEND}" + +src_compile() { + einfo "nothing to compile" +} + +src_install() { + + dodir /usr/$(get_libdir)/entropy/server + + # copy configuration + cd ${S}/conf + dodir /etc/entropy + insinto /etc/entropy + doins activator.conf + doins reagent.conf + doins server.conf.example + + packages="reagent activator" + inspackages="reagent activator server_reagent.py server_activator.py entropy-system-daemon server_query.py" + cd ${S}/server + insinto /usr/$(get_libdir)/entropy/server + for package in ${inspackages}; do + doins ${package} + done + + cd ${S} + for package in ${packages}; do + echo '#!/bin/sh' > ${package} + echo 'cd /usr/'$(get_libdir)'/entropy/server' >> ${package} + echo 'python '${package}' "$@"' >> ${package} + exeinto /usr/sbin + doexe ${package} + done + +} diff --git a/sys-apps/entropy/Manifest b/sys-apps/entropy/Manifest index 36132a710..0aa50f130 100644 --- a/sys-apps/entropy/Manifest +++ b/sys-apps/entropy/Manifest @@ -5,5 +5,6 @@ EBUILD entropy-0.13.3.ebuild 2817 RMD160 80702ffd0980d642ac252a34a809c057f340002 EBUILD entropy-0.14.0.ebuild 2817 RMD160 80702ffd0980d642ac252a34a809c057f3400028 SHA1 c56314167c8995602ef57b6e7460c81e9153e3f1 SHA256 83adb0f16bd02fdf00027974d14dd36bcfef20b171845f6867bafbd6edc973dc EBUILD entropy-0.14.1.ebuild 2817 RMD160 80702ffd0980d642ac252a34a809c057f3400028 SHA1 c56314167c8995602ef57b6e7460c81e9153e3f1 SHA256 83adb0f16bd02fdf00027974d14dd36bcfef20b171845f6867bafbd6edc973dc EBUILD entropy-0.14.10.ebuild 2817 RMD160 80702ffd0980d642ac252a34a809c057f3400028 SHA1 c56314167c8995602ef57b6e7460c81e9153e3f1 SHA256 83adb0f16bd02fdf00027974d14dd36bcfef20b171845f6867bafbd6edc973dc +EBUILD entropy-0.14.11.ebuild 2817 RMD160 80702ffd0980d642ac252a34a809c057f3400028 SHA1 c56314167c8995602ef57b6e7460c81e9153e3f1 SHA256 83adb0f16bd02fdf00027974d14dd36bcfef20b171845f6867bafbd6edc973dc EBUILD entropy-0.14.2.ebuild 2817 RMD160 80702ffd0980d642ac252a34a809c057f3400028 SHA1 c56314167c8995602ef57b6e7460c81e9153e3f1 SHA256 83adb0f16bd02fdf00027974d14dd36bcfef20b171845f6867bafbd6edc973dc EBUILD entropy-9999.ebuild 2831 RMD160 e273488c8c1797f3e48558fe9fe1390bd4ab5bb2 SHA1 67c3c8c68312d053e95e04d9e8424ef37c50b160 SHA256 27cabd7c2475c709e90625b2f6759e201652bc03afc51cfd8488264cf007a83c diff --git a/sys-apps/entropy/entropy-0.14.11.ebuild b/sys-apps/entropy/entropy-0.14.11.ebuild new file mode 100644 index 000000000..92e7da8e1 --- /dev/null +++ b/sys-apps/entropy/entropy-0.14.11.ebuild @@ -0,0 +1,115 @@ +# Copyright 2004-2007 Sabayon Linux +# Distributed under the terms of the GNU General Public License v2 + +NEED_PYTHON=2.4 + +inherit eutils subversion distutils python multilib +ESVN_REPO_URI="http://svn.sabayonlinux.org/projects/entropy/tags/${PV}" + +DESCRIPTION="Official Sabayon Linux Package Manager library" +HOMEPAGE="http://www.sabayonlinux.org" +PYTHON_MODNAME="pysqlite2" +PYSQLITE_VER="2.3.5" +PYSQLITE_DIRNAME="pysqlite" +SRC_URI="http://initd.org/pub/software/pysqlite/releases/${PYSQLITE_VER:0:3}/${PYSQLITE_VER}/pysqlite-${PYSQLITE_VER}.tar.gz" + +LICENSE="GPL-2 pysqlite" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}"/trunk + +DEPEND=" + dev-db/sqlite:3 + sys-apps/diffutils" +RDEPEND="${DEPEND}" + +src_unpack() { + + # prepare entropy stuff + subversion_src_unpack + + # prepare sqlite stuff + cd ${WORKDIR} + distutils_src_unpack + cd ${WORKDIR}/${PYSQLITE_DIRNAME}-${PYSQLITE_VER} + sed -i -e 's/, "pysqlite2.test"//' \ + setup.py || die "sed in setup.py failed" + # workaround to make checks work without installing them + sed -i -e "s/pysqlite2.test/test/" \ + pysqlite2/test/__init__.py || die "sed failed" + # correct encoding + sed -i -e "s/\(coding: \)ISO-8859-1/\1utf-8/" \ + pysqlite2/__init__.py pysqlite2/dbapi2.py || die "sed failed" + + # setting svn revision + #cd ${ESVN_STORE_DIR}/${PN}/trunk + #SVNREV=$(svnversion) + echo "${PV}" > ${S}/libraries/revision +} + +src_compile() { + einfo "nothing to compile" +} + +src_install() { + + ########## + # + # Entropy + # + ######### + + dodir /usr/$(get_libdir)/entropy/libraries + dodir /usr/sbin/ + + # copying libraries + cd ${S}/libraries + insinto /usr/$(get_libdir)/entropy/libraries + doins *.py + doins revision + + # copy entropy (client) server + cd ${S}/server + exeinto /usr/sbin/ + doexe entropy-system-daemon + + # copy configuration + cd ${S}/conf + dodir /etc/entropy + insinto /etc/entropy + doins -r * + rm ${D}/etc/entropy/equo.conf + rm ${D}/etc/entropy/reagent.conf + rm ${D}/etc/entropy/activator.conf + rm ${D}/etc/entropy/remote.conf + rm ${D}/etc/entropy/server.conf + + ######### + # + # PySQLite + # + ######### + + cd ${WORKDIR}/${PYSQLITE_DIRNAME}-${PYSQLITE_VER} + distutils_src_install + rm -rf "${D}"/usr/pysqlite2-doc + rm -rf "${D}"/usr/share/doc + + ######## + # + # Python + # + ######## + + python_version + mkdir "${D}"/usr/$(get_libdir)/entropy/libraries/pysqlite2 + mv "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/${PYTHON_MODNAME}/* "${D}"/usr/$(get_libdir)/entropy/libraries/pysqlite2/ || die "cannot move pysqlite library" + rm -rf "${D}"/usr/$(get_libdir)/python${PYVER} + if use amd64; then + cp ${S}/libraries/python/amd64/libpython* "${D}"/usr/$(get_libdir)/entropy/libraries/pysqlite2/ + else + cp ${S}/libraries/python/x86/libpython* "${D}"/usr/$(get_libdir)/entropy/libraries/pysqlite2/ + fi + chmod 555 "${D}"/usr/$(get_libdir)/entropy/libraries/pysqlite2/libpython* +}