This thread contains a patchset. You're looking at the original emails,
but you may wish to use the patch review UI.
Review patch
1
[PATCH] testing/presto: new aport
https://prestodb.io/docs/current/installation/cli.html
Presto CLI
---
testing/presto/APKBUILD | 28 ++++++++++++++++++++++++++++
testing/presto/presto.post-install | 5 +++++
2 files changed, 33 insertions(+)
create mode 100644 testing/presto/APKBUILD
create mode 100644 testing/presto/presto.post-install
diff --git a/testing/presto/APKBUILD b/testing/presto/APKBUILD
new file mode 100644
index 0000000000..f0fae5407d
--- /dev/null
+++ b/testing/presto/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: suiwenfeng <suiwenfeng@gmail.com>
+# Maintainer: suiwenfeng <suiwenfeng@gmail.com>
+pkgname="presto"
+pkgver="0.232"
+pkgrel=0
+pkgdesc="Presto CLI"
+url="https://prestodb.io/docs/current/installation/cli.html"
+arch="all"
+license="MIT"
+depends="openjdk8-jre"
+install="$pkgname.post-install"
+builddir="$srcdir/"
+
+build() {
+ echo "building success"
+}
+
+check() {
+ echo "checking success"
+}
+
+package() {
+ wget "https://repo1.maven.org/maven2/com/facebook/presto/presto-cli/$pkgver/presto-cli-$pkgver-executable.jar"
+ mkdir -p "$pkgdir/usr/bin"
+ mv "$srcdir/presto-cli-$pkgver-executable.jar" "$pkgdir/usr/bin/presto"
+ sudo chmod +x "$pkgdir/usr/bin/presto"
+}
+
diff --git a/testing/presto/presto.post-install b/testing/presto/presto.post-install
new file mode 100644
index 0000000000..e9d798569d
--- /dev/null
+++ b/testing/presto/presto.post-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+echo -e "please \e[1;31mexport PRESTO_PAGER=more\e[0m before using it"
+
+exit 0
--
2.24.1
Hello suiwenfeng,
This looks like binary package and not source. As such it is not
acceptable for inclusion in Alpine Linux.
--
regards
On Fri, 2020-02-28 at 10:51, suiwenfeng wrote:
> https://prestodb.io/docs/current/installation/cli.html
> Presto CLI
> ---
> testing/presto/APKBUILD | 28 ++++++++++++++++++++++++++++
> testing/presto/presto.post-install | 5 +++++
> 2 files changed, 33 insertions(+)
> create mode 100644 testing/presto/APKBUILD
> create mode 100644 testing/presto/presto.post-install
>
> diff --git a/testing/presto/APKBUILD b/testing/presto/APKBUILD
> new file mode 100644
> index 0000000000..f0fae5407d
> --- /dev/null
> +++ b/testing/presto/APKBUILD
> @@ -0,0 +1,28 @@
> +# Contributor: suiwenfeng <suiwenfeng@gmail.com>
> +# Maintainer: suiwenfeng <suiwenfeng@gmail.com>
> +pkgname="presto"
> +pkgver="0.232"
> +pkgrel=0
> +pkgdesc="Presto CLI"
> +url="https://prestodb.io/docs/current/installation/cli.html"
> +arch="all"
> +license="MIT"
> +depends="openjdk8-jre"
> +install="$pkgname.post-install"
> +builddir="$srcdir/"
> +
> +build() {
> + echo "building success"
> +}
> +
> +check() {
> + echo "checking success"
> +}
> +
> +package() {
> + wget "https://repo1.maven.org/maven2/com/facebook/presto/presto-cli/$pkgver/presto-cli-$pkgver-executable.jar"
> + mkdir -p "$pkgdir/usr/bin"
> + mv "$srcdir/presto-cli-$pkgver-executable.jar" "$pkgdir/usr/bin/presto"
> + sudo chmod +x "$pkgdir/usr/bin/presto"
> +}
> +
> diff --git a/testing/presto/presto.post-install b/testing/presto/presto.post-install
> new file mode 100644
> index 0000000000..e9d798569d
> --- /dev/null
> +++ b/testing/presto/presto.post-install
> @@ -0,0 +1,5 @@
> +#!/bin/sh
> +
> +echo -e "please \e[1;31mexport PRESTO_PAGER=more\e[0m before using it"
> +
> +exit 0
> --
> 2.24.1