~alpine/aports

1

[alpine-aports] [PATCH] testing/git-lfs: new aport

Marian Buschsieweke <marian.buschsieweke@ovgu.de>
Details
Message ID
<20170816165357.2714-1-marian.buschsieweke@ovgu.de>
Sender timestamp
1502902437
DKIM signature
missing
Download raw message
Patch: +27 -0
An open source Git extension for versioning large files
https://git-lfs.github.com/
---
 testing/git-lfs/APKBUILD | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 testing/git-lfs/APKBUILD

diff --git a/testing/git-lfs/APKBUILD b/testing/git-lfs/APKBUILD
new file mode 100644
index 0000000000..e90784d252
--- /dev/null
+++ b/testing/git-lfs/APKBUILD
@@ -0,0 +1,27 @@
# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=git-lfs
pkgver=2.2.1
pkgrel=0
pkgdesc="An open source Git extension for versioning large files"
url="https://git-lfs.github.com/"
arch="all"
license="MIT"
depends="git"
makedepends="go"
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz"
options="!check"

build() {
	cd "$builddir"
	GOPATH="${PWD}" go get -v -d
	GOPATH="${PWD}" go run script/*.go -cmd build
}

package() {
	cd "$builddir"
	install -Dm755 "bin/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}

sha512sums="8e1edd588916e6a09c0fe84bdcd80b8773f3874554f941c65819bbb29cdce4846de6408dbb34b33e420d9bc768f6cd07c2dbb0979d243c98f25a32d4fc69dea4  git-lfs-2.2.1.tar.gz"
-- 
2.14.1



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Details
Message ID
<20170819203356.nebhfnretohfeqtt@francium>
In-Reply-To
<20170816165357.2714-1-marian.buschsieweke@ovgu.de> (view parent)
Sender timestamp
1503174836
DKIM signature
missing
Download raw message
There already is an aport for git-lfs in unmaintained/ I would suggest
moving it from unmaintained/ to testing/ and updating it accordingly.

Besides git-lfs does in fact have a testsuite [0]. Please don't use
`options=!check` and instead add a check() function invoking the test
suite.

[0]: https://github.com/git-lfs/git-lfs/tree/master/test


On 16.08.17, Marian Buschsieweke wrote:
> An open source Git extension for versioning large files
> https://git-lfs.github.com/
> ---
>  testing/git-lfs/APKBUILD | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
>  create mode 100644 testing/git-lfs/APKBUILD
> 
> diff --git a/testing/git-lfs/APKBUILD b/testing/git-lfs/APKBUILD
> new file mode 100644
> index 0000000000..e90784d252
> --- /dev/null
> +++ b/testing/git-lfs/APKBUILD
> @@ -0,0 +1,27 @@
> +# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
> +# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
> +pkgname=git-lfs
> +pkgver=2.2.1
> +pkgrel=0
> +pkgdesc="An open source Git extension for versioning large files"
> +url="https://git-lfs.github.com/"
> +arch="all"
> +license="MIT"
> +depends="git"
> +makedepends="go"
> +subpackages=""
> +source="$pkgname-$pkgver.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz"
> +options="!check"
> +
> +build() {
> +	cd "$builddir"
> +	GOPATH="${PWD}" go get -v -d
> +	GOPATH="${PWD}" go run script/*.go -cmd build
> +}
> +
> +package() {
> +	cd "$builddir"
> +	install -Dm755 "bin/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
> +}
> +
> +sha512sums="8e1edd588916e6a09c0fe84bdcd80b8773f3874554f941c65819bbb29cdce4846de6408dbb34b33e420d9bc768f6cd07c2dbb0979d243c98f25a32d4fc69dea4  git-lfs-2.2.1.tar.gz"
> -- 
> 2.14.1
> 
> 
> 
> ---
> Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
> Help:         alpine-aports+help@lists.alpinelinux.org
> ---
> 

Sören.


---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)