Github messages for voidlinux
 help / color / mirror / Atom feed
From: oynqr <oynqr@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: img2pdf-0.4.0
Date: Tue, 09 Mar 2021 11:27:58 +0100	[thread overview]
Message-ID: <20210309102758.m5KA0KOhKIBj2xE2u0tzDXr62IaoloU93lY9hmB2JQw@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-29324@inbox.vuxu.org>

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

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

https://github.com/oynqr/void-packages img2pdf
https://github.com/void-linux/void-packages/pull/29324

New package: img2pdf-0.4.0
A tool to convert images to PDFs in a lossless way, more info at https://gitlab.mister-muffin.de/josch/img2pdf
Would close #29281
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

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

From 6624d01e148d8474f363f6ed2f88c69697dd6964 Mon Sep 17 00:00:00 2001
From: Philipp David <pd@3b.pm>
Date: Tue, 9 Mar 2021 11:25:25 +0100
Subject: [PATCH 1/3] New package: python3-setuptools_scm_git_archive-1.1

---
 .../template                                  | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/python3-setuptools_scm_git_archive/template

diff --git a/srcpkgs/python3-setuptools_scm_git_archive/template b/srcpkgs/python3-setuptools_scm_git_archive/template
new file mode 100644
index 00000000000..9b025407c4f
--- /dev/null
+++ b/srcpkgs/python3-setuptools_scm_git_archive/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-setuptools_scm_git_archive'
+pkgname=python3-setuptools_scm_git_archive
+version=1.1
+revision=1
+wrksrc="setuptools_scm_git_archive-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+checkdepends="python3-pytest"
+short_desc="Setuptools_scm plugin that adds support for git archives"
+maintainer="Philipp David <pd@3b.pm>"
+license="MIT"
+homepage="https://github.com/Changaco/setuptools_scm_git_archive"
+distfiles="${PYPI_SITE}/s/setuptools_scm_git_archive/setuptools_scm_git_archive-${version}.tar.gz"
+checksum=6026f61089b73fa1b5ee737e95314f41cb512609b393530385ed281d0b46c062
+
+do_check() {
+	python3 setup.py test ${make_check_args}
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 4321afdd1210d7cf262bcf6bb08ce37e0bd051b0 Mon Sep 17 00:00:00 2001
From: Philipp David <pd@3b.pm>
Date: Mon, 8 Mar 2021 18:04:10 +0100
Subject: [PATCH 2/3] New package: python3-pikepdf-2.8.0.post1

---
 .../remove_pytest-xdist_dependency.patch      | 11 ++++++++++
 srcpkgs/python3-pikepdf/template              | 20 +++++++++++++++++++
 2 files changed, 31 insertions(+)
 create mode 100644 srcpkgs/python3-pikepdf/patches/remove_pytest-xdist_dependency.patch
 create mode 100644 srcpkgs/python3-pikepdf/template

diff --git a/srcpkgs/python3-pikepdf/patches/remove_pytest-xdist_dependency.patch b/srcpkgs/python3-pikepdf/patches/remove_pytest-xdist_dependency.patch
new file mode 100644
index 00000000000..27d129188df
--- /dev/null
+++ b/srcpkgs/python3-pikepdf/patches/remove_pytest-xdist_dependency.patch
@@ -0,0 +1,11 @@
+--- setup.cfg
++++ setup.cfg
+@@ -7,8 +7,6 @@ test=pytest
+ [tool:pytest]
+ norecursedirs = lib .pc .git venv
+ testpaths = tests
+-addopts =
+-	-n auto
+ 
+ [coverage:run]
+ 
diff --git a/srcpkgs/python3-pikepdf/template b/srcpkgs/python3-pikepdf/template
new file mode 100644
index 00000000000..1cf9f43ec27
--- /dev/null
+++ b/srcpkgs/python3-pikepdf/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-pikepdf'
+pkgname=python3-pikepdf
+version=2.8.0.post1
+revision=1
+wrksrc="pikepdf-${version}"
+build_style=python3-module
+hostmakedepends="python3-pybind11 python3-setuptools python3-setuptools_scm python3-setuptools_scm_git_archive python3-toml python3-wheel"
+makedepends="libqpdf-devel python3-pybind11"
+depends="python3-lxml python3-Pillow"
+checkdepends="python3-dateutil python3-hypothesis python3-lxml python3-Pillow python3-psutil python3-pytest"
+short_desc="Python library for reading and writing PDF files"
+maintainer="Philipp David <pd@3b.pm>"
+license="MPL-2.0"
+homepage="https://github.com/pikepdf/pikepdf"
+distfiles="${PYPI_SITE}/p/pikepdf/pikepdf-${version}.tar.gz"
+checksum=f742acfd2c41ceff0ade2dec8ddc4875ce0a75f51f5e943b56f4d741ab54b122
+
+do_check() {
+	PYTHONPATH="build/lib.linux-${XBPS_MACHINE}-${py3_ver}" python3 -m pytest
+}

From 8805a8a9a10df5a16de92d4b958c805a783ed390 Mon Sep 17 00:00:00 2001
From: Philipp David <pd@3b.pm>
Date: Mon, 8 Mar 2021 18:04:18 +0100
Subject: [PATCH 3/3] New package: img2pdf-0.4.0

---
 srcpkgs/img2pdf/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/img2pdf/template

diff --git a/srcpkgs/img2pdf/template b/srcpkgs/img2pdf/template
new file mode 100644
index 00000000000..986ed838de9
--- /dev/null
+++ b/srcpkgs/img2pdf/template
@@ -0,0 +1,14 @@
+# Template file for 'img2pdf'
+pkgname=img2pdf
+version=0.4.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-pikepdf python3-setuptools"
+depends="python3-Pillow python3-tkinter"
+checkdepends="python3-pytest"
+short_desc="Lossless conversion of raster images to PDF"
+maintainer="Philipp David <pd@3b.pm>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.mister-muffin.de/josch/img2pdf"
+distfiles="${PYPI_SITE}/i/img2pdf/img2pdf-${version}.tar.gz"
+checksum=eaee690ab8403dd1a9cb4db10afee41dd3e6c7ed63bdace02a0121f9feadb0c9

  parent reply	other threads:[~2021-03-09 10:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-08 18:19 [PR PATCH] " oynqr
2021-03-08 18:21 ` [PR PATCH] [Updated] " oynqr
2021-03-09 10:27 ` oynqr [this message]
2021-03-09 12:41 ` [PR PATCH] [Updated] [WIP] " oynqr
2021-03-13 15:22 ` oynqr
2021-03-13 19:31 ` leahneukirchen
2021-03-14 14:05 ` oynqr
2021-03-15 15:36 ` [PR PATCH] [Updated] " oynqr
2021-03-15 15:38 ` oynqr
2021-03-15 15:49 ` oynqr
2021-03-15 16:25 ` [PR PATCH] [Merged]: " leahneukirchen
2021-03-15 16:25 ` leahneukirchen

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=20210309102758.m5KA0KOhKIBj2xE2u0tzDXr62IaoloU93lY9hmB2JQw@z \
    --to=oynqr@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).