Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 486806

Summary: app-emacs/yaml-mode-0.0.9 version bump
Product: Gentoo Linux Reporter: Pariksheet Nanda <pariksheet.nanda>
Component: [OLD] LibraryAssignee: Diego Elio Pettenò (RETIRED) <flameeyes>
Status: RESOLVED FIXED    
Severity: normal CC: emacs, pariksheet.nanda
Priority: Normal Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: new ebuild for app-emacs/yaml-mode-0.0.9

Description Pariksheet Nanda 2013-10-02 16:54:05 UTC
See subject. 0.0.9 is available

See news here: https://github.com/yoshiki/yaml-mode/blob/master/Changes
Comment 1 Pariksheet Nanda 2013-10-02 20:41:55 UTC
Created attachment 359996 [details]
new ebuild for app-emacs/yaml-mode-0.0.9

- Fixed URL.
- Now uses vcs-snapshot.
- Bumped EAPI and copyright year.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-10-03 13:20:53 UTC
Comment on attachment 359996 [details]
new ebuild for app-emacs/yaml-mode-0.0.9

--- yaml-mode-0.0.8.ebuild      2012-04-23 22:53:52.000000000 +0200
+++ -   2013-10-03 15:20:34.511206876 +0200
@@ -1,14 +1,14 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/yaml-mode/yaml-mode-0.0.8.ebuild,v 1.3 2012/04/23 20:53:52 ulm Exp $
+# $Header: $
 
-EAPI=4
+EAPI=5
 
-inherit elisp
+inherit elisp vcs-snapshot
 
 DESCRIPTION="A major mode for GNU Emacs for editing YAML files"
 HOMEPAGE="https://github.com/yoshiki/yaml-mode"
-SRC_URI="mirror://github/yoshiki/${PN}/${P}.tar.gz"
+SRC_URI="http://github.com/yoshiki/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
Comment 3 Ulrich Müller gentoo-dev 2013-10-03 14:04:37 UTC
Bumped to 0.0.9, thank you.

(In reply to Pariksheet Nanda from comment #1)
> - Now uses vcs-snapshot.

Not necessary, a simple S="${WORKDIR}/${PN}-release-${PV}" does the job.
Comment 4 Pariksheet Nanda 2013-10-03 14:30:06 UTC
(In reply to Ulrich Müller from comment #3)
> (In reply to Pariksheet Nanda from comment #1)
> > - Now uses vcs-snapshot.
> 
> Not necessary, a simple S="${WORKDIR}/${PN}-release-${PV}" does the job.

Thanks for the correction.  I'm glad to learn GitHub now unpacks into a sane folder; IIRC it used to unpack into something like <username>-<revision_hash> so I got in the habit of using vcs-snapshot.