textproc/kepubify: update to 4.0.2

- Update to 4.0.2
- Convert to GO_MODULE

Upstream changes:
- Don't fail seriesmeta/covergen on scan errors in subdirectories
- Convert all input character encodings to UTF-8.

Changelog:	https://github.com/pgaskin/kepubify/releases/tag/v4.0.2
PR:		260259
This commit is contained in:
Robert Clausecker 2021-12-07 23:02:43 +01:00 committed by Juraj Lutter
parent e2c2e2498c
commit 3808388076
2 changed files with 8 additions and 44 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= kepubify
DISTVERSIONPREFIX= v
DISTVERSION= 4.0.1
DISTVERSION= 4.0.2
CATEGORIES= textproc converters
MAINTAINER= fuz@fuz.su
@ -10,28 +10,12 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= pgaskin
GH_TUPLE= bamiaux:rez:29f4463c688b:bamiaux_rez/vendor/github.com/bamiaux/rez \
beevik:etree:v1.1.0:beevik_etree/vendor/github.com/beevik/etree \
golang:sync:036812b2e83c:golang_sync/vendor/golang.org/x/sync \
golang:text:v0.3.6:golang_text/vendor/golang.org/x/text \
hexops:gotextdiff:v1.0.3:hexops_gotextdiff/vendor/github.com/hexops/gotextdiff \
kr:smartypants:v0.1.0:kr_smartypants/vendor/github.com/kr/smartypants \
mattn:go-sqlite3:v1.14.8:mattn_go_sqlite3/vendor/github.com/mattn/go-sqlite3 \
pgaskin:kepubify:2d89b3182523:pgaskin_kepubify_go116_zip_go117/vendor/github.com/pgaskin/kepubify \
pgaskin:kepubify:337924fbbaf0:pgaskin_kepubify_html \
pgaskin:koboutils:v2.1.1:pgaskin_koboutils_v2/vendor/github.com/pgaskin/koboutils/v2 \
spf13:pflag:v1.0.5:spf13_pflag/vendor/github.com/spf13/pflag
GO_MODULE= github.com/pgaskin/kepubify/v4
GO_TARGET= ./cmd/covergen ./cmd/kepubify ./cmd/seriesmeta
GO_BUILDFLAGS= -tags zip117 -ldflags '-X main.version=${DISTVERSIONPREFIX}${DISTVERSION}'
GO_BUILDFLAGS= -ldflags '-X main.version=${DISTVERSIONPREFIX}${DISTVERSION}'
PLIST_FILES= bin/covergen \
bin/kepubify \
bin/seriesmeta
post-extract:
@${RM} -r ${WRKSRC}/vendor/github.com/pgaskin/kepubify/_/html
@${RLN} ${WRKSRC_pgaskin_kepubify_html}/_/html ${WRKSRC}/vendor/github.com/pgaskin/kepubify/_/html
.include <bsd.port.mk>

View File

@ -1,25 +1,5 @@
TIMESTAMP = 1628589728
SHA256 (pgaskin-kepubify-v4.0.1_GH0.tar.gz) = 30e497e3a8490bcf571d01a7bb6cc2410689fccd7f9a516c31a166460d901aa8
SIZE (pgaskin-kepubify-v4.0.1_GH0.tar.gz) = 49365
SHA256 (bamiaux-rez-29f4463c688b_GH0.tar.gz) = 31cc1f592dede499f44f2faba4e3ec6b2d0bcbe6fe471a83643993bd28604244
SIZE (bamiaux-rez-29f4463c688b_GH0.tar.gz) = 188916
SHA256 (beevik-etree-v1.1.0_GH0.tar.gz) = d1b424a126ce5c46d8e9ba42217e7997cc992bef56d17cc39d1d91525c0dc1de
SIZE (beevik-etree-v1.1.0_GH0.tar.gz) = 26390
SHA256 (golang-sync-036812b2e83c_GH0.tar.gz) = 75ac8fc16bdceb2496c4a9cc98584b70c29032d91a9e57a624acb073e3232fda
SIZE (golang-sync-036812b2e83c_GH0.tar.gz) = 18752
SHA256 (golang-text-v0.3.6_GH0.tar.gz) = f66bebcf21985b0a713d67c6c35dfc9800d3b6d00d62b83ed0ce5b2ed4cb9760
SIZE (golang-text-v0.3.6_GH0.tar.gz) = 8351095
SHA256 (hexops-gotextdiff-v1.0.3_GH0.tar.gz) = 95ca5abd3c132e04ca1a0deeeac130b6bfe871e504e3775cb53e43ad3fc8183d
SIZE (hexops-gotextdiff-v1.0.3_GH0.tar.gz) = 23245
SHA256 (kr-smartypants-v0.1.0_GH0.tar.gz) = 06ae99211b00b079d7f8c18e771fad9dc10140dbda61b810a8cc5ed9c42e61e6
SIZE (kr-smartypants-v0.1.0_GH0.tar.gz) = 5006
SHA256 (mattn-go-sqlite3-v1.14.8_GH0.tar.gz) = 522a8f673690f99144f4e460eddc0fd5284c2e39676ac0687b5f575f19812cf6
SIZE (mattn-go-sqlite3-v1.14.8_GH0.tar.gz) = 2404082
SHA256 (pgaskin-kepubify-2d89b3182523_GH0.tar.gz) = aa62cce5a77aa59449a9808d18bfc1c9ac966436dd53946a40ae20785215ca9b
SIZE (pgaskin-kepubify-2d89b3182523_GH0.tar.gz) = 49127
SHA256 (pgaskin-kepubify-337924fbbaf0_GH0.tar.gz) = ea7c02a99b142ced207e097a02c9a9263f178345ca6b11bcb7169f19107c749a
SIZE (pgaskin-kepubify-337924fbbaf0_GH0.tar.gz) = 161002
SHA256 (pgaskin-koboutils-v2.1.1_GH0.tar.gz) = 7bf1e2955185b337174a862c2c43178e6977230f926e08b387ee5e1513fcda1f
SIZE (pgaskin-koboutils-v2.1.1_GH0.tar.gz) = 41554
SHA256 (spf13-pflag-v1.0.5_GH0.tar.gz) = 9a2cae1f8e8ab0d2cc8ebe468e871af28d9ac0962cf0520999e3ba85f0c7b808
SIZE (spf13-pflag-v1.0.5_GH0.tar.gz) = 50796
TIMESTAMP = 1638831908
SHA256 (go/textproc_kepubify/kepubify-v4.0.2/v4.0.2.mod) = a6e37253a57a963b4c749cb19ecb4daeb0e2f33ce3b0f237ffaac2d737090b8a
SIZE (go/textproc_kepubify/kepubify-v4.0.2/v4.0.2.mod) = 626
SHA256 (go/textproc_kepubify/kepubify-v4.0.2/v4.0.2.zip) = f6377803f33b610a1e845c9d7a17ca5499f07d453e7eb10d2d2771fea940d369
SIZE (go/textproc_kepubify/kepubify-v4.0.2/v4.0.2.zip) = 59470