diff options
-rw-r--r-- | net-news/newsboat/Manifest | 2 | ||||
-rw-r--r-- | net-news/newsboat/newsboat-2.18.ebuild | 167 |
2 files changed, 169 insertions, 0 deletions
diff --git a/net-news/newsboat/Manifest b/net-news/newsboat/Manifest index 0206bfe64cf9..961f6f49fb93 100644 --- a/net-news/newsboat/Manifest +++ b/net-news/newsboat/Manifest @@ -35,6 +35,7 @@ DIST memchr-2.1.3.crate 20069 BLAKE2B 6afd95538abae42fdb22b82964b64657555734f250 DIST natord-1.0.9.crate 3866 BLAKE2B 8e8f576af50121e7571a1d919557ddc14a3c1511c12154a9cb74fa34cb5c2279406e1ae7ffb120242689e34d4f237d9548631f5a35f4f5d4369bafd8a728fcc6 SHA512 bf58eda54c759fecca1fd310bece370f26555bde1096081adc5bb1e9446a538f1652fb3049a52f898f4f62a2608805b72cb72dd52ff3fc9b88fe0a7c9071025a DIST newsboat-2.13.tar.xz 460076 BLAKE2B e86fd3e3da8336527f3fd53e663f547a6066bfd1659bf83354a01139a9f6481afda893046faa1729cdfe03b19080032c70575cdcfd13b15aad40f2af808e2f6e SHA512 f7ce9717540e1c38809a44d531d28b26d5f9759479d311c127adec1ed6f3f6e8ad68799559ed31e9ecde7a988a683b0c9f58ff10e8dd4b2de60d75b7f8efe3da DIST newsboat-2.17.1.tar.xz 571412 BLAKE2B 2d3f486290e8eb246341a54e634fe0ce7cc946a61be1aed9ba89cb2cc56ac01af9eaafc3c013fbf398b798edb57016dc4d50668652b07a8e1d9e96667daf31e3 SHA512 80d7f575c16dbe2ff833cc3f8553becb05cff69dc51d0de0cbad92682cfe592387d9fe6c2bce8902c80b5cff2fad2dcb12520aae27d48692cc3cb5b18f77a2b2 +DIST newsboat-2.18.tar.xz 577632 BLAKE2B 290f115a2c17b05f9d32f44beab791a65df4e39c944ba88898c2fd1ad387199bbfe02885911a0d824aea7086d1d749aeaf40f9e585c3ea64d22fd8aaad879376 SHA512 63fc7ae45b26d6d5df85c9f2cec826a218aa54de26a9c99cb1d0dd239c885599e8c74bb5c8954d58176abf9c4bf4eb407cab830d2e24f9517e021a2b6b765485 DIST nodrop-0.1.13.crate 7508 BLAKE2B 6918c8ea7f2b84d1a30e8159ac6cf9d061270bf8cf60fb2ee7c96f9d8a5566f1922a3222f80c769fceedd65637d6ee76a4d45b533d5b02aa0decb8114f6cb11a SHA512 2648c0aec970c99f001dbd8169939731610ccff6433acba8c71c669bea5078613b2a785d3ac5ce5a839fcec714b5bc55f2cc83522ab4cc09560c846f4cf8023e DIST nom-4.2.3.crate 115343 BLAKE2B 03c0d1cf97a0d34adab29d6e21add3da7d8eb78ee6b7987ed11b136db7fc6afeca6a8eb91e00aadc1f6047eb7bff55bc288faa8c481e6a4677e0c43512a68f72 SHA512 663567dcc6310ecd6446bab1eb700f4ebe834a3b25bc2a0054edf14bcf205a95128de5f5dfaab04adb95e1a2241d487d59c0e23c957934a0d656e4c51932bd54 DIST num-integer-0.1.39.crate 17881 BLAKE2B 1398b54766719f6fe298fb20489373ef774f1466349bcb96479610c00bb0f6f54b1a794def2841a0bf70558f6e5a080b528071ad5c64baa82bfac084354fa203 SHA512 1e00ef9fe5adcc312b4b8a59923015eb1387d90e6b3d7239b3aabcd83a9e67f2384b3a383d84ce8cdc82a470770f56373a89f0a679727a5fcc8f5bdb1f1209e3 @@ -78,6 +79,7 @@ DIST scopeguard-0.3.3.crate 9605 BLAKE2B 2379e45123c1c6ef456001cccbcec3298d6d32a DIST section_testing-0.0.4.crate 4362 BLAKE2B 45871673e9c610fbdd489a47c2508bc82096aa28c9917903f48012ab57e312a2196171df85cc5a9920564650f8ab5949fcf59fd27b178b4cc8e5baa880165123 SHA512 68ec5c92b92baa8700a1cbab436024db435b5588ba6bb8f568f2fe915ef3d743858ec04e8912d957813fc2e74098d65ad1e86089751624a9fcd8980cc86afeac DIST semver-0.9.0.crate 17344 BLAKE2B ae782bc78f29e45577de8574ee58959c70b54bb0b6f45a5a7b09cc4d358d9a0a80bbefc6e0f2a330e2b55adfbbe5c1f64f4ec9bb94c4adf7bb3e4fc9c142db6c SHA512 03a2ea563456f812c301721c3572370fe4934a22db60079da0dd6ffa33fa789e5e2436ef09e62fc35e0b742b06fabc290992c74eed80419a353c9de9449928dc DIST semver-parser-0.7.0.crate 10268 BLAKE2B e46b7cf9d292f8fc54561fca4df8534dc96f6be920a5c869c405ddb31b9d1a18eab0799207113cf4910a52cc0df5017ab1bc1883a7c3787ebf2d60f09ac0ab4f SHA512 17320468ec6b9862d595f358d70c09ac6e09db7885fe0ead7a1e596f79350a6306e8bfde5bbd6512008a7c5454da1c7ae55fe1e3bc1c1ff02ac9df54c0a6121f +DIST smallvec-0.6.10.crate 22064 BLAKE2B 41a7ccd12c9b7e1dfaf43a9cee22c60d160b35a08024554cf8d68b59498a6e3fcd0e8146815bb61a6e1727b209ec85813127ab8520f8ef47716913a6ce6cd952 SHA512 802b96283ac27ffa71ba17e8676c23f721cc1bd3b61df6f78a1c8ca9150d07e6d5db55651ba070f9202460019f59636871c1160e31038c6bf7ee21cdba8c5be4 DIST smallvec-0.6.8.crate 21448 BLAKE2B 0491237d8bb9d9c89355c6f6538bd962d3eb56ecb6a670a0d94032c4705d34c629b930d9465fef34efc8b4463f5c88b6b849f75306a143d7aca9574da32c9bcf SHA512 0eddd68498a20bb124fd7bf00700c98ca00a58ddfb4e6116aed0d7647b898760c9b46593c96b16bffb86541dd37f04559b75110fb3b520b1b91ad6429250250b DIST syn-0.15.26.crate 145493 BLAKE2B ede140e0184464e765413aa4875a07ab9329de60eba6aa46253d2880032b84a56348060396ffec8a5d81a2aa22c6a6eca73c425778ead21c1c55ffb657cf3718 SHA512 947d70dff83ffd33fda806597d54e572555b54c1600e357df919165fdc7141c6f9762b37f25f9b850e8a7775c33b6df3fc93f3eff12b36b059e696ad90619baa DIST synstructure-0.10.1.crate 17836 BLAKE2B d80745963f581c02a3b9587d45586e2098632a4c21de22547ae97531bbc4f30a1b02989306999c67584c507a5b07978a48f65ad5e00ff55f39e8e0bb4fdbfa8e SHA512 5830eea0eab15c7ed737bfa14c7bbfc73f28af6964ce3148542066fb9760a80dbba82fd9a55078426346ba757e0aaba9addecadb1d0f75eac4f029a6e4c7cc19 diff --git a/net-news/newsboat/newsboat-2.18.ebuild b/net-news/newsboat/newsboat-2.18.ebuild new file mode 100644 index 000000000000..f3bada46ab21 --- /dev/null +++ b/net-news/newsboat/newsboat-2.18.ebuild @@ -0,0 +1,167 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CRATES=" +aho-corasick-0.6.9 +argon2rs-0.2.5 +arrayvec-0.4.10 +autocfg-0.1.2 +backtrace-0.3.13 +backtrace-sys-0.1.28 +bitflags-1.0.4 +bit-set-0.5.1 +bit-vec-0.5.1 +blake2-rfc-0.2.18 +cc-1.0.29 +cfg-if-0.1.6 +chrono-0.4.6 +clap-2.33.0 +cloudabi-0.0.3 +constant_time_eq-0.1.3 +curl-sys-0.4.12 +dirs-1.0.4 +failure-0.1.5 +failure_derive-0.1.5 +fnv-1.0.6 +fuchsia-cprng-0.1.1 +gettext-rs-0.4.1 +gettext-sys-0.19.8 +idna-0.1.5 +kernel32-sys-0.2.2 +lazy_static-0.2.11 +lazy_static-1.2.0 +libc-0.2.48 +libz-sys-1.0.18 +locale_config-0.2.2 +lock_api-0.1.5 +matches-0.1.8 +memchr-2.1.3 +natord-1.0.9 +nodrop-0.1.13 +nom-4.2.3 +num-integer-0.1.39 +num-traits-0.2.6 +once_cell-0.1.8 +openssl-sys-0.9.53 +parking_lot-0.7.1 +parking_lot_core-0.4.0 +percent-encoding-1.0.1 +pkg-config-0.3.14 +proc-macro2-0.4.27 +proptest-0.7.2 +quick-error-1.2.2 +quote-0.6.11 +rand-0.4.6 +rand-0.5.6 +rand-0.6.5 +rand_chacha-0.1.1 +rand_core-0.3.1 +rand_core-0.4.0 +rand_hc-0.1.0 +rand_isaac-0.1.1 +rand_jitter-0.1.3 +rand_os-0.1.2 +rand_pcg-0.1.1 +rand_xorshift-0.1.1 +rdrand-0.4.0 +redox_syscall-0.1.51 +redox_users-0.2.0 +regex-0.2.11 +regex-1.1.0 +regex-syntax-0.4.2 +regex-syntax-0.5.6 +regex-syntax-0.6.5 +remove_dir_all-0.5.1 +rustc-demangle-0.1.13 +rustc_version-0.2.3 +rusty-fork-0.2.1 +scoped_threadpool-0.1.9 +scopeguard-0.3.3 +section_testing-0.0.4 +semver-0.9.0 +semver-parser-0.7.0 +smallvec-0.6.10 +syn-0.15.26 +synstructure-0.10.1 +tempfile-3.0.6 +textwrap-0.11.0 +thread_local-0.3.6 +time-0.1.42 +ucd-util-0.1.3 +unicode-bidi-0.3.4 +unicode-normalization-0.1.8 +unicode-segmentation-1.2.1 +unicode-width-0.1.5 +unicode-xid-0.1.0 +url-1.7.2 +utf8-ranges-1.0.2 +vcpkg-0.2.6 +version_check-0.1.5 +wait-timeout-0.1.5 +winapi-0.2.8 +winapi-0.3.6 +winapi-build-0.1.1 +winapi-i686-pc-windows-gnu-0.4.0 +winapi-x86_64-pc-windows-gnu-0.4.0 +xdg-2.2.0 +" + +inherit toolchain-funcs cargo + +DESCRIPTION="An RSS/Atom feed reader for text terminals" +HOMEPAGE="https://newsboat.org/ https://github.com/newsboat/newsboat" +SRC_URI=" + https://newsboat.org/releases/${PV}/${P}.tar.xz + $(cargo_crate_uris ${CRATES}) +" + +LICENSE="Apache-2.0 BSD-2 CC0-1.0 ISC MIT Unlicense" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="libressl" + +RDEPEND=" + >=dev-db/sqlite-3.5:3 + >=dev-libs/stfl-0.21 + >=net-misc/curl-7.18.0 + >=dev-libs/json-c-0.11:= + dev-libs/libxml2 + sys-libs/ncurses:0=[unicode] +" +DEPEND="${RDEPEND} + app-text/asciidoc + virtual/pkgconfig + sys-devel/gettext + sys-libs/zlib + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-2.11-flags.patch + "${FILESDIR}"/${PN}-2.17.1-libressl.patch +) + +src_configure() { + ./config.sh || die +} + +src_compile() { + export CARGO_HOME="${ECARGO_HOME}" + emake prefix="/usr" CXX="$(tc-getCXX)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" +} + +src_test() { + # tests require UTF-8 locale + emake CXX="$(tc-getCXX)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" test + # Tests fail if in ${S} rather than in ${S}/test + cd "${S}"/test || die + ./test || die +} + +src_install() { + emake DESTDIR="${D}" prefix="/usr" docdir="/usr/share/doc/${PF}" install + einstalldocs +} |