From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: libredwg-0.9
Date: Wed, 30 Oct 2019 23:43:48 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15972@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 314 bytes --]
There is a new pull request by abenson against master on the void-packages repository
https://github.com/abenson/void-packages np_libredwg
https://github.com/void-linux/void-packages/pull/15972
New package: libredwg-0.9
A patch file from https://github.com/void-linux/void-packages/pull/15972.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-np_libredwg-15972.patch --]
[-- Type: text/x-diff, Size: 2788 bytes --]
From c9a03f1b3b1ed3b9c6ffeb55b6c26bf5e32324a9 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Wed, 30 Oct 2019 17:23:27 -0500
Subject: [PATCH] New package: libredwg-0.9
---
common/shlibs | 1 +
srcpkgs/libredwg-devel | 1 +
srcpkgs/libredwg-tools | 1 +
srcpkgs/libredwg/template | 41 +++++++++++++++++++++++++++++++++++++++
srcpkgs/python3-libredwg | 1 +
5 files changed, 45 insertions(+)
create mode 120000 srcpkgs/libredwg-devel
create mode 120000 srcpkgs/libredwg-tools
create mode 100644 srcpkgs/libredwg/template
create mode 120000 srcpkgs/python3-libredwg
diff --git a/common/shlibs b/common/shlibs
index 41e609a31db..61a39c7df8a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3526,3 +3526,4 @@ libarmadillo.so.9 armadillo-9.700.2_1
libvarnishapi.so.2 libvarnishapi-6.3.0_1
libicns.so.1 libicns-0.8.1_1
librabbitmq.so.4 rabbitmq-c-0.9.0_1
+libredwg.so.0 libredwg-0.9_1
diff --git a/srcpkgs/libredwg-devel b/srcpkgs/libredwg-devel
new file mode 120000
index 00000000000..67c8e2fdb1c
--- /dev/null
+++ b/srcpkgs/libredwg-devel
@@ -0,0 +1 @@
+libredwg
\ No newline at end of file
diff --git a/srcpkgs/libredwg-tools b/srcpkgs/libredwg-tools
new file mode 120000
index 00000000000..67c8e2fdb1c
--- /dev/null
+++ b/srcpkgs/libredwg-tools
@@ -0,0 +1 @@
+libredwg
\ No newline at end of file
diff --git a/srcpkgs/libredwg/template b/srcpkgs/libredwg/template
new file mode 100644
index 00000000000..08bc8c70b67
--- /dev/null
+++ b/srcpkgs/libredwg/template
@@ -0,0 +1,41 @@
+# Template file for 'libredwg'
+pkgname=libredwg
+version=0.9
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config swig"
+makedepends="python3-devel pcre2-devel"
+short_desc="Free library to handle DWG files"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://www.gnu.org/software/libredwg/"
+distfiles="$GNU_SITE/libredwg/libredwg-${version}.tar.xz"
+checksum=954f74753860315eb313a3bbb83bf7e5ad03e84bd10408cc629ff2e4e4b3fd46
+
+libredwg-tools_package() {
+ short_desc+=" - utilities"
+ pkg_install() {
+ vmove usr/bin
+ vmove usr/share/man/man1
+ }
+}
+
+libredwg-devel_package() {
+ short_desc+=" - development files"
+ depends="${sourcepkg}>=${version}_${revision}"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ vmove "usr/lib/*a"
+ }
+}
+
+python3-libredwg_package() {
+ short_desc+=" - python3 bindings"
+ pycompile_version="$py3_ver"
+ pycompile_module="LibreDWG"
+ pkg_install() {
+ vmove "$py3_sitelib"
+ }
+}
diff --git a/srcpkgs/python3-libredwg b/srcpkgs/python3-libredwg
new file mode 120000
index 00000000000..67c8e2fdb1c
--- /dev/null
+++ b/srcpkgs/python3-libredwg
@@ -0,0 +1 @@
+libredwg
\ No newline at end of file
next reply other threads:[~2019-10-30 22:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-30 22:43 voidlinux-github [this message]
2019-10-31 2:33 ` [NOMERGE] " voidlinux-github
2019-11-04 14:03 ` [PR PATCH] [Updated] " voidlinux-github
2019-11-06 15:24 ` voidlinux-github
2019-11-08 7:25 ` [PR PATCH] [Merged]: " voidlinux-github
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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15972@inbox.vuxu.org \
--to=voidlinux-github@inbox.vuxu.org \
--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).