diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-portage/eix |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-portage/eix')
-rw-r--r-- | app-portage/eix/Manifest | 14 | ||||
-rw-r--r-- | app-portage/eix/eix-0.32.10.ebuild | 112 | ||||
-rw-r--r-- | app-portage/eix/eix-0.32.4.ebuild | 98 | ||||
-rw-r--r-- | app-portage/eix/eix-0.32.5-r1.ebuild | 112 | ||||
-rw-r--r-- | app-portage/eix/eix-0.32.5.ebuild | 101 | ||||
-rw-r--r-- | app-portage/eix/eix-0.32.9.ebuild | 112 | ||||
-rw-r--r-- | app-portage/eix/eix-0.33.0.ebuild | 112 | ||||
-rw-r--r-- | app-portage/eix/metadata.xml | 22 |
8 files changed, 683 insertions, 0 deletions
diff --git a/app-portage/eix/Manifest b/app-portage/eix/Manifest new file mode 100644 index 000000000000..cfb73a67f2d4 --- /dev/null +++ b/app-portage/eix/Manifest @@ -0,0 +1,14 @@ +DIST eix-0.32.10.tar.xz 600120 SHA256 4ecd6ed7e5bb8859c5e5548265e622bffd19800c889d49e75c0bad556830c5da SHA512 cf67889cb54c9b1453b626339038f8bc87ad9de1d3637caa56aa0de0580904cd0061c4d70c2a004e75fdc35e204e640917288a619653edb17ce7c495d20e4c4b WHIRLPOOL 96781b9324be20d081f43acca31ee1dd299ff1feed680346508fee0fba3b735f5b9f1c4b5c309875ffddfc75a7215dbf4f700117fa2afa27da66231635cf1766 +DIST eix-0.32.4.tar.xz 592284 SHA256 8132be9c496b5b19699c50d9aacd49560ca1f0466e3de4f47b896337f3527fc6 SHA512 382181d082648e9b236c3bf54fdf5d75a8575a7994e6a1d3380e80bcc36ff5779c660c5b5fc5f233cef79e48099fc53bb1c8b87e2ca919dcdb43d5fde276f553 WHIRLPOOL 0c8258d36a30a76fec2e7315e07776c277b2f098f6c0fb0a9a182f28827a659c334b190e10c52ea7ec8facd7a6e1f6124b3ffefd3ed2aade6da747e815276737 +DIST eix-0.32.5.tar.xz 595124 SHA256 1ebe07f46800f3f254d1385cd88eba328da9f07cc17731ad1b231a8b13450f6e SHA512 355c0daf81c349ceaa53a7253816a072578923f2044e53c9a8e98ceb9726b238f86f8b1d8ad96bb62851f887e50c1e5e443115dc12fcae7c8bca851caf9b9650 WHIRLPOOL 3b707ebeadc1653917269c81a594469ff2c603e5ad3772d1b19efb9fbd81dcf76b527c9d03975748e9cf0e1f011d1704ecd39f108ea166d78c9bb3be7370ada7 +DIST eix-0.32.9.tar.xz 599072 SHA256 0929581db3282a81a82ab9e17e6522a6517609de96f3a22ab7c081d0c3288edd SHA512 1a7c3d5f371150f5990fe1f1c4cadb0e3ee0a5810011702904aabd58ca250c10f820d6c64e7182096e0b7e2aa001cf573c5f2e83499ceb350cc59b599ec2ca5b WHIRLPOOL d22f2c536baeb2d2204800b6d8600d27c6933b1f89f1b09954fbc2945939d9981d26d8f20f05b066e2edae75dba6db5b41e37273d19d36481946e106699bc95f +DIST eix-0.33.0.tar.xz 610600 SHA256 18e4f195d465a0fbecaf44c49d5ea6e63e14bdafe8aa7d32682f9f369ee648c2 SHA512 6fd4ca253ee908eb192ee35c4228bea0fa8a04030070b35489bddc639053c2e3f6a2faf32f539ffd2c7d9da0c664ff5f29ac0d732d9a47b6c9976a65dd402de2 WHIRLPOOL eb2517a7fde169d2e1359bca0bcea0bd273459af3ec83aff4f34aa7ee5624046ef1e5e91bec63a8ba69ec301d3eb50fabb9a7676501b65dd1137a8f837014c13 +EBUILD eix-0.32.10.ebuild 2941 SHA256 431fa60b9dcfae7d9a372730fa00e2cea9cb79790cd458d217d06a3705516bdf SHA512 ce4660b31445a0bb1b4ff1a4624e0f8db7f6a6ced85a8e3b7109e2bd6dc8244511fa95e4b79d130823917ff810529f9e611e92c5a13dba0c0941e089fa6eb254 WHIRLPOOL a36c91cb65c98fcede5563e3e76a87d827c0a941e850e63034fb0af48848c7e6e6f43df83beac3dfb03d35e2c1dc0cdb72bd7f3f0cd4769c9851e1fb10ea2786 +EBUILD eix-0.32.4.ebuild 2360 SHA256 26b9b757c3e31bd1d7b543e885112645d592e6a823e281fb9f8a9b96aeef7a99 SHA512 1b34e69dcab7ca2851ebb26ede4c73acc3221ce03370935674ac6f399f9005bcb6bed6f40c783d578891ab0ef0056182a94ef1e9bd64743f20e887a31249dc06 WHIRLPOOL 512bda5d7170c6e916815468cdef499a31f10fe6a24ab4674e7c451a3f11396c2d5ed1b3ad6d313f1433e068c57a9ff916bbe76fa94f867ec24c88cc3e73ee78 +EBUILD eix-0.32.5-r1.ebuild 2941 SHA256 431fa60b9dcfae7d9a372730fa00e2cea9cb79790cd458d217d06a3705516bdf SHA512 ce4660b31445a0bb1b4ff1a4624e0f8db7f6a6ced85a8e3b7109e2bd6dc8244511fa95e4b79d130823917ff810529f9e611e92c5a13dba0c0941e089fa6eb254 WHIRLPOOL a36c91cb65c98fcede5563e3e76a87d827c0a941e850e63034fb0af48848c7e6e6f43df83beac3dfb03d35e2c1dc0cdb72bd7f3f0cd4769c9851e1fb10ea2786 +EBUILD eix-0.32.5.ebuild 2454 SHA256 affb1e42e44c972dd070af11bbf9a68394e6c8fe8f3d5869b764978d3e00a6e5 SHA512 248caf260d7f06375eca2a60debc9427326623496a90c321a5f33b141b247c2d660345dfd3aa60473003e02d9e86ba78f14c91c19576f742d700aa7f7dd207c0 WHIRLPOOL 33c8f33093b4c6268f50e044e5ac987cad5b2654a6f2b65edbdb1c13f9b1ab0d384565491bc28a5a59b611b686257789810896818f57d743954f70f73552ced9 +EBUILD eix-0.32.9.ebuild 2937 SHA256 0adbf6b21cc3217c2cf567e9d06ab4a6cd0217fce09ca37ffceaa7ae9f5e64c3 SHA512 6851d0e1708beffaec5e0685d885a0d3d46e93b9bee25a291fb26b6c6837a8003e34c41904218f3af44e50f0fe37c99de4802c0a7909b615264aa3e079cbf1ff WHIRLPOOL e0e7c24899162488df59f74179eb142012968dbca54e7864ff803f3a3b66cb47d6a69c13bf77b029d476f528666e59cc55eaabfbf5c48700dc61003129fed449 +EBUILD eix-0.33.0.ebuild 2949 SHA256 008c1e3ecce8d8034f2b25ad24e3498c166c365c777eeb2de20fad6ebf0080ac SHA512 fdd98d866bafe7c64feecfd4dae28eac41bf4038e2e4db7bfd2b7bb5de2ec33a822df14f73e1bbbc84ba3e0d0a22e8592a2fa607f552d36c9267caeb227e2da8 WHIRLPOOL 0936e2a483dd6bf05097a5124826580af4684c5dcd300fd10b19656ad406fd24c07ace2b2da776076ca8c488f465f74a895386ec2f4c8a4bfec5759013b9ff76 +MISC ChangeLog 9770 SHA256 4b50e3176529311b7210564458969cfe7e9bcccbb476d012507a1b01dcce5d6c SHA512 fb26b4781f4a4af63619763afd097566190545b48a81e737e58ea7aab41f12b4bf8e9e713f4302bea29f3779626cf172f5f3713546a51c39ae14f52faef84da5 WHIRLPOOL c3b7f92c57f9b21cf095f867406895c29de2e5f3ab72a4afeb53994d2a75e3c72ab27239b45fa4fc91373f9bdd5e1c8968ec53fa9f1870932992a75bd51424e6 +MISC ChangeLog-2015 62879 SHA256 dd3e3360c5a6ff69ddc4ebd0263adcbde4b4c72d130ba57b2ae304af40f62c09 SHA512 d6f1888e8cc75bccd6609c062689c64d978458b4bd9056a9297016d1419752f65cc19f7c175d0d0ffe4d7ddfbd3bb22b668717f073525a18cd6c136f9e000f46 WHIRLPOOL 4bb43b05071475173f9bc3afa4d7bfef3ad434c0a8ae9de21d8e9aa78272730c83dc21789aecaf886491aa1c5dbcd93b4a5213b6c83b7124b823225bd4b17c10 +MISC metadata.xml 933 SHA256 f46c9806d9a2a4dffe59f1340a0253a56118c509c5338a6d2c2c4bebf51b1db0 SHA512 e5272580ca0631bcb1150f8a879150e8ae9c90948b3c90ef8ee42631e7345b99c2a6db64ce199a02e86f83ede5f8b41134d50136746d836fe68ae97429a6b550 WHIRLPOOL e5b8206377b7f671b9e65f47e67d91774d667cb93e42336f5fe6cfa5e1f302a5ba7537e96bb40b96a6926bfeec2f075e1b42f53d7d6e938f5702ddb627e3ea57 diff --git a/app-portage/eix/eix-0.32.10.ebuild b/app-portage/eix/eix-0.32.10.ebuild new file mode 100644 index 000000000000..2026b44a4b15 --- /dev/null +++ b/app-portage/eix/eix-0.32.10.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PLOCALES="de ru" +inherit autotools bash-completion-r1 l10n systemd flag-o-matic + +DESCRIPTION="Search and query ebuilds" +HOMEPAGE="https://github.com/vaeth/eix/" +SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="debug doc nls sqlite" + +BOTHDEPEND="nls? ( virtual/libintl ) + sqlite? ( >=dev-db/sqlite-3:= )" +RDEPEND="${BOTHDEPEND} + >=app-shells/push-2.0-r1 + >=app-shells/quoter-3.0_p2-r1" +DEPEND="${BOTHDEPEND} + app-arch/xz-utils + nls? ( sys-devel/gettext )" + +pkg_setup() { + # remove stale cache file to prevent collisions + local old_cache=${EROOT%/}/var/cache/${PN} + if [[ -f ${old_cache} ]]; then + rm "${old_cache}" || die + fi +} + +src_prepare() { + default + sed -i -e "s:/:${EPREFIX}/:" tmpfiles.d/eix.conf || die + + sed -e "/eixf_source=/s:push.sh:cat \"${EROOT}usr/share/push/push.sh\":" \ + -e "/eixf_source=/s:quoter_pipe.sh:cat \"${EROOT}usr/share/quoter/quoter_pipe.sh\":" \ + -i src/eix-functions.sh.in || die + sed -e "s:'\$(bindir)/eix-functions.sh':cat \\\\\"${EROOT}usr/share/eix/eix-functions.sh\\\\\":" \ + -i src/Makefile.am || die + eautoreconf +} + +src_configure() { + local myconf=( + $(use_enable debug paranoicasserts) + $(use_enable nls) + $(use_with doc extra-doc) + $(use_with sqlite) + + # default configuration + $(use_with prefix always-accept-keywords) + --with-dep-default + --with-required-use-default + + # paths + --with-portage-rootpath="${ROOTPATH}" + --with-eprefix-default="${EPREFIX}" + + # build a single executable with symlinks + --disable-separate-binaries + --disable-separate-tools + + # used purely to control/disrespect *FLAGS + --disable-debugging + --disable-new_dialect + --disable-optimization + --disable-strong-optimization + --disable-security + --disable-nopie-security + --disable-strong-security + ) + + # https://github.com/vaeth/eix/issues/35 + append-cxxflags -std=c++11 + + econf "${myconf[@]}" +} + +src_install() { + default + dobashcomp bash/eix + systemd_dotmpfilesd tmpfiles.d/eix.conf + + insinto /usr/share/${PN} + doins "${ED}"/usr/bin/eix-functions.sh + rm -r "${ED}"/usr/bin/eix-functions.sh || die + + keepdir /var/cache/eix +} + +pkg_postinst() { + if ! use prefix; then + # note: if this is done in src_install(), portage:portage + # ownership may be reset to root + chown portage:portage "${EROOT%/}"/var/cache/eix || die + fi + + local obs=${EROOT%/}/var/cache/eix.previous + if [[ -f ${obs} ]]; then + ewarn "Found obsolete ${obs}, please remove it" + fi +} + +pkg_postrm() { + if [[ ! -n ${REPLACED_BY_VERSION} ]]; then + rm -rf "${EROOT%/}/var/cache/${PN}" || die + fi +} diff --git a/app-portage/eix/eix-0.32.4.ebuild b/app-portage/eix/eix-0.32.4.ebuild new file mode 100644 index 000000000000..9f51156cf926 --- /dev/null +++ b/app-portage/eix/eix-0.32.4.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PLOCALES="de ru" +inherit bash-completion-r1 l10n systemd + +DESCRIPTION="Search and query ebuilds" +HOMEPAGE="https://github.com/vaeth/eix/" +SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="debug doc nls sqlite" + +BOTHDEPEND="nls? ( virtual/libintl ) + sqlite? ( >=dev-db/sqlite-3:= )" +RDEPEND="${BOTHDEPEND} + =app-shells/push-2.0 + =app-shells/quoter-3.0_p2" +DEPEND="${BOTHDEPEND} + app-arch/xz-utils + nls? ( sys-devel/gettext )" + +pkg_setup() { + # remove stale cache file to prevent collisions + local old_cache=${EROOT%/}/var/cache/${PN} + if [[ -f ${old_cache} ]]; then + rm "${old_cache}" || die + fi +} + +src_prepare() { + default + sed -i -e "s:/:${EPREFIX}/:" tmpfiles.d/eix.conf || die +} + +src_configure() { + local myconf=( + $(use_enable debug paranoicasserts) + $(use_enable nls) + $(use_with doc extra-doc) + $(use_with sqlite) + + # default configuration + $(use_with prefix always-accept-keywords) + --with-dep-default + --with-required-use-default + + # paths + --with-portage-rootpath="${ROOTPATH}" + --with-eprefix-default="${EPREFIX}" + + # build a single executable with symlinks + --disable-separate-binaries + --disable-separate-tools + + # used purely to control/disrespect *FLAGS + --disable-debugging + --disable-new_dialect + --disable-optimization + --disable-strong-optimization + --disable-security + --disable-nopie-security + --disable-strong-security + ) + + econf "${myconf[@]}" +} + +src_install() { + default + dobashcomp bash/eix + systemd_dotmpfilesd tmpfiles.d/eix.conf + + keepdir /var/cache/eix +} + +pkg_postinst() { + if ! use prefix; then + # note: if this is done in src_install(), portage:portage + # ownership may be reset to root + chown portage:portage "${EROOT%/}"/var/cache/eix || die + fi + + local obs=${EROOT%/}/var/cache/eix.previous + if [[ -f ${obs} ]]; then + ewarn "Found obsolete ${obs}, please remove it" + fi +} + +pkg_postrm() { + if [[ ! -n ${REPLACED_BY_VERSION} ]]; then + rm -rf "${EROOT%/}/var/cache/${PN}" || die + fi +} diff --git a/app-portage/eix/eix-0.32.5-r1.ebuild b/app-portage/eix/eix-0.32.5-r1.ebuild new file mode 100644 index 000000000000..2026b44a4b15 --- /dev/null +++ b/app-portage/eix/eix-0.32.5-r1.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PLOCALES="de ru" +inherit autotools bash-completion-r1 l10n systemd flag-o-matic + +DESCRIPTION="Search and query ebuilds" +HOMEPAGE="https://github.com/vaeth/eix/" +SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="debug doc nls sqlite" + +BOTHDEPEND="nls? ( virtual/libintl ) + sqlite? ( >=dev-db/sqlite-3:= )" +RDEPEND="${BOTHDEPEND} + >=app-shells/push-2.0-r1 + >=app-shells/quoter-3.0_p2-r1" +DEPEND="${BOTHDEPEND} + app-arch/xz-utils + nls? ( sys-devel/gettext )" + +pkg_setup() { + # remove stale cache file to prevent collisions + local old_cache=${EROOT%/}/var/cache/${PN} + if [[ -f ${old_cache} ]]; then + rm "${old_cache}" || die + fi +} + +src_prepare() { + default + sed -i -e "s:/:${EPREFIX}/:" tmpfiles.d/eix.conf || die + + sed -e "/eixf_source=/s:push.sh:cat \"${EROOT}usr/share/push/push.sh\":" \ + -e "/eixf_source=/s:quoter_pipe.sh:cat \"${EROOT}usr/share/quoter/quoter_pipe.sh\":" \ + -i src/eix-functions.sh.in || die + sed -e "s:'\$(bindir)/eix-functions.sh':cat \\\\\"${EROOT}usr/share/eix/eix-functions.sh\\\\\":" \ + -i src/Makefile.am || die + eautoreconf +} + +src_configure() { + local myconf=( + $(use_enable debug paranoicasserts) + $(use_enable nls) + $(use_with doc extra-doc) + $(use_with sqlite) + + # default configuration + $(use_with prefix always-accept-keywords) + --with-dep-default + --with-required-use-default + + # paths + --with-portage-rootpath="${ROOTPATH}" + --with-eprefix-default="${EPREFIX}" + + # build a single executable with symlinks + --disable-separate-binaries + --disable-separate-tools + + # used purely to control/disrespect *FLAGS + --disable-debugging + --disable-new_dialect + --disable-optimization + --disable-strong-optimization + --disable-security + --disable-nopie-security + --disable-strong-security + ) + + # https://github.com/vaeth/eix/issues/35 + append-cxxflags -std=c++11 + + econf "${myconf[@]}" +} + +src_install() { + default + dobashcomp bash/eix + systemd_dotmpfilesd tmpfiles.d/eix.conf + + insinto /usr/share/${PN} + doins "${ED}"/usr/bin/eix-functions.sh + rm -r "${ED}"/usr/bin/eix-functions.sh || die + + keepdir /var/cache/eix +} + +pkg_postinst() { + if ! use prefix; then + # note: if this is done in src_install(), portage:portage + # ownership may be reset to root + chown portage:portage "${EROOT%/}"/var/cache/eix || die + fi + + local obs=${EROOT%/}/var/cache/eix.previous + if [[ -f ${obs} ]]; then + ewarn "Found obsolete ${obs}, please remove it" + fi +} + +pkg_postrm() { + if [[ ! -n ${REPLACED_BY_VERSION} ]]; then + rm -rf "${EROOT%/}/var/cache/${PN}" || die + fi +} diff --git a/app-portage/eix/eix-0.32.5.ebuild b/app-portage/eix/eix-0.32.5.ebuild new file mode 100644 index 000000000000..2f449772fab8 --- /dev/null +++ b/app-portage/eix/eix-0.32.5.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PLOCALES="de ru" +inherit bash-completion-r1 l10n systemd flag-o-matic + +DESCRIPTION="Search and query ebuilds" +HOMEPAGE="https://github.com/vaeth/eix/" +SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="debug doc nls sqlite" + +BOTHDEPEND="nls? ( virtual/libintl ) + sqlite? ( >=dev-db/sqlite-3:= )" +RDEPEND="${BOTHDEPEND} + =app-shells/push-2.0 + =app-shells/quoter-3.0_p2" +DEPEND="${BOTHDEPEND} + app-arch/xz-utils + nls? ( sys-devel/gettext )" + +pkg_setup() { + # remove stale cache file to prevent collisions + local old_cache=${EROOT%/}/var/cache/${PN} + if [[ -f ${old_cache} ]]; then + rm "${old_cache}" || die + fi +} + +src_prepare() { + default + sed -i -e "s:/:${EPREFIX}/:" tmpfiles.d/eix.conf || die +} + +src_configure() { + local myconf=( + $(use_enable debug paranoicasserts) + $(use_enable nls) + $(use_with doc extra-doc) + $(use_with sqlite) + + # default configuration + $(use_with prefix always-accept-keywords) + --with-dep-default + --with-required-use-default + + # paths + --with-portage-rootpath="${ROOTPATH}" + --with-eprefix-default="${EPREFIX}" + + # build a single executable with symlinks + --disable-separate-binaries + --disable-separate-tools + + # used purely to control/disrespect *FLAGS + --disable-debugging + --disable-new_dialect + --disable-optimization + --disable-strong-optimization + --disable-security + --disable-nopie-security + --disable-strong-security + ) + + # https://github.com/vaeth/eix/issues/35 + append-cxxflags -std=c++11 + + econf "${myconf[@]}" +} + +src_install() { + default + dobashcomp bash/eix + systemd_dotmpfilesd tmpfiles.d/eix.conf + + keepdir /var/cache/eix +} + +pkg_postinst() { + if ! use prefix; then + # note: if this is done in src_install(), portage:portage + # ownership may be reset to root + chown portage:portage "${EROOT%/}"/var/cache/eix || die + fi + + local obs=${EROOT%/}/var/cache/eix.previous + if [[ -f ${obs} ]]; then + ewarn "Found obsolete ${obs}, please remove it" + fi +} + +pkg_postrm() { + if [[ ! -n ${REPLACED_BY_VERSION} ]]; then + rm -rf "${EROOT%/}/var/cache/${PN}" || die + fi +} diff --git a/app-portage/eix/eix-0.32.9.ebuild b/app-portage/eix/eix-0.32.9.ebuild new file mode 100644 index 000000000000..5d9d774ac772 --- /dev/null +++ b/app-portage/eix/eix-0.32.9.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PLOCALES="de ru" +inherit autotools bash-completion-r1 l10n systemd flag-o-matic + +DESCRIPTION="Search and query ebuilds" +HOMEPAGE="https://github.com/vaeth/eix/" +SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="debug doc nls sqlite" + +BOTHDEPEND="nls? ( virtual/libintl ) + sqlite? ( >=dev-db/sqlite-3:= )" +RDEPEND="${BOTHDEPEND} + >=app-shells/push-2.0-r1 + >=app-shells/quoter-3.0_p2-r1" +DEPEND="${BOTHDEPEND} + app-arch/xz-utils + nls? ( sys-devel/gettext )" + +pkg_setup() { + # remove stale cache file to prevent collisions + local old_cache=${EROOT%/}/var/cache/${PN} + if [[ -f ${old_cache} ]]; then + rm "${old_cache}" || die + fi +} + +src_prepare() { + default + sed -i -e "s:/:${EPREFIX}/:" tmpfiles.d/eix.conf || die + + sed -e "/eixf_source=/s:push.sh:cat \"${EROOT}usr/share/push/push.sh\":" \ + -e "/eixf_source=/s:quoter_pipe.sh:cat \"${EROOT}usr/share/quoter/quoter_pipe.sh\":" \ + -i src/eix-functions.sh.in || die + sed -e "s:'\$(bindir)/eix-functions.sh':cat \\\\\"${EROOT}usr/share/eix/eix-functions.sh\\\\\":" \ + -i src/Makefile.am || die + eautoreconf +} + +src_configure() { + local myconf=( + $(use_enable debug paranoicasserts) + $(use_enable nls) + $(use_with doc extra-doc) + $(use_with sqlite) + + # default configuration + $(use_with prefix always-accept-keywords) + --with-dep-default + --with-required-use-default + + # paths + --with-portage-rootpath="${ROOTPATH}" + --with-eprefix-default="${EPREFIX}" + + # build a single executable with symlinks + --disable-separate-binaries + --disable-separate-tools + + # used purely to control/disrespect *FLAGS + --disable-debugging + --disable-new_dialect + --disable-optimization + --disable-strong-optimization + --disable-security + --disable-nopie-security + --disable-strong-security + ) + + # https://github.com/vaeth/eix/issues/35 + append-cxxflags -std=c++11 + + econf "${myconf[@]}" +} + +src_install() { + default + dobashcomp bash/eix + systemd_dotmpfilesd tmpfiles.d/eix.conf + + insinto /usr/share/${PN} + doins "${ED}"/usr/bin/eix-functions.sh + rm -r "${ED}"/usr/bin/eix-functions.sh || die + + keepdir /var/cache/eix +} + +pkg_postinst() { + if ! use prefix; then + # note: if this is done in src_install(), portage:portage + # ownership may be reset to root + chown portage:portage "${EROOT%/}"/var/cache/eix || die + fi + + local obs=${EROOT%/}/var/cache/eix.previous + if [[ -f ${obs} ]]; then + ewarn "Found obsolete ${obs}, please remove it" + fi +} + +pkg_postrm() { + if [[ ! -n ${REPLACED_BY_VERSION} ]]; then + rm -rf "${EROOT%/}/var/cache/${PN}" || die + fi +} diff --git a/app-portage/eix/eix-0.33.0.ebuild b/app-portage/eix/eix-0.33.0.ebuild new file mode 100644 index 000000000000..ecc62a0a6c0d --- /dev/null +++ b/app-portage/eix/eix-0.33.0.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PLOCALES="de ru" +inherit autotools bash-completion-r1 l10n systemd flag-o-matic + +DESCRIPTION="Search and query ebuilds" +HOMEPAGE="https://github.com/vaeth/eix/" +SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="debug doc nls sqlite" + +BOTHDEPEND="nls? ( virtual/libintl ) + sqlite? ( >=dev-db/sqlite-3:= )" +RDEPEND="${BOTHDEPEND} + >=app-shells/push-2.0-r1 + >=app-shells/quoter-3.0_p2-r1" +DEPEND="${BOTHDEPEND} + app-arch/xz-utils + nls? ( sys-devel/gettext )" + +pkg_setup() { + # remove stale cache file to prevent collisions + local old_cache=${EROOT%/}/var/cache/${PN} + if [[ -f ${old_cache} ]]; then + rm "${old_cache}" || die + fi +} + +src_prepare() { + default + sed -i -e "s:/:${EPREFIX}/:" tmpfiles.d/eix.conf || die + + sed -e "/eixf_source=/s:push.sh:cat \"${EROOT}usr/share/push/push.sh\":" \ + -e "/eixf_source=/s:quoter_pipe.sh:cat \"${EROOT}usr/share/quoter/quoter_pipe.sh\":" \ + -i src/eix-functions.sh.in || die + sed -e "s:'\$(bindir)/eix-functions.sh':cat \\\\\"${EROOT}usr/share/eix/eix-functions.sh\\\\\":" \ + -i src/Makefile.am || die + eautoreconf +} + +src_configure() { + local myconf=( + $(use_enable debug paranoic-assertsasserts) + $(use_enable nls) + $(use_with doc extra-doc) + $(use_with sqlite) + + # default configuration + $(use_with prefix always-accept-keywords) + --with-dep-default + --with-required-use-default + + # paths + --with-portage-rootpath="${ROOTPATH}" + --with-eprefix-default="${EPREFIX}" + + # build a single executable with symlinks + --disable-separate-binaries + --disable-separate-tools + + # used purely to control/disrespect *FLAGS + --disable-debugging + --disable-new_dialect + --disable-optimization + --disable-strong-optimization + --disable-security + --disable-nopie-security + --disable-strong-security + ) + + # https://github.com/vaeth/eix/issues/35 + append-cxxflags -std=c++11 + + econf "${myconf[@]}" +} + +src_install() { + default + dobashcomp bash/eix + systemd_dotmpfilesd tmpfiles.d/eix.conf + + insinto /usr/share/${PN} + doins "${ED}"/usr/bin/eix-functions.sh + rm -r "${ED}"/usr/bin/eix-functions.sh || die + + keepdir /var/cache/eix +} + +pkg_postinst() { + if ! use prefix; then + # note: if this is done in src_install(), portage:portage + # ownership may be reset to root + chown portage:portage "${EROOT%/}"/var/cache/eix || die + fi + + local obs=${EROOT%/}/var/cache/eix.previous + if [[ -f ${obs} ]]; then + ewarn "Found obsolete ${obs}, please remove it" + fi +} + +pkg_postrm() { + if [[ ! -n ${REPLACED_BY_VERSION} ]]; then + rm -rf "${EROOT%/}/var/cache/${PN}" || die + fi +} diff --git a/app-portage/eix/metadata.xml b/app-portage/eix/metadata.xml new file mode 100644 index 000000000000..f07795f51987 --- /dev/null +++ b/app-portage/eix/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>xmw@gentoo.org</email> + <name>Michael Weber</name> + </maintainer> + <maintainer type="person"> + <email>martin@mvath.de</email> + <name>Martin Väth</name> + <description>Upstream developer, CC on bugs, do not copy ebuilds + from his overlay</description> + </maintainer> + <use> + <flag name="debug">Build with upstream's CXXFLAGS/LDFLAGS for debugging support; not recommended for normal use.</flag> + <flag name="doc">Create description of the eix cache file additionally in html format</flag> + <flag name="sqlite">Compile in support for portage's sqlite backend; to actually use it you need additional configuration of portage and eix</flag> + </use> + <upstream> + <remote-id type="github">vaeth/eix</remote-id> + </upstream> +</pkgmetadata> |