From: | "Tom Wijsman (tomwij)" <tomwij@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in www-servers/meteor: meteor-0.5.7.ebuild ChangeLog |
Date: | Fri, 22 Feb 2013 17:31:28 |
Message-Id: | 20130222173125.910842171D@flycatcher.gentoo.org |
1 | tomwij 13/02/22 17:31:25 |
2 | |
3 | Modified: ChangeLog |
4 | Added: meteor-0.5.7.ebuild |
5 | Log: |
6 | Version bump to 0.5.7. |
7 | |
8 | (Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D) |
9 | |
10 | Revision Changes Path |
11 | 1.7 www-servers/meteor/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/meteor/ChangeLog?rev=1.7&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/meteor/ChangeLog?rev=1.7&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/meteor/ChangeLog?r1=1.6&r2=1.7 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/www-servers/meteor/ChangeLog,v |
20 | retrieving revision 1.6 |
21 | retrieving revision 1.7 |
22 | diff -u -r1.6 -r1.7 |
23 | --- ChangeLog 16 Feb 2013 00:14:14 -0000 1.6 |
24 | +++ ChangeLog 22 Feb 2013 17:31:25 -0000 1.7 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for www-servers/meteor |
27 | # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/www-servers/meteor/ChangeLog,v 1.6 2013/02/16 00:14:14 tomwij Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/www-servers/meteor/ChangeLog,v 1.7 2013/02/22 17:31:25 tomwij Exp $ |
30 | + |
31 | +*meteor-0.5.7 (22 Feb 2013) |
32 | + |
33 | + 22 Feb 2013; Tom Wijsman <TomWij@g.o> +meteor-0.5.7.ebuild: |
34 | + Version bump to 0.5.7. |
35 | |
36 | *meteor-0.5.6 (16 Feb 2013) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 www-servers/meteor/meteor-0.5.7.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/meteor/meteor-0.5.7.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/meteor/meteor-0.5.7.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: meteor-0.5.7.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2013 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/www-servers/meteor/meteor-0.5.7.ebuild,v 1.1 2013/02/22 17:31:25 tomwij Exp $ |
51 | |
52 | EAPI=5 |
53 | |
54 | inherit eutils vcs-snapshot |
55 | |
56 | METEOR_BUNDLEV="0.2.19" |
57 | |
58 | DESCRIPTION="An open-source platform for building top-quality web apps in a fraction of the time." |
59 | HOMEPAGE="http://meteor.com/" |
60 | SRC_URI="https://github.com/meteor/meteor/tarball/v${PV} -> ${P}.tar.gz |
61 | x86? ( https://d3sqy0vbqsdhku.cloudfront.net/dev_bundle_Linux_i686_${METEOR_BUNDLEV}.tar.gz -> ${P}_bundle-${METEOR_BUNDLEV}.tar.gz ) |
62 | amd64? ( https://d3sqy0vbqsdhku.cloudfront.net/dev_bundle_Linux_x86_64_${METEOR_BUNDLEV}.tar.gz -> ${P}_bundle-${METEOR_BUNDLEV}.tar.gz )" |
63 | |
64 | LICENSE="AGPL-3 |
65 | Apache-2.0 |
66 | Boost-1.0 |
67 | BSD |
68 | BSD-2 |
69 | CC-BY-SA-2.0 |
70 | HPND |
71 | MIT |
72 | npm |
73 | ODbL-1.0 |
74 | openssl |
75 | public-domain |
76 | Unlicense |
77 | ZLIB || ( BSD-2 GPL-2+ ) |
78 | WTFPL-2" |
79 | SLOT="0" |
80 | KEYWORDS="~amd64 ~x86" |
81 | |
82 | src_prepare() { |
83 | local DEV_BUNDLE_DIR="${WORKDIR}/${P}_bundle-${METEOR_BUNDLEV}" |
84 | |
85 | einfo "Moving development bundle ..." |
86 | mv "${DEV_BUNDLE_DIR}"/* "${DEV_BUNDLE_DIR}"/.bundle_version.txt . || die "Couldn't move development bundle." |
87 | |
88 | einfo "Patching files ..." |
89 | sed -i 's/DEV_BUNDLE=$(dirname "$SCRIPT_DIR")/DEV_BUNDLE="$SCRIPT_DIR"/g' meteor || die "Couldn't patch DEV_BUNDLE script dir." |
90 | sed -i "s/^exports\.CURRENT_VERSION.*/exports.CURRENT_VERSION = \"${PV}-gentoo\";/g" app/lib/updater.js || die "Couldn't add gentoo suffix to version." |
91 | |
92 | einfo "Removing updater since Portage covers this ..." |
93 | epatch "${FILESDIR}"/${PN}-0.5.4.remove_updater.patch |
94 | rm app/meteor/update.js || die "Couldn't remove updater." |
95 | |
96 | # We don't care if these fail, just get rid of them if they exist. |
97 | einfo "Removing unnecessary files ..." |
98 | rm -rf admin |
99 | rm -rf {examples,packages}/*/.meteor/local |
100 | rm -rf examples/unfinished |
101 | } |
102 | |
103 | src_install() { |
104 | dodir /opt/meteor |
105 | |
106 | insinto /opt/meteor |
107 | doins -r * |
108 | doins .bundle_version.txt |
109 | |
110 | dosym /opt/meteor/meteor /usr/bin/meteor |
111 | |
112 | fperms +x /opt/meteor/meteor |
113 | fperms +x /opt/meteor/bin/node |
114 | fperms +x /opt/meteor/mongodb/bin/mongo |
115 | fperms +x /opt/meteor/mongodb/bin/mongod |
116 | } |