From 71e7c19dcffabe048f69f41169175f6820cf1716 Mon Sep 17 00:00:00 2001 From: Domenico Panella Date: Sat, 11 Jul 2020 11:06:02 +0200 Subject: [PATCH 1/2] New package : python-dlib-19.20.0 --- srcpkgs/python-dlib/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/python-dlib/template 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 " +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* + } +} From 6ac13fe38fe7f074a8282a52e9c3a2a0542e498f Mon Sep 17 00:00:00 2001 From: Domenico Panella Date: Sat, 11 Jul 2020 12:15:52 +0200 Subject: [PATCH 2/2] Aggiunto python3-dlib --- srcpkgs/python3-dlib | 1 + 1 file changed, 1 insertion(+) create mode 120000 srcpkgs/python3-dlib 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