From: pandom79 <pandom79@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package : python-dlib-19.20.0
Date: Sat, 11 Jul 2020 18:31:02 +0200 [thread overview]
Message-ID: <20200711163102.u1VaQoaN7W9HbBRskTdd8IYwcDoqktPDRVeJSieJo1E@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23521@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 444 bytes --]
There is an updated pull request by pandom79 against master on the void-packages repository
https://github.com/pandom79/void-packages python-dlib
https://github.com/void-linux/void-packages/pull/23521
New package : python-dlib-19.20.0
I built dlib as python module.
I copied from existent dlib package.
I'm ready for eventual corrections.
Regards
A patch file from https://github.com/void-linux/void-packages/pull/23521.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python-dlib-23521.patch --]
[-- Type: text/x-diff, Size: 3968 bytes --]
From 9730c44a3ac9c28b3716ee7b6ffb158c07fab37b Mon Sep 17 00:00:00 2001
From: Domenico Panella <pandom79@gmail.com>
Date: Sat, 11 Jul 2020 11:06:02 +0200
Subject: [PATCH 1/3] New package : python-dlib-19.20.0
---
srcpkgs/python-dlib/template | 27 +++++++++++++++++++++++++++
srcpkgs/python3-dlib | 1 +
2 files changed, 28 insertions(+)
create mode 100644 srcpkgs/python-dlib/template
create mode 120000 srcpkgs/python3-dlib
diff --git a/srcpkgs/python-dlib/template b/srcpkgs/python-dlib/template
new file mode 100644
index 00000000000..a197256634f
--- /dev/null
+++ b/srcpkgs/python-dlib/template
@@ -0,0 +1,27 @@
+# Template file for 'python-dlib'
+pkgname=python-dlib
+version=19.20.0
+revision=1
+wrksrc=dlib-${version}
+build_style=python-module
+hostmakedepends="cmake python-setuptools python3-setuptools"
+makedepends="python-devel python3-devel
+ $(vopt_if openblas openblas-devel)
+ $(vopt_if x11 libX11-devel)"
+short_desc="C++ toolkit containing machine learning algorithms and tools (Python2)"
+maintainer="Domenico Panella <pandom79@gmail.com>"
+license="BSL-1.0"
+homepage="https://pypi.org/project/dlib/"
+distfiles="${PYPI_SITE}/d/dlib/dlib-${version}.tar.gz"
+checksum=a3f5070df590c3f510dde2f4c84b1b20e3ef64a02932ed657da490834ecac7e4
+build_options="openblas x11"
+desc_option_openblas="Enable OpenBlas for performance"
+desc_option_x11="Enable X11 for GUI components"
+build_options_default="openblas x11"
+
+python3-dlib_package() {
+ short_desc="${short_desc/Python2/Python3}"
+ pkg_install() {
+ vmove usr/lib/python3*
+ }
+}
diff --git a/srcpkgs/python3-dlib b/srcpkgs/python3-dlib
new file mode 120000
index 00000000000..cdce108c19c
--- /dev/null
+++ b/srcpkgs/python3-dlib
@@ -0,0 +1 @@
+python-dlib
\ No newline at end of file
From a4e476c21418203a1b0cba44f1502494d602b8fc Mon Sep 17 00:00:00 2001
From: Domenico Panella <pandom79@gmail.com>
Date: Sat, 11 Jul 2020 18:27:43 +0200
Subject: [PATCH 2/3] New package : python-dlib-19.20.0
---
srcpkgs/python-dlib/template | 20 ++++++--------------
1 file changed, 6 insertions(+), 14 deletions(-)
diff --git a/srcpkgs/python-dlib/template b/srcpkgs/python-dlib/template
index a197256634f..3ecb5d10d66 100644
--- a/srcpkgs/python-dlib/template
+++ b/srcpkgs/python-dlib/template
@@ -3,12 +3,12 @@ pkgname=python-dlib
version=19.20.0
revision=1
wrksrc=dlib-${version}
-build_style=python-module
-hostmakedepends="cmake python-setuptools python3-setuptools"
-makedepends="python-devel python3-devel
- $(vopt_if openblas openblas-devel)
- $(vopt_if x11 libX11-devel)"
-short_desc="C++ toolkit containing machine learning algorithms and tools (Python2)"
+build_style=python3-module
+hostmakedepends="cmake python3-setuptools"
+makedepends="python3-devel
+ $(vopt_if openblas openblas-devel)
+ $(vopt_if x11 libX11-devel)"
+short_desc="C++ toolkit containing machine learning algorithms and tools"
maintainer="Domenico Panella <pandom79@gmail.com>"
license="BSL-1.0"
homepage="https://pypi.org/project/dlib/"
@@ -16,12 +16,4 @@ distfiles="${PYPI_SITE}/d/dlib/dlib-${version}.tar.gz"
checksum=a3f5070df590c3f510dde2f4c84b1b20e3ef64a02932ed657da490834ecac7e4
build_options="openblas x11"
desc_option_openblas="Enable OpenBlas for performance"
-desc_option_x11="Enable X11 for GUI components"
build_options_default="openblas x11"
-
-python3-dlib_package() {
- short_desc="${short_desc/Python2/Python3}"
- pkg_install() {
- vmove usr/lib/python3*
- }
-}
From 07824e8ed15838fa79da3ddc214618e1729d7741 Mon Sep 17 00:00:00 2001
From: Domenico Panella <pandom79@gmail.com>
Date: Sat, 11 Jul 2020 18:30:32 +0200
Subject: [PATCH 3/3] Eliminato python3
---
srcpkgs/python3-dlib | 1 -
1 file changed, 1 deletion(-)
delete mode 120000 srcpkgs/python3-dlib
diff --git a/srcpkgs/python3-dlib b/srcpkgs/python3-dlib
deleted file mode 120000
index cdce108c19c..00000000000
--- a/srcpkgs/python3-dlib
+++ /dev/null
@@ -1 +0,0 @@
-python-dlib
\ No newline at end of file
next prev parent reply other threads:[~2020-07-11 16:31 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-11 9:36 [PR PATCH] " pandom79
2020-07-11 9:43 ` [PR PATCH] [Updated] " pandom79
2020-07-11 9:45 ` pandom79
2020-07-11 10:17 ` pandom79
2020-07-11 10:19 ` pandom79
2020-07-11 15:34 ` [PR REVIEW] " sgn
2020-07-11 15:35 ` sgn
2020-07-11 15:35 ` sgn
2020-07-11 16:28 ` [PR PATCH] [Updated] " pandom79
2020-07-11 16:29 ` pandom79
2020-07-11 16:31 ` pandom79 [this message]
2020-07-11 16:33 ` pandom79
2020-07-11 16:45 ` [PR REVIEW] " pandom79
2020-07-12 0:34 ` sgn
2020-07-12 7:00 ` [PR PATCH] [Updated] " pandom79
2020-07-12 7:02 ` pandom79
2020-07-12 7:03 ` pandom79
2020-07-20 16:05 ` pandom79
2020-07-20 16:09 ` pandom79
2020-07-20 17:21 ` [PR REVIEW] " ericonr
2020-07-20 17:23 ` ericonr
2020-10-04 16:36 ` pandom79
2020-10-04 16:36 ` [PR PATCH] [Closed]: " pandom79
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=20200711163102.u1VaQoaN7W9HbBRskTdd8IYwcDoqktPDRVeJSieJo1E@z \
--to=pandom79@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).