[sys-apps/entropy*] version bump to 315

This commit is contained in:
Fabio Erculiani
2018-09-22 19:42:12 +02:00
parent 97dd1f971f
commit ca3ed83f28
22 changed files with 522 additions and 0 deletions
+1
View File
@@ -6,3 +6,4 @@ DIST entropy-311.tar.bz2 1830838 BLAKE2B c3b637eaddd24c9e685ae08571947476756dffb
DIST entropy-312.tar.bz2 1834730 BLAKE2B e7dd58144d695921a23bd71e2ce9e0a4e5c5e0d08fe51722046a95d50675f3cb45703fd88a0d5dcadb9fcb51a63fc0bb3c2c26cfff5a6786098b4feac3026d20 SHA512 d11d0e435a3c19dcad190545f069e13f9327d72b8bf12bc29d7d0f8040e1e45e1131af626c732fa8da2005b9f3c36e216627e683afdfde1ebb5b82edb8414a14
DIST entropy-313.tar.bz2 1838575 BLAKE2B 3d8373ab48eef9bce307739078be138451a8f4d6488563241a399ca608a8a56b9a04bc8f013a350a9e276bf56a664fd80bdf6e24f1cf86e29327177073c60352 SHA512 50613650113947626fa7371b912ad3ebd7052a5f491e47ff63acd50d455f50acf7250b49155b0cf313b03cd51c5021c68b38e6dbde0abf87081c8128401d26be
DIST entropy-314.tar.bz2 1839634 BLAKE2B 0c7d9ead542247969c6bd05de62109cb0e913023a248150bec4195d9fedc8e639e11860ead30fbc14be367bc53888a4e5c73138f78a0159f1e4704b0e16b4fd3 SHA512 5f2cf378667294cff951920a632ac559b60aa4b6ff02c0f63d4016d808d21d9952a7c37a1c5d76e7a403fc267a6bfe6bf3998a88e4e799749b5d6e0542921271
DIST entropy-315.tar.bz2 1840293 BLAKE2B bcc7c9e2502917306bbf7069b2d49debbe2fbb8b8a2eee933567e615d2eee4368b78c19f7a40c29f5bb45f77f611730feacb70bf829b893307a2bb1433ce5e9b SHA512 5112629fa9c2c1dbeec2b9e77b5e0fab4e0b622fd26d0d3c04b245d5c4b64b73a1a98048bad880cdb22f2d30adecf6769ac92f387ac478c37bb054b95fcac28d
+41
View File
@@ -0,0 +1,41 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit eutils python-single-r1 bash-completion-r1
DESCRIPTION="Entropy Package Manager text-based client"
HOMEPAGE="http://www.sabayon.org"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
S="${WORKDIR}/entropy-${PV}/client"
MISC_DIR="${WORKDIR}/entropy-${PV}/misc"
COMMON_DEPEND="${PYTHON_DEPS}
~sys-apps/entropy-${PV}[${PYTHON_USEDEP}]"
DEPEND="${COMMON_DEPEND}
app-text/asciidoc"
RDEPEND="${COMMON_DEPEND}
sys-apps/file[python]"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_prepare() {
default
python_fix_shebang "${S}"
}
src_install() {
emake DESTDIR="${D}" LIBDIR="usr/lib" install
newbashcomp "${MISC_DIR}/equo-completion.bash" equo
python_optimize "${D}/usr/lib/entropy/client"
}
+1
View File
@@ -6,3 +6,4 @@ DIST entropy-311.tar.bz2 1830838 BLAKE2B c3b637eaddd24c9e685ae08571947476756dffb
DIST entropy-312.tar.bz2 1834730 BLAKE2B e7dd58144d695921a23bd71e2ce9e0a4e5c5e0d08fe51722046a95d50675f3cb45703fd88a0d5dcadb9fcb51a63fc0bb3c2c26cfff5a6786098b4feac3026d20 SHA512 d11d0e435a3c19dcad190545f069e13f9327d72b8bf12bc29d7d0f8040e1e45e1131af626c732fa8da2005b9f3c36e216627e683afdfde1ebb5b82edb8414a14
DIST entropy-313.tar.bz2 1838575 BLAKE2B 3d8373ab48eef9bce307739078be138451a8f4d6488563241a399ca608a8a56b9a04bc8f013a350a9e276bf56a664fd80bdf6e24f1cf86e29327177073c60352 SHA512 50613650113947626fa7371b912ad3ebd7052a5f491e47ff63acd50d455f50acf7250b49155b0cf313b03cd51c5021c68b38e6dbde0abf87081c8128401d26be
DIST entropy-314.tar.bz2 1839634 BLAKE2B 0c7d9ead542247969c6bd05de62109cb0e913023a248150bec4195d9fedc8e639e11860ead30fbc14be367bc53888a4e5c73138f78a0159f1e4704b0e16b4fd3 SHA512 5f2cf378667294cff951920a632ac559b60aa4b6ff02c0f63d4016d808d21d9952a7c37a1c5d76e7a403fc267a6bfe6bf3998a88e4e799749b5d6e0542921271
DIST entropy-315.tar.bz2 1840293 BLAKE2B bcc7c9e2502917306bbf7069b2d49debbe2fbb8b8a2eee933567e615d2eee4368b78c19f7a40c29f5bb45f77f611730feacb70bf829b893307a2bb1433ce5e9b SHA512 5112629fa9c2c1dbeec2b9e77b5e0fab4e0b622fd26d0d3c04b245d5c4b64b73a1a98048bad880cdb22f2d30adecf6769ac92f387ac478c37bb054b95fcac28d
+41
View File
@@ -0,0 +1,41 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit eutils python-single-r1 bash-completion-r1
DESCRIPTION="Automated Packages Builder for Portage and Entropy"
HOMEPAGE="http://www.sabayon.org"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="+entropy"
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
S="${WORKDIR}/entropy-${PV}/${PN}"
DEPEND=""
RDEPEND="entropy? ( ~sys-apps/entropy-${PV}[${PYTHON_USEDEP}] )
sys-apps/file[python]
${PYTHON_DEPS}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_prepare() {
default
python_fix_shebang "${S}"
}
src_install() {
emake DESTDIR="${D}" install
emake DESTDIR="${D}" base-install
if use entropy; then
emake DESTDIR="${D}" entropysrv-install
fi
python_optimize "${D}/usr/lib/matter"
}
+1
View File
@@ -6,3 +6,4 @@ DIST entropy-311.tar.bz2 1830838 BLAKE2B c3b637eaddd24c9e685ae08571947476756dffb
DIST entropy-312.tar.bz2 1834730 BLAKE2B e7dd58144d695921a23bd71e2ce9e0a4e5c5e0d08fe51722046a95d50675f3cb45703fd88a0d5dcadb9fcb51a63fc0bb3c2c26cfff5a6786098b4feac3026d20 SHA512 d11d0e435a3c19dcad190545f069e13f9327d72b8bf12bc29d7d0f8040e1e45e1131af626c732fa8da2005b9f3c36e216627e683afdfde1ebb5b82edb8414a14
DIST entropy-313.tar.bz2 1838575 BLAKE2B 3d8373ab48eef9bce307739078be138451a8f4d6488563241a399ca608a8a56b9a04bc8f013a350a9e276bf56a664fd80bdf6e24f1cf86e29327177073c60352 SHA512 50613650113947626fa7371b912ad3ebd7052a5f491e47ff63acd50d455f50acf7250b49155b0cf313b03cd51c5021c68b38e6dbde0abf87081c8128401d26be
DIST entropy-314.tar.bz2 1839634 BLAKE2B 0c7d9ead542247969c6bd05de62109cb0e913023a248150bec4195d9fedc8e639e11860ead30fbc14be367bc53888a4e5c73138f78a0159f1e4704b0e16b4fd3 SHA512 5f2cf378667294cff951920a632ac559b60aa4b6ff02c0f63d4016d808d21d9952a7c37a1c5d76e7a403fc267a6bfe6bf3998a88e4e799749b5d6e0542921271
DIST entropy-315.tar.bz2 1840293 BLAKE2B bcc7c9e2502917306bbf7069b2d49debbe2fbb8b8a2eee933567e615d2eee4368b78c19f7a40c29f5bb45f77f611730feacb70bf829b893307a2bb1433ce5e9b SHA512 5112629fa9c2c1dbeec2b9e77b5e0fab4e0b622fd26d0d3c04b245d5c4b64b73a1a98048bad880cdb22f2d30adecf6769ac92f387ac478c37bb054b95fcac28d
+52
View File
@@ -0,0 +1,52 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit eutils gnome2-utils fdo-mime python-single-r1
DESCRIPTION="Rigo, the Sabayon Application Browser"
HOMEPAGE="http://www.sabayon.org"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="+passwordless-upgrade"
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
S="${WORKDIR}/entropy-${PV}/rigo"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${PYTHON_DEPS}
|| ( dev-python/pygobject-cairo:3 dev-python/pygobject:3[cairo] )
~sys-apps/entropy-${PV}[${PYTHON_USEDEP}]
~sys-apps/rigo-daemon-${PV}[${PYTHON_USEDEP}]
sys-devel/gettext
x11-libs/gtk+:3
x11-libs/vte:2.91
>=x11-misc/xdg-utils-1.1.0_rc1_p20120319"
PDEPEND="passwordless-upgrade? ( app-misc/passwordless-upgrade )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_prepare() {
default
python_fix_shebang "${S}"
}
src_install() {
emake DESTDIR="${D}" install
python_optimize "${D}/usr/lib/rigo/${PN}"
}
pkg_postinst() {
fdo-mime_mime_database_update
fdo-mime_desktop_database_update
}
pkg_postrm() {
fdo-mime_mime_database_update
fdo-mime_desktop_database_update
}
+1
View File
@@ -6,3 +6,4 @@ DIST entropy-311.tar.bz2 1830838 BLAKE2B c3b637eaddd24c9e685ae08571947476756dffb
DIST entropy-312.tar.bz2 1834730 BLAKE2B e7dd58144d695921a23bd71e2ce9e0a4e5c5e0d08fe51722046a95d50675f3cb45703fd88a0d5dcadb9fcb51a63fc0bb3c2c26cfff5a6786098b4feac3026d20 SHA512 d11d0e435a3c19dcad190545f069e13f9327d72b8bf12bc29d7d0f8040e1e45e1131af626c732fa8da2005b9f3c36e216627e683afdfde1ebb5b82edb8414a14
DIST entropy-313.tar.bz2 1838575 BLAKE2B 3d8373ab48eef9bce307739078be138451a8f4d6488563241a399ca608a8a56b9a04bc8f013a350a9e276bf56a664fd80bdf6e24f1cf86e29327177073c60352 SHA512 50613650113947626fa7371b912ad3ebd7052a5f491e47ff63acd50d455f50acf7250b49155b0cf313b03cd51c5021c68b38e6dbde0abf87081c8128401d26be
DIST entropy-314.tar.bz2 1839634 BLAKE2B 0c7d9ead542247969c6bd05de62109cb0e913023a248150bec4195d9fedc8e639e11860ead30fbc14be367bc53888a4e5c73138f78a0159f1e4704b0e16b4fd3 SHA512 5f2cf378667294cff951920a632ac559b60aa4b6ff02c0f63d4016d808d21d9952a7c37a1c5d76e7a403fc267a6bfe6bf3998a88e4e799749b5d6e0542921271
DIST entropy-315.tar.bz2 1840293 BLAKE2B bcc7c9e2502917306bbf7069b2d49debbe2fbb8b8a2eee933567e615d2eee4368b78c19f7a40c29f5bb45f77f611730feacb70bf829b893307a2bb1433ce5e9b SHA512 5112629fa9c2c1dbeec2b9e77b5e0fab4e0b622fd26d0d3c04b245d5c4b64b73a1a98048bad880cdb22f2d30adecf6769ac92f387ac478c37bb054b95fcac28d
@@ -0,0 +1,35 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit eutils python-single-r1
DESCRIPTION="Official Sabayon Linux Entropy Notification Applet Loader"
HOMEPAGE="http://www.sabayon.org"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
S="${WORKDIR}/entropy-${PV}/magneto"
DEPEND="${PYTHON_DEPS}
~sys-apps/magneto-core-${PV}[${PYTHON_USEDEP}]
~app-admin/rigo-${PV}[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_prepare() {
default
python_fix_shebang "${S}"
}
src_install() {
emake DESTDIR="${D}" LIBDIR="usr/lib" magneto-loader-install || die "make install failed"
}
+1
View File
@@ -6,3 +6,4 @@ DIST entropy-311.tar.bz2 1830838 BLAKE2B c3b637eaddd24c9e685ae08571947476756dffb
DIST entropy-312.tar.bz2 1834730 BLAKE2B e7dd58144d695921a23bd71e2ce9e0a4e5c5e0d08fe51722046a95d50675f3cb45703fd88a0d5dcadb9fcb51a63fc0bb3c2c26cfff5a6786098b4feac3026d20 SHA512 d11d0e435a3c19dcad190545f069e13f9327d72b8bf12bc29d7d0f8040e1e45e1131af626c732fa8da2005b9f3c36e216627e683afdfde1ebb5b82edb8414a14
DIST entropy-313.tar.bz2 1838575 BLAKE2B 3d8373ab48eef9bce307739078be138451a8f4d6488563241a399ca608a8a56b9a04bc8f013a350a9e276bf56a664fd80bdf6e24f1cf86e29327177073c60352 SHA512 50613650113947626fa7371b912ad3ebd7052a5f491e47ff63acd50d455f50acf7250b49155b0cf313b03cd51c5021c68b38e6dbde0abf87081c8128401d26be
DIST entropy-314.tar.bz2 1839634 BLAKE2B 0c7d9ead542247969c6bd05de62109cb0e913023a248150bec4195d9fedc8e639e11860ead30fbc14be367bc53888a4e5c73138f78a0159f1e4704b0e16b4fd3 SHA512 5f2cf378667294cff951920a632ac559b60aa4b6ff02c0f63d4016d808d21d9952a7c37a1c5d76e7a403fc267a6bfe6bf3998a88e4e799749b5d6e0542921271
DIST entropy-315.tar.bz2 1840293 BLAKE2B bcc7c9e2502917306bbf7069b2d49debbe2fbb8b8a2eee933567e615d2eee4368b78c19f7a40c29f5bb45f77f611730feacb70bf829b893307a2bb1433ce5e9b SHA512 5112629fa9c2c1dbeec2b9e77b5e0fab4e0b622fd26d0d3c04b245d5c4b64b73a1a98048bad880cdb22f2d30adecf6769ac92f387ac478c37bb054b95fcac28d
@@ -0,0 +1,36 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit eutils python-single-r1
DESCRIPTION="Entropy Package Manager notification applet KDE frontend"
HOMEPAGE="http://www.sabayon.org"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
S="${WORKDIR}/entropy-${PV}/magneto"
DEPEND="${PYTHON_DEPS}"
RDEPEND="~app-misc/magneto-loader-${PV}[${PYTHON_USEDEP}]
dev-python/PyQt5[dbus]
${DEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_prepare() {
default
python_fix_shebang "${S}"
}
src_install() {
emake DESTDIR="${D}" LIBDIR="usr/lib" magneto-kde-install
python_optimize "${D}/usr/lib/entropy/magneto/magneto/kde"
}
+1
View File
@@ -6,3 +6,4 @@ DIST entropy-311.tar.bz2 1830838 BLAKE2B c3b637eaddd24c9e685ae08571947476756dffb
DIST entropy-312.tar.bz2 1834730 BLAKE2B e7dd58144d695921a23bd71e2ce9e0a4e5c5e0d08fe51722046a95d50675f3cb45703fd88a0d5dcadb9fcb51a63fc0bb3c2c26cfff5a6786098b4feac3026d20 SHA512 d11d0e435a3c19dcad190545f069e13f9327d72b8bf12bc29d7d0f8040e1e45e1131af626c732fa8da2005b9f3c36e216627e683afdfde1ebb5b82edb8414a14
DIST entropy-313.tar.bz2 1838575 BLAKE2B 3d8373ab48eef9bce307739078be138451a8f4d6488563241a399ca608a8a56b9a04bc8f013a350a9e276bf56a664fd80bdf6e24f1cf86e29327177073c60352 SHA512 50613650113947626fa7371b912ad3ebd7052a5f491e47ff63acd50d455f50acf7250b49155b0cf313b03cd51c5021c68b38e6dbde0abf87081c8128401d26be
DIST entropy-314.tar.bz2 1839634 BLAKE2B 0c7d9ead542247969c6bd05de62109cb0e913023a248150bec4195d9fedc8e639e11860ead30fbc14be367bc53888a4e5c73138f78a0159f1e4704b0e16b4fd3 SHA512 5f2cf378667294cff951920a632ac559b60aa4b6ff02c0f63d4016d808d21d9952a7c37a1c5d76e7a403fc267a6bfe6bf3998a88e4e799749b5d6e0542921271
DIST entropy-315.tar.bz2 1840293 BLAKE2B bcc7c9e2502917306bbf7069b2d49debbe2fbb8b8a2eee933567e615d2eee4368b78c19f7a40c29f5bb45f77f611730feacb70bf829b893307a2bb1433ce5e9b SHA512 5112629fa9c2c1dbeec2b9e77b5e0fab4e0b622fd26d0d3c04b245d5c4b64b73a1a98048bad880cdb22f2d30adecf6769ac92f387ac478c37bb054b95fcac28d
@@ -0,0 +1,39 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit eutils python-single-r1 bash-completion-r1
DESCRIPTION="Entropy Package Manager server-side tools"
HOMEPAGE="http://www.sabayon.org"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="+matter"
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
S="${WORKDIR}/entropy-${PV}/server"
RDEPEND="~sys-apps/entropy-${PV}[${PYTHON_USEDEP}]
matter? ( ~app-admin/matter-${PV}[entropy] )
${PYTHON_DEPS}
"
DEPEND="app-text/asciidoc"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_prepare() {
default
python_fix_shebang "${S}"
}
src_install() {
emake DESTDIR="${D}" install
newbashcomp "${S}/eit-completion.bash" eit
python_optimize "${D}/usr/lib/entropy/server"
}
+1
View File
@@ -4,3 +4,4 @@ DIST entropy-311.tar.bz2 1830838 BLAKE2B c3b637eaddd24c9e685ae08571947476756dffb
DIST entropy-312.tar.bz2 1834730 BLAKE2B e7dd58144d695921a23bd71e2ce9e0a4e5c5e0d08fe51722046a95d50675f3cb45703fd88a0d5dcadb9fcb51a63fc0bb3c2c26cfff5a6786098b4feac3026d20 SHA512 d11d0e435a3c19dcad190545f069e13f9327d72b8bf12bc29d7d0f8040e1e45e1131af626c732fa8da2005b9f3c36e216627e683afdfde1ebb5b82edb8414a14
DIST entropy-313.tar.bz2 1838575 BLAKE2B 3d8373ab48eef9bce307739078be138451a8f4d6488563241a399ca608a8a56b9a04bc8f013a350a9e276bf56a664fd80bdf6e24f1cf86e29327177073c60352 SHA512 50613650113947626fa7371b912ad3ebd7052a5f491e47ff63acd50d455f50acf7250b49155b0cf313b03cd51c5021c68b38e6dbde0abf87081c8128401d26be
DIST entropy-314.tar.bz2 1839634 BLAKE2B 0c7d9ead542247969c6bd05de62109cb0e913023a248150bec4195d9fedc8e639e11860ead30fbc14be367bc53888a4e5c73138f78a0159f1e4704b0e16b4fd3 SHA512 5f2cf378667294cff951920a632ac559b60aa4b6ff02c0f63d4016d808d21d9952a7c37a1c5d76e7a403fc267a6bfe6bf3998a88e4e799749b5d6e0542921271
DIST entropy-315.tar.bz2 1840293 BLAKE2B bcc7c9e2502917306bbf7069b2d49debbe2fbb8b8a2eee933567e615d2eee4368b78c19f7a40c29f5bb45f77f611730feacb70bf829b893307a2bb1433ce5e9b SHA512 5112629fa9c2c1dbeec2b9e77b5e0fab4e0b622fd26d0d3c04b245d5c4b64b73a1a98048bad880cdb22f2d30adecf6769ac92f387ac478c37bb054b95fcac28d
+108
View File
@@ -0,0 +1,108 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="sqlite"
inherit eutils python-single-r1 user
DESCRIPTION="Entropy Package Manager foundation library"
HOMEPAGE="http://www.sabayon.org"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86"
IUSE=""
SRC_URI="mirror://sabayon/${CATEGORY}/${P}.tar.bz2"
RDEPEND=">=app-misc/pax-utils-0.7
dev-db/sqlite:3[soundex(+)]
net-misc/rsync
sys-apps/diffutils
sys-apps/sandbox
>=sys-apps/portage-2.1.9[${PYTHON_USEDEP}]
sys-devel/gettext
${PYTHON_DEPS}"
DEPEND="${RDEPEND}
dev-util/intltool"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
S="${S}/lib"
REPO_CONFPATH="${ROOT}/etc/entropy/repositories.conf"
REPO_D_CONFPATH="${ROOT}/etc/entropy/repositories.conf.d"
ENTROPY_CACHEDIR="${ROOT}/var/lib/entropy/caches"
pkg_setup() {
python-single-r1_pkg_setup
# Can:
# - update repos
# - update security advisories
# - handle on-disk cache (atm)
enewgroup entropy || die "failed to create entropy group"
# Create unprivileged entropy user
enewgroup entropy-nopriv || die "failed to create entropy-nopriv group"
enewuser entropy-nopriv -1 -1 -1 entropy-nopriv || die "failed to create entropy-nopriv user"
}
src_install() {
emake DESTDIR="${D}" LIBDIR="usr/lib" install || die "make install failed"
python_optimize "${D}/usr/lib/entropy/lib/entropy"
}
pkg_postinst() {
for ex_conf in "${REPO_D_CONFPATH}"/_entropy_sabayon-limbo.example; do
real_conf="${ex_conf%.example}"
if [ -f "${real_conf}" ] || [ -f "${real_conf/_}" ]; then
# skip installation then
continue
fi
elog "Installing: ${real_conf}"
cp "${ex_conf}" "${real_conf}" -p
done
# Copy config file over
if [ -f "${REPO_CONFPATH}.example" ] && [ ! -f "${REPO_CONFPATH}" ]; then
elog "Copying ${REPO_CONFPATH}.example over to ${REPO_CONFPATH}"
cp "${REPO_CONFPATH}.example" "${REPO_CONFPATH}" -p
fi
if [ -d "${ENTROPY_CACHEDIR}" ]; then
einfo "Purging current Entropy cache"
rm -rf "${ENTROPY_CACHEDIR}"/*
fi
# Fixup Entropy Resources Lock, and /etc/entropy/packages
# files permissions. This fixes unprivileged Entropy Library usage
local res_file="${ROOT}"/var/lib/entropy/client/database/*/.using_resources
if [ -f "${res_file}" ]; then
chown root:entropy "${res_file}"
chmod g+rw "${res_file}"
chmod o+r "${res_file}"
fi
local pkg_files="package.mask package.unmask package.mask.d package.unmask.d"
local pkg_file
for pkg_file in ${pkg_files}; do
pkg_file="${ROOT}/etc/entropy/packages/${pkg_file}"
recursive=""
if [ -d "${pkg_file}" ]; then
recursive="-R"
fi
if [ -e "${pkg_file}" ]; then
chown ${recursive} root:entropy "${pkg_file}"
chmod ${recursive} go+r "${pkg_file}"
fi
done
# Setup Entropy Library directories ownership
chown root:entropy "${ROOT}/var/lib/entropy" # no recursion
chown root:entropy "${ROOT}/var/lib/entropy/client/packages" # no recursion
chown root:entropy "${ROOT}/var/log/entropy" # no recursion
elog "If you want to enable Entropy packages delta download support, please"
elog "install dev-util/bsdiff."
}
+1
View File
@@ -6,3 +6,4 @@ DIST entropy-311.tar.bz2 1830838 BLAKE2B c3b637eaddd24c9e685ae08571947476756dffb
DIST entropy-312.tar.bz2 1834730 BLAKE2B e7dd58144d695921a23bd71e2ce9e0a4e5c5e0d08fe51722046a95d50675f3cb45703fd88a0d5dcadb9fcb51a63fc0bb3c2c26cfff5a6786098b4feac3026d20 SHA512 d11d0e435a3c19dcad190545f069e13f9327d72b8bf12bc29d7d0f8040e1e45e1131af626c732fa8da2005b9f3c36e216627e683afdfde1ebb5b82edb8414a14
DIST entropy-313.tar.bz2 1838575 BLAKE2B 3d8373ab48eef9bce307739078be138451a8f4d6488563241a399ca608a8a56b9a04bc8f013a350a9e276bf56a664fd80bdf6e24f1cf86e29327177073c60352 SHA512 50613650113947626fa7371b912ad3ebd7052a5f491e47ff63acd50d455f50acf7250b49155b0cf313b03cd51c5021c68b38e6dbde0abf87081c8128401d26be
DIST entropy-314.tar.bz2 1839634 BLAKE2B 0c7d9ead542247969c6bd05de62109cb0e913023a248150bec4195d9fedc8e639e11860ead30fbc14be367bc53888a4e5c73138f78a0159f1e4704b0e16b4fd3 SHA512 5f2cf378667294cff951920a632ac559b60aa4b6ff02c0f63d4016d808d21d9952a7c37a1c5d76e7a403fc267a6bfe6bf3998a88e4e799749b5d6e0542921271
DIST entropy-315.tar.bz2 1840293 BLAKE2B bcc7c9e2502917306bbf7069b2d49debbe2fbb8b8a2eee933567e615d2eee4368b78c19f7a40c29f5bb45f77f611730feacb70bf829b893307a2bb1433ce5e9b SHA512 5112629fa9c2c1dbeec2b9e77b5e0fab4e0b622fd26d0d3c04b245d5c4b64b73a1a98048bad880cdb22f2d30adecf6769ac92f387ac478c37bb054b95fcac28d
@@ -0,0 +1,36 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit eutils python-single-r1 multilib
DESCRIPTION="Entropy Package Manager notification applet library"
HOMEPAGE="http://www.sabayon.org"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
S="${WORKDIR}/entropy-${PV}/magneto"
DEPEND="~sys-apps/rigo-daemon-${PV}[${PYTHON_USEDEP}]
${PYTHON_DEPS}"
RDEPEND="${DEPEND}
x11-misc/xdg-utils"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_prepare() {
default
python_fix_shebang "${S}"
}
src_install() {
emake DESTDIR="${D}" LIBDIR="usr/lib" magneto-core-install
python_optimize "${D}/usr/$(get_libdir)/entropy/magneto"
}
+1
View File
@@ -6,3 +6,4 @@ DIST entropy-311.tar.bz2 1830838 BLAKE2B c3b637eaddd24c9e685ae08571947476756dffb
DIST entropy-312.tar.bz2 1834730 BLAKE2B e7dd58144d695921a23bd71e2ce9e0a4e5c5e0d08fe51722046a95d50675f3cb45703fd88a0d5dcadb9fcb51a63fc0bb3c2c26cfff5a6786098b4feac3026d20 SHA512 d11d0e435a3c19dcad190545f069e13f9327d72b8bf12bc29d7d0f8040e1e45e1131af626c732fa8da2005b9f3c36e216627e683afdfde1ebb5b82edb8414a14
DIST entropy-313.tar.bz2 1838575 BLAKE2B 3d8373ab48eef9bce307739078be138451a8f4d6488563241a399ca608a8a56b9a04bc8f013a350a9e276bf56a664fd80bdf6e24f1cf86e29327177073c60352 SHA512 50613650113947626fa7371b912ad3ebd7052a5f491e47ff63acd50d455f50acf7250b49155b0cf313b03cd51c5021c68b38e6dbde0abf87081c8128401d26be
DIST entropy-314.tar.bz2 1839634 BLAKE2B 0c7d9ead542247969c6bd05de62109cb0e913023a248150bec4195d9fedc8e639e11860ead30fbc14be367bc53888a4e5c73138f78a0159f1e4704b0e16b4fd3 SHA512 5f2cf378667294cff951920a632ac559b60aa4b6ff02c0f63d4016d808d21d9952a7c37a1c5d76e7a403fc267a6bfe6bf3998a88e4e799749b5d6e0542921271
DIST entropy-315.tar.bz2 1840293 BLAKE2B bcc7c9e2502917306bbf7069b2d49debbe2fbb8b8a2eee933567e615d2eee4368b78c19f7a40c29f5bb45f77f611730feacb70bf829b893307a2bb1433ce5e9b SHA512 5112629fa9c2c1dbeec2b9e77b5e0fab4e0b622fd26d0d3c04b245d5c4b64b73a1a98048bad880cdb22f2d30adecf6769ac92f387ac478c37bb054b95fcac28d
@@ -0,0 +1,47 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit eutils python-single-r1
MY_PN="RigoDaemon"
DESCRIPTION="Entropy Client DBus Services, aka RigoDaemon"
HOMEPAGE="http://www.sabayon.org"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
S="${WORKDIR}/entropy-${PV}/rigo/${MY_PN}"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${PYTHON_DEPS}
dev-python/dbus-python
dev-python/pygobject:3
~sys-apps/entropy-${PV}[${PYTHON_USEDEP}]
sys-auth/polkit[introspection]
sys-devel/gettext"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_prepare() {
default
python_fix_shebang "${S}"
}
src_install() {
emake DESTDIR="${D}" install
python_optimize "${D}/usr/lib/rigo/${MY_PN}"
}
pkg_preinst() {
# ask RigoDaemon to shutdown, if running
# TODO: this will be removed in future
local shutdown_exec=${EROOT}/usr/lib/rigo/${MY_PN}/shutdown.py
[[ -x "${shutdown_exec}" ]] && "${shutdown_exec}"
}
+1
View File
@@ -6,3 +6,4 @@ DIST entropy-311.tar.bz2 1830838 BLAKE2B c3b637eaddd24c9e685ae08571947476756dffb
DIST entropy-312.tar.bz2 1834730 BLAKE2B e7dd58144d695921a23bd71e2ce9e0a4e5c5e0d08fe51722046a95d50675f3cb45703fd88a0d5dcadb9fcb51a63fc0bb3c2c26cfff5a6786098b4feac3026d20 SHA512 d11d0e435a3c19dcad190545f069e13f9327d72b8bf12bc29d7d0f8040e1e45e1131af626c732fa8da2005b9f3c36e216627e683afdfde1ebb5b82edb8414a14
DIST entropy-313.tar.bz2 1838575 BLAKE2B 3d8373ab48eef9bce307739078be138451a8f4d6488563241a399ca608a8a56b9a04bc8f013a350a9e276bf56a664fd80bdf6e24f1cf86e29327177073c60352 SHA512 50613650113947626fa7371b912ad3ebd7052a5f491e47ff63acd50d455f50acf7250b49155b0cf313b03cd51c5021c68b38e6dbde0abf87081c8128401d26be
DIST entropy-314.tar.bz2 1839634 BLAKE2B 0c7d9ead542247969c6bd05de62109cb0e913023a248150bec4195d9fedc8e639e11860ead30fbc14be367bc53888a4e5c73138f78a0159f1e4704b0e16b4fd3 SHA512 5f2cf378667294cff951920a632ac559b60aa4b6ff02c0f63d4016d808d21d9952a7c37a1c5d76e7a403fc267a6bfe6bf3998a88e4e799749b5d6e0542921271
DIST entropy-315.tar.bz2 1840293 BLAKE2B bcc7c9e2502917306bbf7069b2d49debbe2fbb8b8a2eee933567e615d2eee4368b78c19f7a40c29f5bb45f77f611730feacb70bf829b893307a2bb1433ce5e9b SHA512 5112629fa9c2c1dbeec2b9e77b5e0fab4e0b622fd26d0d3c04b245d5c4b64b73a1a98048bad880cdb22f2d30adecf6769ac92f387ac478c37bb054b95fcac28d
@@ -0,0 +1,37 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit eutils python-single-r1
DESCRIPTION="Entropy Package Manager notification applet GTK2 frontend"
HOMEPAGE="http://www.sabayon.org"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
S="${WORKDIR}/entropy-${PV}/magneto"
DEPEND="${PYTHON_DEPS}"
RDEPEND="~app-misc/magneto-loader-${PV}[${PYTHON_USEDEP}]
dev-python/notify-python
dev-python/pygtk:2
${DEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_prepare() {
default
python_fix_shebang "${S}"
}
src_install() {
emake DESTDIR="${D}" LIBDIR="usr/lib" magneto-gtk-install
python_optimize "${D}/usr/lib/entropy/magneto/magneto/gtk"
}
+1
View File
@@ -6,3 +6,4 @@ DIST entropy-311.tar.bz2 1830838 BLAKE2B c3b637eaddd24c9e685ae08571947476756dffb
DIST entropy-312.tar.bz2 1834730 BLAKE2B e7dd58144d695921a23bd71e2ce9e0a4e5c5e0d08fe51722046a95d50675f3cb45703fd88a0d5dcadb9fcb51a63fc0bb3c2c26cfff5a6786098b4feac3026d20 SHA512 d11d0e435a3c19dcad190545f069e13f9327d72b8bf12bc29d7d0f8040e1e45e1131af626c732fa8da2005b9f3c36e216627e683afdfde1ebb5b82edb8414a14
DIST entropy-313.tar.bz2 1838575 BLAKE2B 3d8373ab48eef9bce307739078be138451a8f4d6488563241a399ca608a8a56b9a04bc8f013a350a9e276bf56a664fd80bdf6e24f1cf86e29327177073c60352 SHA512 50613650113947626fa7371b912ad3ebd7052a5f491e47ff63acd50d455f50acf7250b49155b0cf313b03cd51c5021c68b38e6dbde0abf87081c8128401d26be
DIST entropy-314.tar.bz2 1839634 BLAKE2B 0c7d9ead542247969c6bd05de62109cb0e913023a248150bec4195d9fedc8e639e11860ead30fbc14be367bc53888a4e5c73138f78a0159f1e4704b0e16b4fd3 SHA512 5f2cf378667294cff951920a632ac559b60aa4b6ff02c0f63d4016d808d21d9952a7c37a1c5d76e7a403fc267a6bfe6bf3998a88e4e799749b5d6e0542921271
DIST entropy-315.tar.bz2 1840293 BLAKE2B bcc7c9e2502917306bbf7069b2d49debbe2fbb8b8a2eee933567e615d2eee4368b78c19f7a40c29f5bb45f77f611730feacb70bf829b893307a2bb1433ce5e9b SHA512 5112629fa9c2c1dbeec2b9e77b5e0fab4e0b622fd26d0d3c04b245d5c4b64b73a1a98048bad880cdb22f2d30adecf6769ac92f387ac478c37bb054b95fcac28d
@@ -0,0 +1,39 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit eutils python-single-r1
DESCRIPTION="Entropy Package Manager notification applet GTK3 frontend"
HOMEPAGE="http://www.sabayon.org"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
S="${WORKDIR}/entropy-${PV}/magneto"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
~app-misc/magneto-loader-${PV}[${PYTHON_USEDEP}]
dev-libs/gobject-introspection
x11-libs/gdk-pixbuf[introspection]
x11-libs/gtk+:3[introspection]
x11-libs/libnotify[introspection]"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_prepare() {
default
python_fix_shebang "${S}"
}
src_install() {
emake DESTDIR="${D}" LIBDIR="usr/lib" magneto-gtk3-install
python_optimize "${D}/usr/lib/entropy/magneto/magneto/gtk3"
}