Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/nanoblogger/
Date: Sat, 12 Oct 2019 07:01:54
Message-Id: 1570863679.82e1668b35ff7273d9b4184943c119ed045547f5.mgorny@gentoo
1 commit: 82e1668b35ff7273d9b4184943c119ed045547f5
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 12 07:01:19 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 12 07:01:19 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82e1668b
7
8 www-apps/nanoblogger: Drop old (EAPI 0)
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 www-apps/nanoblogger/Manifest | 1 -
13 www-apps/nanoblogger/nanoblogger-3.2.3.ebuild | 63 ---------------------------
14 2 files changed, 64 deletions(-)
15
16 diff --git a/www-apps/nanoblogger/Manifest b/www-apps/nanoblogger/Manifest
17 index 59d3dec6755..c7f74814e0d 100644
18 --- a/www-apps/nanoblogger/Manifest
19 +++ b/www-apps/nanoblogger/Manifest
20 @@ -1,2 +1 @@
21 -DIST nanoblogger-3.2.3.tar.gz 54672 BLAKE2B ab53f85d93d30e0db96d62b0dc5c0f079df1710ebe1b35be0c772d44eb01182617bbdfbbcb9e563861b9122363ee660f685683c54995ad539b8cd9803c29b6a1 SHA512 5cd771d1621a6e5fdb60cf34f294e93596584d7535d4a89a98fd8332c85b58e70715a9bf34e46839a1756a8827f37f998f105ba1e494cabefb780e81f6deb8d7
22 DIST nanoblogger-3.5-rc1.tar.gz 131833 BLAKE2B d5918e406d0b5c6d82b466b43ed84b413fc539651baa568eacbd70b47eae4b382a4f621c8195631b47ef2039d6a4e0b569596a6d601881b195b1db5f7098d90c SHA512 03a590b1bdf3adb9969e2ce6fda89ece99f33def9f46e1028d2c0724a86f47696c703a5a3bb3c4b1c34418b841702a15bae527cc94eba377ee2003203582de2f
23
24 diff --git a/www-apps/nanoblogger/nanoblogger-3.2.3.ebuild b/www-apps/nanoblogger/nanoblogger-3.2.3.ebuild
25 deleted file mode 100644
26 index 559ec0157ce..00000000000
27 --- a/www-apps/nanoblogger/nanoblogger-3.2.3.ebuild
28 +++ /dev/null
29 @@ -1,63 +0,0 @@
30 -# Copyright 1999-2018 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=0
34 -
35 -inherit bash-completion-r1
36 -
37 -DESCRIPTION="Small and simple weblog engine written in Bash for the command-line"
38 -HOMEPAGE="http://nanoblogger.sourceforge.net/"
39 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
40 -
41 -LICENSE="GPL-2"
42 -SLOT="0"
43 -KEYWORDS="~alpha amd64 ~hppa ia64 ~mips ppc x86"
44 -IUSE=""
45 -
46 -RDEPEND="app-shells/bash"
47 -
48 -src_unpack() {
49 - unpack ${A}
50 - cd "${S}"
51 - sed -i \
52 - -e 's|^\(NB_BASE_DIR=\).*$|\1"/usr/share/nanoblogger"|' \
53 - -e 's|"$NB_BASE_DIR/\(nb\.conf\)"|"/etc/\1"|g' \
54 - -e "s|\$NB_BASE_DIR.*\(nano.*html\)|/usr/share/doc/${PF}/html/\1|" \
55 - nb || die "sed nb failed"
56 -}
57 -
58 -src_install() {
59 - dobin nb
60 - insinto /usr/share/nanoblogger
61 - doins -r default moods plugins
62 - insinto /etc
63 - doins nb.conf
64 - dodoc ChangeLog
65 - dohtml docs/nanoblogger.html
66 - dobashcomp "${FILESDIR}"/nb.bashcomp || die
67 -}
68 -
69 -pkg_postinst() {
70 - elog
71 - elog "Documentation for getting started with nanoblogger may be found at"
72 - elog "/usr/share/doc/${PF}/html/nanoblogger.html or by running 'nb --manual;."
73 - elog
74 - elog "To create and configure a new weblog, run the following as your user:"
75 - elog " nb -b /some/dir -a"
76 - elog "where /some/dir is a directory that DOES NOT exist."
77 - elog
78 - elog "To prevent having to specify your blog directory every time you use"
79 - elog "nanoblogger (with the -b switch), you can set a default value in your"
80 - elog "~/.nb.conf. For example:"
81 - elog ' BLOG_DIR="$HOME/public_html/blog"'
82 - elog
83 - elog "If you are upgrading nanoblogger from a previous version, follow"
84 - elog "these directions (as stated in the manual):"
85 - elog " 1. create a new weblog directory using nanoblogger (skip configuration):"
86 - elog " nb [-b blog_dir] -a"
87 - elog " 2. copy old data directry to new weblog:"
88 - elog " cp -r [old_blog_dir]/data [newblog_dir]"
89 - elog " 3. edit new blog.conf to your liking and rebuild weblog:"
90 - elog " nb [-b blog_dir] --configure -u all"
91 - elog
92 -}