public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowitz@cygwin.com>
To: cygwin-apps@cygwin.com
Subject: Re: [ITP] par2
Date: Fri, 25 Sep 2015 21:56:00 -0000	[thread overview]
Message-ID: <1443218201.12368.9.camel@cygwin.com> (raw)
In-Reply-To: <fidb0b5a7dtcskg97dkmj7ksur36pl4tq6@4ax.com>

On Fri, 2015-09-25 at 17:10 -0400, Andrew Schulman wrote:
> I want to package par2 for Cygwin.  par2 is the well-known file verification and
> repair tool, using Reed-Solomon encoding.  It builds OOTB in Cygwin.
> 
> par2.cygport:
> 
> NAME=par2
> VERSION=0.6.14
> RELEASE=1
> SUMMARY="File verification and repair tool"
> DESCRIPTION="par2 is a program for creating and using PAR2 files to detect
> damage in data files and repair them if necessary. It can be used with any kind
> of file."
> CATEGORY="Archive"
> HOMEPAGE="https://github.com/Parchive/par2cmdline"

For future reference, instead of this:

> GIT_URI="https://github.com/Parchive/par2cmdline.git"
> GIT_TAG=v0.6.14
> inherit git

Just do this:

SRC_URI="https://github.com/Parchive/par2cmdline/archive/v${VERSION}/par2cmdline-v${VERSION}.tar.gz"

The same goes for retrieving any other tag in GitHub in the form:

https://github.com/PROJECT/REPO/archive/TAG/REPO-TAG.tar.gz

No need to respin though.  GTG.

--
Yaakov


      reply	other threads:[~2015-09-25 21:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-25 21:10 Andrew Schulman
2015-09-25 21:56 ` Yaakov Selkowitz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1443218201.12368.9.camel@cygwin.com \
    --to=yselkowitz@cygwin.com \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).