Github messages for voidlinux
 help / color / mirror / Atom feed
From: toluschr <toluschr@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: mlpack-3.2.2
Date: Fri, 24 Jul 2020 15:28:18 +0200	[thread overview]
Message-ID: <20200724132818.FpywYJoDkYSWUDIzWKVOrF2bE41FYQ2NelmmO_wvGxs@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20154@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 390 bytes --]

There is an updated pull request by toluschr against master on the void-packages repository

https://github.com/toluschr/void-packages add-mlpack
https://github.com/void-linux/void-packages/pull/20154

New package: mlpack-3.2.2
If #20153 gets merged, the `makedepends` variable needs to be changed.

A patch file from https://github.com/void-linux/void-packages/pull/20154.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-add-mlpack-20154.patch --]
[-- Type: text/x-diff, Size: 2362 bytes --]

From e44f48924616e5080202790889a077b78cb6e355 Mon Sep 17 00:00:00 2001
From: toluschr <toluschr@protonmail.com>
Date: Tue, 17 Mar 2020 12:51:36 +0100
Subject: [PATCH] New package: mlpack-3.2.2

---
 common/shlibs           |  1 +
 srcpkgs/libmlpack       |  1 +
 srcpkgs/libmlpack-devel |  1 +
 srcpkgs/mlpack/template | 36 ++++++++++++++++++++++++++++++++++++
 4 files changed, 39 insertions(+)
 create mode 120000 srcpkgs/libmlpack
 create mode 120000 srcpkgs/libmlpack-devel
 create mode 100644 srcpkgs/mlpack/template

diff --git a/common/shlibs b/common/shlibs
index be52293607b..a36efcd613a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2392,6 +2392,7 @@ libsybdb.so.5 freetds-0.95.19_1
 libqqwing.so.2 qqwing-1.3.4_1
 libiniparser.so.1 iniparser-4.1_1
 libzita-resampler.so.1 zita-resampler-1.3.0_1
+libmlpack.so.3 libmlpack-3.2.2_1
 libmlt.so.6 mlt-6.4.1_1
 libmlt++.so.3 mlt-6.4.1_1
 libunibilium.so.4 unibilium-2.0.0_1
diff --git a/srcpkgs/libmlpack b/srcpkgs/libmlpack
new file mode 120000
index 00000000000..1c4d5daaa31
--- /dev/null
+++ b/srcpkgs/libmlpack
@@ -0,0 +1 @@
+mlpack
\ No newline at end of file
diff --git a/srcpkgs/libmlpack-devel b/srcpkgs/libmlpack-devel
new file mode 120000
index 00000000000..1c4d5daaa31
--- /dev/null
+++ b/srcpkgs/libmlpack-devel
@@ -0,0 +1 @@
+mlpack
\ No newline at end of file
diff --git a/srcpkgs/mlpack/template b/srcpkgs/mlpack/template
new file mode 100644
index 00000000000..c98ede50093
--- /dev/null
+++ b/srcpkgs/mlpack/template
@@ -0,0 +1,36 @@
+# Template file for 'mlpack'
+pkgname=mlpack
+version=3.2.2
+revision=1
+build_style=cmake
+hostmakedepends="txt2man"
+makedepends="armadillo-devel boost-devel"
+depends="armadillo boost"
+short_desc="Scalable C++ machine learning library"
+maintainer="toluschr <toluschr@protonmail.com>"
+license="BSD-3-Clause"
+homepage="https://mlpack.org/"
+distfiles="https://github.com/mlpack/mlpack/archive/${version}.tar.gz"
+checksum=9dcdcbd6c1e42a7362ee64adc2afb96241f499590b795a7713c39bb6e83c610a
+
+post_install() {
+	vlicense LICENSE.txt
+}
+
+libmlpack_package() {
+	short_desc+=" - shared libraries"
+
+	pkg_install() {
+		vmove "usr/lib/*.so*"
+	}
+}
+
+libmlpack-devel_package() {
+	short_desc+=" - development files"
+	depends="${makedepends} libmlpack>=${pkgname}_${version}"
+
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.so"
+	}
+}

  parent reply	other threads:[~2020-07-24 13:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20154@inbox.vuxu.org>
2020-03-17 13:19 ` toluschr
2020-07-23 18:49 ` [PR REVIEW] " Chocimier
2020-07-23 18:49 ` Chocimier
2020-07-23 18:49 ` Chocimier
2020-07-24  8:31 ` [PR PATCH] [Updated] " toluschr
2020-07-24 13:28 ` toluschr [this message]
2020-07-27 18:11 ` [PR REVIEW] " Chocimier
2020-07-27 18:59 ` [PR PATCH] [Updated] " toluschr
2020-11-01  2:36 ` ericonr
2020-11-02  6:59 ` Chocimier
2020-11-06  8:01 ` toluschr
2020-11-06  8:01 ` [PR PATCH] [Closed]: " toluschr

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=20200724132818.FpywYJoDkYSWUDIzWKVOrF2bE41FYQ2NelmmO_wvGxs@z \
    --to=toluschr@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /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 NNTP newsgroup(s).