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 /sys-apps/paludis |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-apps/paludis')
-rw-r--r-- | sys-apps/paludis/Manifest | 8 | ||||
-rw-r--r-- | sys-apps/paludis/metadata.xml | 17 | ||||
-rw-r--r-- | sys-apps/paludis/paludis-2.6.0.ebuild | 150 | ||||
-rw-r--r-- | sys-apps/paludis/paludis-3.0.0_pre20170219.ebuild | 146 | ||||
-rw-r--r-- | sys-apps/paludis/paludis-9999.ebuild | 145 |
5 files changed, 466 insertions, 0 deletions
diff --git a/sys-apps/paludis/Manifest b/sys-apps/paludis/Manifest new file mode 100644 index 000000000000..5dcff3afe07c --- /dev/null +++ b/sys-apps/paludis/Manifest @@ -0,0 +1,8 @@ +DIST paludis-2.6.0.tar.bz2 1885055 SHA256 bde018c89fce95c2cc793d9171e5a51748ad682d06f839fab394e233257aaf4c SHA512 78a9c0a19703dbbc07934de389b749ab83365454e29b19c323d6c03304162e35ff4d92f7ac1f28067ad853057f2422be43418b3c6a57a193c4b8dd5a4e81eba4 WHIRLPOOL dc4f4ecad0ccbb4b8e6b1b4d0a2c71772b5be244f09dc5456fe42d5510b6b7432ca087f99ae86b2bbbd05b18f70a15371dca1193ead556751faffd01ef227dd6 +DIST paludis-3.0.0_pre20170219.tar.xz 1004380 SHA256 02b9f5e270edc31b967f58615390b3a6c8268ee000d4d1c093aa04651c4e5681 SHA512 46b970c3585aeba1151442256850d4ad1acd28ca911277459d84dfe2fa480c310e5a9cde83baa7f185a76837b84959ec2d01ee9c4f85ba4a9664993b82d61eb6 WHIRLPOOL 8e2384cca652e71bfb5620ed6e6f6b33568342dec1fa2b8403f9074ca83e3a71106de5061cf08240db91fe34d1c779e689bb8057d18a75cabfe641af2d3eb747 +EBUILD paludis-2.6.0.ebuild 3765 SHA256 f2fbe43ec2e715b3b6418325050d8ce855441b2cf3cd0bbc8f3ddaf4a3f0bb99 SHA512 585d750b8e8d6c48f8260acaeee567771adfa12cea0f8bfc7b7b069c280d29fd2d28784856c002f8ba51c3eb4e40835fe86b775cb3a6c35361aec37006ed300c WHIRLPOOL db3926f89b4019fffe8ced33a720fd0d72443751d3b0f11c2b120028b9874d05accbe4d8f9c332b2909bb787351e5abbafdcd42b2c2dbec4e3bad0833452a52e +EBUILD paludis-3.0.0_pre20170219.ebuild 3766 SHA256 85b630a4f1e8dacab093afd56711aea3c26f0864bea12d8c383efd513e7e8968 SHA512 23cf386093f2f0c59d706b8a166550600dfc677e58986636846c0f180ed59629868f2a3d4c73df3d4bad00550ccaa5e22cddcbdfdf8195b9a15665db99cfa365 WHIRLPOOL fad8ae221b5b9be16430851f1e08fa145adc65e3e994cbb68ab2c453164e93f1f1e2606c053a234829d4410a8c77615929745741a0d84d737578b35d4516e582 +EBUILD paludis-9999.ebuild 3621 SHA256 848cd527c5f2d77878796a0de4378ec82b6e937395bfa5f179a6b1948a5cb599 SHA512 0e10e521b42d36c471fc8afaa59c5e7b6d380e32426bbd69f33568af445afdd42a3f0d4cd10c1448b40e7f2bac8783920dc93c5e78e80ca43b234b5fcf071014 WHIRLPOOL aee3869301770a0188744cbd453556af938872af596861887eb278bd9cf754067a5065aeffa84ec04983ce6509b974a82aeafa572164f3426c47151c99801f8a +MISC ChangeLog 5959 SHA256 4018cab68a86f029bccc207bc84b15ae4502823335bc14f8265591f6bd1df0a1 SHA512 6e432a3a695e60a4380daf1741e4fd218fe3fed7a548622f13fc07cfa7b73ead4145c52879f3a722e81050005f2521afad3a036d4541dd7ebf0c623a108564ab WHIRLPOOL 34f5497ed1e1d62cb40c18b07d071a657f79fe94f23bca5037e0e7bb8f33aa3698edfb5b1ef61f30b982e111bfd86bf51f3517a4cf54e47ed88a98bdecb0efb7 +MISC ChangeLog-2015 40901 SHA256 53512c036950cc0304a1714a2a7b116940c4b14057137058e1ba778d0152e98f SHA512 d7e9b4646d3d450bfa8e74690b55cb8f56c1aa4a62d9fe1f3add02819955de39d563cf7878f09b54bce5d188f2cb41e83dd6839cf91205aebbd3322c3e09ae7b WHIRLPOOL 2ebd68e3f12f72b448dc5c71d2fb3529df4e1d7af81bad24844ae5010028340eff8686861d3b61a5f5cd396d157effe6b02832213e776c1efabde3f91ee6423b +MISC metadata.xml 706 SHA256 c45c21c0c85d887b499d8c6b5576ae41c39ac7593c80529d06c61afb962c9e33 SHA512 ab32599364fb289dc43d8dc1574ee472585f014c663d2c80209700596b455e074346ab35e69bd05fee86a451902852790f1bb9dcd37f2118e8e8bc24b90a01ec WHIRLPOOL d35b406e15b8de19ff12cdebc8702e1a482228358b37da2b47f58f43986b895e9097a4f2332e5779051095ebe98aae9efcf43e5ca30851f79e6633a953f43e6e diff --git a/sys-apps/paludis/metadata.xml b/sys-apps/paludis/metadata.xml new file mode 100644 index 000000000000..40fe886164f8 --- /dev/null +++ b/sys-apps/paludis/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> + <use> + <flag name="pbins">Enable binary package support. Adds dependency upon + <pkg>app-arch/libarchive</pkg></flag> + <flag name="pink">Use a less boring colourscheme than the default</flag> + <flag name="search-index">Enable cave search --index. Requires + <pkg>dev-db/sqlite</pkg>.</flag> + <flag name="xml">Build xml things for metadata.xml and GLSA support + (needs <pkg>dev-libs/libxml2</pkg>).</flag> + </use> +</pkgmetadata> diff --git a/sys-apps/paludis/paludis-2.6.0.ebuild b/sys-apps/paludis/paludis-2.6.0.ebuild new file mode 100644 index 000000000000..3b42a102df75 --- /dev/null +++ b/sys-apps/paludis/paludis-2.6.0.ebuild @@ -0,0 +1,150 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +# matching profile defaults for now +RUBY_VER=2.2 + +inherit bash-completion-r1 eutils python-single-r1 user + +DESCRIPTION="paludis, the other package mangler" +HOMEPAGE="http://paludis.exherbo.org/" +SRC_URI="http://paludis.exherbo.org/download/${P}.tar.bz2" + +IUSE="doc pbins pink python ruby ruby_targets_ruby${RUBY_VER/./} search-index test +xml" +LICENSE="GPL-2 vim" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc x86" + +COMMON_DEPEND=" + >=app-admin/eselect-1.2.13 + >=app-shells/bash-3.2:0 + dev-libs/libpcre[cxx] + sys-apps/file + pbins? ( >=app-arch/libarchive-3.1.2 ) + python? ( + ${PYTHON_DEPS} + <dev-libs/boost-1.63[python,${PYTHON_USEDEP}] ) + ruby? ( dev-lang/ruby:${RUBY_VER} ) + search-index? ( >=dev-db/sqlite-3 ) + xml? ( >=dev-libs/libxml2-2.6 )" + +DEPEND="${COMMON_DEPEND} + >=app-text/asciidoc-8.6.3 + app-text/htmltidy + app-text/xmlto + >=sys-devel/gcc-4.7 + doc? ( + app-doc/doxygen + python? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + ruby? ( dev-ruby/syntax[ruby_targets_ruby${RUBY_VER/./}] ) + ) + virtual/pkgconfig + test? ( >=dev-cpp/gtest-1.6.0-r1 )" + +RDEPEND="${COMMON_DEPEND} + sys-apps/sandbox" + +PDEPEND="app-eselect/eselect-package-manager" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) + ruby? ( ruby_targets_ruby${RUBY_VER/./} )" +RESTRICT="!test? ( test )" + +pkg_pretend() { + if [[ ${MERGE_TYPE} != buildonly ]]; then + if id paludisbuild >/dev/null 2>/dev/null ; then + if ! groups paludisbuild | grep --quiet '\<tty\>' ; then + eerror "The 'paludisbuild' user is now expected to be a member of the" + eerror "'tty' group. You should add the user to this group before" + eerror "upgrading Paludis." + die "Please add paludisbuild to tty group" + fi + fi + fi +} + +pkg_setup() { + enewgroup "paludisbuild" + enewuser "paludisbuild" -1 -1 "/var/tmp/paludis" "paludisbuild,tty" + + use python && python-single-r1_pkg_setup +} + +src_prepare() { + # Fix the script shebang on Ruby scripts. + # https://bugs.gentoo.org/show_bug.cgi?id=439372#c2 + sed -i -e "1s/ruby/&${RUBY_VER/./}/" ruby/demos/*.rb || die + + epatch_user +} + +src_configure() { + local myconf=( + --htmldir=/usr/share/doc/${PF}/html + + $(use_enable doc doxygen) + $(use_enable test gtest) + $(use_enable pbins) + $(use_enable pink) + $(use_enable python) + $(use python && use_enable doc python-doc) + $(use_enable ruby) + $(use ruby && use_enable doc ruby-doc) + --with-ruby-version="${RUBY_VER}" + $(use_enable search-index) + $(use_enable xml) + + --enable-vim + --with-config-framework=eselect + --with-environments=default,portage + --with-vim-install-dir=/usr/share/vim/vimfiles + ) + + econf "${myconf[@]}" +} + +src_install() { + default + prune_libtool_files + + dobashcomp bash-completion/cave + + insinto /usr/share/zsh/site-functions + doins zsh-completion/_cave +} + +src_test() { + # Work around Portage bugs + local -x PALUDIS_DO_NOTHING_SANDBOXY="portage sucks" + local -x BASH_ENV=/dev/null + + if [[ ${EUID} == 0 ]] ; then + # hate + local -x PALUDIS_REDUCED_UID=0 + local -x PALUDIS_REDUCED_GID=0 + fi + + if ! nonfatal emake -k check ; then + eerror "Tests failed. Looking for files for you to add to your bug report..." + find "${S}" -type f -name '*.epicfail' -or -name '*.log' | while read a ; do + eerror " $a" + done + die "Make check failed" + fi +} + +pkg_postinst() { + local pm + if [[ -f ${ROOT}/etc/env.d/50package-manager ]] ; then + pm=$( source "${ROOT}"/etc/env.d/50package-manager ; echo "${PACKAGE_MANAGER}" ) + fi + + if [[ ${pm} != paludis ]] ; then + elog "If you are using paludis or cave as your primary package manager," + elog "you should consider running:" + elog " eselect package-manager set paludis" + fi +} diff --git a/sys-apps/paludis/paludis-3.0.0_pre20170219.ebuild b/sys-apps/paludis/paludis-3.0.0_pre20170219.ebuild new file mode 100644 index 000000000000..ce2a66279840 --- /dev/null +++ b/sys-apps/paludis/paludis-3.0.0_pre20170219.ebuild @@ -0,0 +1,146 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +RUBY_VER=2.3 + +inherit bash-completion-r1 cmake-utils python-single-r1 user vcs-snapshot + +DESCRIPTION="paludis, the other package mangler" +HOMEPAGE="http://paludis.exherbo.org/" +SRC_URI="https://git.exherbo.org/paludis/paludis.git/snapshot/paludis-1bbd4440fe4fb82a9ebd61d3f17b9ffa259eb17f.tar.xz + -> ${P}.tar.xz" + +IUSE="doc pbins pink python ruby ruby_targets_ruby${RUBY_VER/./} search-index test +xml" +LICENSE="GPL-2 vim" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + +COMMON_DEPEND=" + >=app-admin/eselect-1.2.13 + >=app-shells/bash-3.2:0 + dev-libs/libpcre:=[cxx] + sys-apps/file:= + pbins? ( >=app-arch/libarchive-3.1.2:= ) + python? ( + ${PYTHON_DEPS} + >=dev-libs/boost-1.41.0:=[python,${PYTHON_USEDEP}] ) + ruby? ( dev-lang/ruby:${RUBY_VER} ) + search-index? ( >=dev-db/sqlite-3:= ) + xml? ( >=dev-libs/libxml2-2.6:= )" + +DEPEND="${COMMON_DEPEND} + app-arch/xz-utils + >=app-text/asciidoc-8.6.3 + app-text/htmltidy + app-text/xmlto + >=sys-devel/gcc-4.7 + doc? ( + app-doc/doxygen + python? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + ruby? ( dev-ruby/syntax[ruby_targets_ruby${RUBY_VER/./}] ) + ) + virtual/pkgconfig + test? ( >=dev-cpp/gtest-1.6.0-r1 )" + +RDEPEND="${COMMON_DEPEND} + sys-apps/sandbox" + +PDEPEND="app-eselect/eselect-package-manager" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) + ruby? ( ruby_targets_ruby${RUBY_VER/./} )" +RESTRICT="!test? ( test )" + +pkg_pretend() { + if [[ ${MERGE_TYPE} != buildonly ]]; then + if id paludisbuild >/dev/null 2>/dev/null ; then + if ! groups paludisbuild | grep --quiet '\<tty\>' ; then + eerror "The 'paludisbuild' user is now expected to be a member of the" + eerror "'tty' group. You should add the user to this group before" + eerror "upgrading Paludis." + die "Please add paludisbuild to tty group" + fi + fi + fi +} + +pkg_setup() { + enewgroup "paludisbuild" + enewuser "paludisbuild" -1 -1 "/var/tmp/paludis" "paludisbuild,tty" + + use python && python-single-r1_pkg_setup +} + +src_prepare() { + # Fix the script shebang on Ruby scripts. + # https://bugs.gentoo.org/show_bug.cgi?id=439372#c2 + sed -i -e "1s/ruby/&${RUBY_VER/./}/" ruby/demos/*.rb || die + + eapply_user +} + +src_configure() { + local mycmakeargs=( + -DENABLE_DOXYGEN=$(usex doc) + -DENABLE_GTEST=$(usex test) + -DENABLE_PBINS=$(usex pbins) + -DENABLE_PYTHON=$(usex python) + -DENABLE_PYTHON_DOCS=$(usex doc) # USE=python implicit + -DENABLE_RUBY=$(usex ruby) + -DENABLE_RUBY_DOCS=$(usex doc) # USE=ruby implicit + -DENABLE_SEARCH_INDEX=$(usex search-index) + -DENABLE_VIM=ON + -DENABLE_XML=$(usex xml) + + -DPALUDIS_COLOUR_PINK=$(usex pink) + -DRUBY_VERSION=${RUBY_VER} + -DPALUDIS_ENVIRONMENTS=all + -DPALUDIS_DEFAULT_DISTRIBUTION=gentoo + -DPALUDIS_CLIENTS=all + -DCONFIG_FRAMEWORK=eselect + + # GNUInstallDirs + -DCMAKE_INSTALL_DOCDIR="${EPREFIX}/usr/share/doc/${PF}" + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + dobashcomp bash-completion/cave + + insinto /usr/share/zsh/site-functions + doins zsh-completion/_cave +} + +src_test() { + # Work around Portage bugs + local -x PALUDIS_DO_NOTHING_SANDBOXY="portage sucks" + local -x BASH_ENV=/dev/null + + if [[ ${EUID} == 0 ]] ; then + # hate + local -x PALUDIS_REDUCED_UID=0 + local -x PALUDIS_REDUCED_GID=0 + fi + + cmake-utils_src_test +} + +pkg_postinst() { + local pm + if [[ -f ${ROOT}/etc/env.d/50package-manager ]] ; then + pm=$( source "${ROOT}"/etc/env.d/50package-manager ; echo "${PACKAGE_MANAGER}" ) + fi + + if [[ ${pm} != paludis ]] ; then + elog "If you are using paludis or cave as your primary package manager," + elog "you should consider running:" + elog " eselect package-manager set paludis" + fi +} diff --git a/sys-apps/paludis/paludis-9999.ebuild b/sys-apps/paludis/paludis-9999.ebuild new file mode 100644 index 000000000000..89cf081c10bc --- /dev/null +++ b/sys-apps/paludis/paludis-9999.ebuild @@ -0,0 +1,145 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_REPO_URI="https://git.exherbo.org/git/paludis/paludis.git" +PYTHON_COMPAT=( python2_7 ) +RUBY_VER=2.3 + +inherit bash-completion-r1 cmake-utils git-r3 python-single-r1 user + +DESCRIPTION="paludis, the other package mangler" +HOMEPAGE="http://paludis.exherbo.org/" +SRC_URI="" + +IUSE="doc pbins pink python ruby ruby_targets_ruby${RUBY_VER/./} search-index test +xml" +LICENSE="GPL-2 vim" +SLOT="0" +KEYWORDS="" + +COMMON_DEPEND=" + >=app-admin/eselect-1.2.13 + >=app-shells/bash-3.2:0 + dev-libs/libpcre:=[cxx] + sys-apps/file:= + pbins? ( >=app-arch/libarchive-3.1.2:= ) + python? ( + ${PYTHON_DEPS} + >=dev-libs/boost-1.41.0:=[python,${PYTHON_USEDEP}] ) + ruby? ( dev-lang/ruby:${RUBY_VER} ) + search-index? ( >=dev-db/sqlite-3:= ) + xml? ( >=dev-libs/libxml2-2.6:= )" + +DEPEND="${COMMON_DEPEND} + >=app-text/asciidoc-8.6.3 + app-text/htmltidy + app-text/xmlto + >=sys-devel/gcc-4.7 + doc? ( + app-doc/doxygen + python? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + ruby? ( dev-ruby/syntax[ruby_targets_ruby${RUBY_VER/./}] ) + ) + virtual/pkgconfig + test? ( >=dev-cpp/gtest-1.6.0-r1 )" + +RDEPEND="${COMMON_DEPEND} + sys-apps/sandbox" + +PDEPEND="app-eselect/eselect-package-manager" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) + ruby? ( ruby_targets_ruby${RUBY_VER/./} )" +RESTRICT="!test? ( test )" + +pkg_pretend() { + if [[ ${MERGE_TYPE} != buildonly ]]; then + if id paludisbuild >/dev/null 2>/dev/null ; then + if ! groups paludisbuild | grep --quiet '\<tty\>' ; then + eerror "The 'paludisbuild' user is now expected to be a member of the" + eerror "'tty' group. You should add the user to this group before" + eerror "upgrading Paludis." + die "Please add paludisbuild to tty group" + fi + fi + fi +} + +pkg_setup() { + enewgroup "paludisbuild" + enewuser "paludisbuild" -1 -1 "/var/tmp/paludis" "paludisbuild,tty" + + use python && python-single-r1_pkg_setup +} + +src_prepare() { + # Fix the script shebang on Ruby scripts. + # https://bugs.gentoo.org/show_bug.cgi?id=439372#c2 + sed -i -e "1s/ruby/&${RUBY_VER/./}/" ruby/demos/*.rb || die + + eapply_user +} + +src_configure() { + local mycmakeargs=( + -DENABLE_DOXYGEN=$(usex doc) + -DENABLE_GTEST=$(usex test) + -DENABLE_PBINS=$(usex pbins) + -DENABLE_PYTHON=$(usex python) + -DENABLE_PYTHON_DOCS=$(usex doc) # USE=python implicit + -DENABLE_RUBY=$(usex ruby) + -DENABLE_RUBY_DOCS=$(usex doc) # USE=ruby implicit + -DENABLE_SEARCH_INDEX=$(usex search-index) + -DENABLE_VIM=ON + -DENABLE_XML=$(usex xml) + + -DPALUDIS_COLOUR_PINK=$(usex pink) + -DRUBY_VERSION=${RUBY_VER} + -DPALUDIS_ENVIRONMENTS=all + -DPALUDIS_DEFAULT_DISTRIBUTION=gentoo + -DPALUDIS_CLIENTS=all + -DCONFIG_FRAMEWORK=eselect + + # GNUInstallDirs + -DCMAKE_INSTALL_DOCDIR="${EPREFIX}/usr/share/doc/${PF}" + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + dobashcomp bash-completion/cave + + insinto /usr/share/zsh/site-functions + doins zsh-completion/_cave +} + +src_test() { + # Work around Portage bugs + local -x PALUDIS_DO_NOTHING_SANDBOXY="portage sucks" + local -x BASH_ENV=/dev/null + + if [[ ${EUID} == 0 ]] ; then + # hate + local -x PALUDIS_REDUCED_UID=0 + local -x PALUDIS_REDUCED_GID=0 + fi + + cmake-utils_src_test +} + +pkg_postinst() { + local pm + if [[ -f ${ROOT}/etc/env.d/50package-manager ]] ; then + pm=$( source "${ROOT}"/etc/env.d/50package-manager ; echo "${PACKAGE_MANAGER}" ) + fi + + if [[ ${pm} != paludis ]] ; then + elog "If you are using paludis or cave as your primary package manager," + elog "you should consider running:" + elog " eselect package-manager set paludis" + fi +} |