diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-11-03 08:36:22 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-11-03 08:36:22 +0000 |
commit | f65628136faa35d0c4d3b5e7332275c7b35fcd96 (patch) | |
tree | 021998302365c5652e37824b6c26d4d969a62055 /app-office/ledger | |
parent | 70b82ae359a5538711e103b0e8dfb92654296644 (diff) |
gentoo resync : 03.11.2018
Diffstat (limited to 'app-office/ledger')
-rw-r--r-- | app-office/ledger/Manifest | 2 | ||||
-rw-r--r-- | app-office/ledger/ledger-3.1.1-r1.ebuild | 125 | ||||
-rw-r--r-- | app-office/ledger/ledger-3.1.1.ebuild | 134 |
3 files changed, 0 insertions, 261 deletions
diff --git a/app-office/ledger/Manifest b/app-office/ledger/Manifest index 53d56da2c652..17b5379ae1c4 100644 --- a/app-office/ledger/Manifest +++ b/app-office/ledger/Manifest @@ -3,7 +3,5 @@ AUX ledger-3.1.1-boost.patch 774 BLAKE2B e201dbf7d7af357081112518cf6b61516280230 AUX ledger-3.1.1-r1-boost-python.patch 368 BLAKE2B c9a07bfdf02908bab8f20ebc9da5d9dc21c9fa4f8ffe626b8cb71e9e7d10f675eb1541dd845681839965ae387c5ae9a3244c877e1660f55be467cb4183079964 SHA512 5a63031fd5567234d9f12bc0fecb2e5b92da813c7e528c8e042d55b86d1c177acea4aabc94b6058fead2e8c4f835cd213b67531018e17ee805d7975fb71b50a7 DIST de1b48a013b6f4bdf68f7edf333db63a0994ef20.patch 4533 BLAKE2B 39a2ef3b9e6a8e495837376c8a36c9276fbf58bd4ff45a07926e71ca40d65ddb5761e107752247fa2986e63d454e6461bdf0a3bc7bc773db97dcd3027091a841 SHA512 019c862fecb3f3a0682c2f1237ecebec40eafae0b38d6b5d8e56f9829155353569f889dac468ff5b1b2e23f15ae9fe538a0b027f628776f27ea818c12fd1d0b2 DIST ledger-3.1.1.tar.gz 842364 BLAKE2B 83f9008f6daf4da39ece192388e0231719bc7297d2a911f1209662f57d2963b9ea09a5b6de9450ed29c5973efa47d9d6a250e052c155d9ba742cdb3ee075f341 SHA512 3f81b98a414cdfc0e272de4e958770149fb1acc8bda880d270e1459ce35294a220c52820bb9af49a751ac3a80b878f81fc7799ba41e0a1be43eba72081351bf5 -EBUILD ledger-3.1.1-r1.ebuild 2636 BLAKE2B 79c1885af47d053f0a0a5e8f86bc87f7e457095209079ab0bf88d167cb6c9659810b26e3ec14c269e09e309ff3476dcaaf8b3ebef2bc0f49e4c3227748d03112 SHA512 fa6103bb7636ab421c7e805261841d02e1c930fe2a180e7671b87d2d886b289b7d83057d8bd1323e4f3c67ec39bf2fcf1c56d6a0c72ddf4fc15d5c9ff1d5594e EBUILD ledger-3.1.1-r2.ebuild 2831 BLAKE2B 35814c1235e99aaae2a083d95c20a2c97d313d515bcc5fee4a7e3d1ba6b609984f7b1ac1ad3cab41fe01b296cbc93fd7d420ccff6fcf0f4d1bde27d2668f6f54 SHA512 2fea320b118e57575526f83e3f436c4fce0c78e3f73def2e9ea75adf2e692fdd027d97ae5aea014cd3b73e99e389f53931ec9c9dda8fdad81b39f25367ebe9fc -EBUILD ledger-3.1.1.ebuild 3207 BLAKE2B 7a6764868596f6ba5d807a06abb17123a86ecca02e977d5c5f983b41176f6f5a48947acb0e2084459f44615cb52efe5b0669f1304e7bdc7ec7e86a335fd2efb1 SHA512 d8543a0877eb080b97c01eb5306ad2967dab2cf5d522875cc03d07d4b6f899aaa01cb0333e5e0aaba8341939e09207a4f19acfa62c1ea0c1c67d6afd9b413fde MISC metadata.xml 306 BLAKE2B 58c3d0307a4358f50e8ede8ddf3f598a55ad03dd9af3351b4f15a46465a844c24f9d5966ee5fbbcb9a68d65eb509a18a87aa95400094539475f65493e34f1839 SHA512 c83b1be9474bbfa3296040c56bf14e22afd214835a44907bcb4db2a8047f05e1fe49b1d1ebe5bcd72fe5ed2f27c832d20169aa813f0d9bd619fc1f7a1c5e15cb diff --git a/app-office/ledger/ledger-3.1.1-r1.ebuild b/app-office/ledger/ledger-3.1.1-r1.ebuild deleted file mode 100644 index 3618c77570fb..000000000000 --- a/app-office/ledger/ledger-3.1.1-r1.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) - -inherit check-reqs cmake-utils elisp-common python-single-r1 - -DESCRIPTION="A double-entry accounting system with a command-line reporting interface" -HOMEPAGE="https://www.ledger-cli.org/" -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -KEYWORDS="~amd64 ~x86" -SLOT="0" -IUSE="doc emacs python" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" -RESTRICT="test" - -SITEFILE=50${PN}-gentoo-${PV}.el - -CHECKREQS_MEMORY=8G - -RDEPEND=" - dev-libs/boost:=[python?] - dev-libs/gmp:0= - dev-libs/mpfr:0= - emacs? ( virtual/emacs ) - python? ( - dev-libs/boost:=[${PYTHON_USEDEP}] - dev-python/cheetah - ${PYTHON_DEPS} - ) -" -DEPEND=" - ${RDEPEND} - dev-libs/utfcpp - doc? ( - sys-apps/texinfo - virtual/texi2dvi - dev-texlive/texlive-fontsrecommended - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-${PV}-boost.patch" # bug 609108 - "${FILESDIR}/${PF}-boost-python.patch" # bug 654326 - ) - -# Building with python integration seems to fail without 8G available -# RAM(!) Since the memory check in check-reqs doesn't count swap, it -# may be unfair to fail the build entirely on the memory test alone. -# Therefore check-reqs_pkg_pretend is deliberately omitted so that we -# ewarn but not eerror. -pkg_pretend() { - : -} - -pkg_setup() { - if use python; then - check-reqs_pkg_setup - python-single-r1_pkg_setup - fi -} - -src_prepare() { - cmake-utils_src_prepare - - # Want to type "info ledger" not "info ledger3" - sed -i -e 's/ledger3/ledger/g' \ - doc/ledger3.texi \ - doc/CMakeLists.txt \ - test/CheckTexinfo.py \ - tools/cleanup.sh \ - tools/gendocs.sh \ - tools/prepare-commit-msg \ - tools/spellcheck.sh \ - || die "Failed to update info file name in file contents" - - mv doc/ledger{3,}.texi || die "Failed to rename info file name" - - eapply_user -} - -src_configure() { - local mycmakeargs=( - -DBUILD_EMACSLISP="$(usex emacs)" - -DBUILD_DOCS="$(usex doc)" - -DBUILD_WEB_DOCS="$(usex doc)" - -DUSE_PYTHON="$(usex python)" - -DCMAKE_INSTALL_DOCDIR="/usr/share/doc/${PF}" - -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON - ) - - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile - - use doc && cmake-utils_src_make doc -} - -src_install() { - cmake-utils_src_install - - use emacs && elisp-site-file-install "${FILESDIR}/${SITEFILE}" -} - -pkg_postinst() { - use emacs && elisp-site-regen - - einfo - einfo "Since version 3, vim support is released separately." - einfo "See https://github.com/ledger/vim-ledger" - einfo -} - -pkg_postrm() { - use emacs && elisp-site-regen -} - -# rainy day TODO: -# - IUSE test diff --git a/app-office/ledger/ledger-3.1.1.ebuild b/app-office/ledger/ledger-3.1.1.ebuild deleted file mode 100644 index f04a61c0cd2b..000000000000 --- a/app-office/ledger/ledger-3.1.1.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit check-reqs cmake-utils elisp-common python-single-r1 - -DESCRIPTION="A double-entry accounting system with a command-line reporting interface" -HOMEPAGE="https://www.ledger-cli.org/" -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -KEYWORDS="amd64 x86" -SLOT="0" -IUSE="doc emacs python" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -SITEFILE=50${PN}-gentoo-${PV}.el - -CHECKREQS_MEMORY=8G - -RDEPEND=" - dev-libs/boost:=[python?] - dev-libs/gmp:0= - dev-libs/mpfr:0= - emacs? ( virtual/emacs ) - python? ( - dev-libs/boost:=[${PYTHON_USEDEP}] - dev-python/cheetah - ${PYTHON_DEPS} - ) -" -DEPEND=" - ${RDEPEND} - dev-libs/utfcpp - doc? ( - sys-apps/texinfo - virtual/texi2dvi - dev-texlive/texlive-fontsrecommended - ) -" - -PATCHES=( "${FILESDIR}/${P}-boost.patch" ) # bug 609108 - -# Building with python integration seems to fail without 8G available -# RAM(!) Since the memory check in check-reqs doesn't count swap, it -# may be unfair to fail the build entirely on the memory test alone. -# Therefore check-reqs_pkg_pretend is deliberately omitted so that we -# ewarn but not eerror. -pkg_pretend() { - : -} - -pkg_setup() { - if use python; then - check-reqs_pkg_setup - python-single-r1_pkg_setup - fi -} - -src_prepare() { - cmake-utils_src_prepare - - # Want to type "info ledger" not "info ledger3" - sed -i -e 's/ledger3/ledger/g' \ - doc/ledger3.texi \ - doc/CMakeLists.txt \ - test/CheckTexinfo.py \ - tools/cleanup.sh \ - tools/gendocs.sh \ - tools/prepare-commit-msg \ - tools/spellcheck.sh \ - || die "Failed to update info file name in file contents" - - mv doc/ledger{3,}.texi || die "Failed to rename info file name" -} - -src_configure() { - local mycmakeargs=( - $(cmake-utils_use_build emacs EMACSLISP) - $(cmake-utils_use_build doc DOCS) - $(cmake-utils_use_build doc WEB_DOCS) - $(cmake-utils_use_use python PYTHON) - -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF} - ) - - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile - - use doc && cmake-utils_src_make doc -} - -src_install() { - # Prevent installing ledger.so into python site-packages. It's an - # unnecessary copy of libledger.so and generates security warnings. - sed -i -e '/python/d' ../${P}_build/src/cmake_install.cmake \ - || die "Failed to disable installation of ledger.so" - - cmake-utils_src_install - - # This source dir appears to include some helper code for serving - # reports to a browser ("ledger server"). I can't quite get it to - # work and the docs say it's a work-in-progress. It's a little - # interesting, though, so I'll leave these installed as a preview of - # features to come. - if use python; then - mv python ${PN} || die "Couldn't rename python module static files dir" - python_domodule ${PN} - fi - - use emacs && elisp-site-file-install "${FILESDIR}/${SITEFILE}" -} - -pkg_postinst() { - use emacs && elisp-site-regen - - einfo - einfo "Since version 3, vim support is released separately." - einfo "See https://github.com/ledger/vim-ledger" - einfo -} - -pkg_postrm() { - use emacs && elisp-site-regen -} - -# rainy day TODO: -# - IUSE test -# - EAPI=6 |