Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

FL-392: update eix, little corrections from upstream

  • Loading branch information...
commit 325879ea6a1edac311c4032a59aefbdfb35145e2 1 parent 90d9f44
@angryvincent angryvincent authored
Showing with 69 additions and 0 deletions.
  1. +1 −0  app-portage/eix/Manifest
  2. +68 −0 app-portage/eix/eix-0.28.2.ebuild
View
1  app-portage/eix/Manifest
@@ -1,3 +1,4 @@
DIST eix-0.23.10.tar.xz 438336 SHA256 6525b65de08dc3c5946f008b57c8027e5725d2bbc0bf5b980afda65ea207b356
DIST eix-0.26.1.tar.xz 496620 SHA256 76ea8fd0a4cba29d34b20d7dc547ea171c2974e6b91885df7afa92a2cb3a69df SHA512 0e43791608a5fd7805ea35e03f9d4372fe06d3c48d8fced65f6e00282177cfda565bbe09b7e0549ea60228782a1973b448b0a60508ab06d2e1e3ba9cf0ec2ee0 WHIRLPOOL ce9efcb4623887eebf764f15696fb489f038df5652516e7fcf9cbfe6cee927493b7a300f5cb566ce9c80b61161da7e45332c14bb3133b3e94a59d0550cb7b38f
DIST eix-0.28.1.tar.xz 529116 SHA256 e021e445ada7a678975f26b81cd621ed200f161605cbf42ea2a5ad83e47ea8c4 SHA512 21d51ff7920e5d028620027edead5b6c274f3e8adc07dfae9aa78ffa9c994db24f161e1f34e229972a350f8b02dd6d92104ae355b274eb60569ce91e28623b1b WHIRLPOOL 7702c5fcc0f11a2cff474bf1a98bbd9752a34c6f228258a9afcdedb6f60e3659c4322336b60de202730a0705ac03874104e740e4ce150c60dbaa6c4d133aafab
+DIST eix-0.28.2.tar.xz 532260 SHA256 47ad2a8acd5de082beaff5068858012c3d692c907933ac11b353be9e41945af8 SHA512 9f05ecd3f7ca40f8a0f9bab1478e6ab379e60fff1739d5459b7ab2b7e25c00169a387deb6209404119b711719d4d969594b3c38a2be91a93ec590c3220fe3997 WHIRLPOOL 17c30eae37c7d5dfaa82121a92d76260a8b2ea9d4dc1ff9957c9971db3668a088d54689bd798c0f4986cdb5c9b36101edf3c05913432c31424067427b0e0693d
View
68 app-portage/eix/eix-0.28.2.ebuild
@@ -0,0 +1,68 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PLOCALES="de ru"
+inherit bash-completion-r1 eutils multilib l10n
+
+DESCRIPTION="Search and query ebuilds, portage incl. local settings, ext. overlays, version changes, and more"
+HOMEPAGE="http://eix.berlios.de"
+SRC_URI="mirror://berlios/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~*"
+IUSE="clang debug +dep doc nls optimization security strong-optimization sqlite tools zsh-completion"
+
+RDEPEND="app-shells/push
+ sqlite? ( >=dev-db/sqlite-3 )
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ clang? ( sys-devel/clang )
+ nls? ( sys-devel/gettext )"
+
+pkg_setup() {
+ case " ${REPLACING_VERSIONS}" in
+ *\ 0.[0-9].*|*\ 0.1[0-9].*|*\ 0.2[0-4].*|*\ 0.25.0*)
+ local eixcache="${EROOT}/var/cache/${PN}"
+ test -f "${eixcache}" && rm -f -- "${eixcache}";;
+ esac
+}
+
+src_prepare() {
+ epatch_user
+ epatch "${FILESDIR}/eix-0.28.1-disable-rsync.patch"
+}
+
+src_configure() {
+ econf $(use_with sqlite) $(use_with doc extra-doc) \
+ $(use_with zsh-completion) \
+ $(use_enable nls) $(use_enable tools separate-tools) \
+ $(use_enable security) $(use_enable optimization) \
+ $(use_enable strong-optimization) $(use_enable debug debugging) \
+ $(use_with prefix always-accept-keywords) \
+ $(use_with dep dep-default) \
+ $(use_with clang nongnu-cxx clang++) \
+ --with-ebuild-sh-default="/usr/$(get_libdir)/portage/bin/ebuild.sh" \
+ --with-portage-rootpath="${ROOTPATH}" \
+ --with-eprefix-default="${EPREFIX}" \
+ --docdir="${EPREFIX}/usr/share/doc/${PF}" \
+ --htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
+}
+
+src_install() {
+ default
+ dobashcomp bash/eix
+ keepdir "/var/cache/${PN}"
+ fowners portage:portage "/var/cache/${PN}"
+ fperms 775 "/var/cache/${PN}"
+}
+
+pkg_postinst() {
+ # fowners in src_install doesn't work for owner/group portage:
+ # merging changes this owner/group back to root.
+ use prefix || chown portage:portage "${EROOT}var/cache/${PN}"
+ local obs="${EROOT}var/cache/eix.previous"
+ ! test -f "${obs}" || ewarn "Found obsolete ${obs}, please remove it"
+}
Please sign in to comment.
Something went wrong with that request. Please try again.