Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 624032 - dev-util/ctags version bump to commit 0645b2c8 from 2017-07-04
Summary: dev-util/ctags version bump to commit 0645b2c8 from 2017-07-04
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2017-07-06 16:45 UTC by Nelo-T. Wallus (ntnn)
Modified: 2017-07-20 22:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Updated ebuild for upstream changes (ctags-20170704.ebuild,1.60 KB, text/plain)
2017-07-06 16:45 UTC, Nelo-T. Wallus (ntnn)
Details
Updated ebuild (ctags-20170704.ebuild,1.85 KB, text/plain)
2017-07-07 06:44 UTC, Nelo-T. Wallus (ntnn)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nelo-T. Wallus (ntnn) 2017-07-06 16:45:04 UTC
Created attachment 481444 [details]
Updated ebuild for upstream changes

Latest ebuild references an unknown commit from 2016-10-28 and pulls a tarball from distfiles.

There is no changelog from upstream available, however some notable resolved issues are:

- Recognizing bash functions without 'function': https://github.com/universal-ctags/ctags/issues/1261
- C parser in 'extern C { }' blocks in Cxx files: https://github.com/universal-ctags/ctags/issues/1299
- Handling of more cases of function pointers: https://github.com/universal-ctags/ctags/pull/1315
- Detection of anonymous structures in C: https://github.com/universal-ctags/ctags/issues/1311

There are a lot more changes, however I'd reckon these already ratify a bumped ebuild.

I'm attaching an ebuild for the state of ~2 days ago with the following changes:

- Introduce variable COMMITHASH, referencing the hash the ebuild uses
- Pull zip from github archives and depend on app-arch/unzip
- Remove automagic-deps patch, the automagic deps have been fixed upstream:
  https://github.com/universal-ctags/ctags/pull/1276
- Remove use of autogen.sh in favour of creating the test-cases Makefile in src_prepare() and autotools.eclass
- Set build directory to the result of the unpack (unzip)
- Keywords set to unstable amd64 and x86, as I only have access to these archs

These changes also make it possible to easily bump to future commits until upstream releases, as only the COMMITHASH variable has to be updated.
Comment 1 Nelo-T. Wallus (ntnn) 2017-07-07 06:44:17 UTC
Created attachment 481490 [details]
Updated ebuild

I've attached an updated ebuild with suggestions from my mentor in spe with the following changes:
- Reinstate all arches of the previous ebuilds, marked as unstable
- Move S variable before src_prepare
Comment 2 Patrice Clement gentoo-dev 2017-07-20 22:05:12 UTC
commit f6e8c8a37a391b32b0906805af08e0426fa4bd66 (HEAD -> master, origin/master, origin/HEAD)
Author:     Patrice Clement <monsieurp@gentoo.org>
AuthorDate: Fri Jul 21 00:04:38 2017 +0200
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: Fri Jul 21 00:04:38 2017 +0200

dev-util/ctags: version bump.

Courtesy of nelo@wallus.de.

Gentoo-Bug: https://bugs.gentoo.org/624032

Package-Manager: Portage-2.3.6, Repoman-2.3.1

dev-util/ctags/Manifest              |  1 +
dev-util/ctags/ctags-20170704.ebuild | 75 ++++++++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
create mode 100644 dev-util/ctags/ctags-20170704.ebuild

Thanks!