aboutsummaryrefslogtreecommitdiff
path: root/textproc/pup
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2020-09-25 08:52:04 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2020-09-25 08:52:04 +0000
commit004bb9c0f179d88ae0c7bb0f20e153cd56784eb4 (patch)
tree99dcd5777bb134e2afab90165af13c99a4554241 /textproc/pup
parentde2a412a6beabfcf4d109ab176af582804b4689d (diff)
downloadports-004bb9c0f179d88ae0c7bb0f20e153cd56784eb4.tar.gz
ports-004bb9c0f179d88ae0c7bb0f20e153cd56784eb4.zip
Notes
Diffstat (limited to 'textproc/pup')
-rw-r--r--textproc/pup/Makefile10
-rw-r--r--textproc/pup/distinfo4
2 files changed, 6 insertions, 8 deletions
diff --git a/textproc/pup/Makefile b/textproc/pup/Makefile
index bdea32d7eebc..38430dc496d2 100644
--- a/textproc/pup/Makefile
+++ b/textproc/pup/Makefile
@@ -4,9 +4,11 @@ PORTNAME= pup
DISTVERSIONPREFIX= v
DISTVERSION= 0.4.0-10
DISTVERSIONSUFFIX= -g681d7bb
+PORTREVISION= 1
CATEGORIES= textproc
PATCH_SITES= https://github.com/ericchiang/pup/pull/
-PATCHFILES= 142.patch:-p1
+PATCHFILES= 107.patch:-p1 \
+ 142.patch:-p1
MAINTAINER= 0mp@FreeBSD.org
COMMENT= Command-line jq-like HTML parser using CSS selectors
@@ -38,12 +40,6 @@ post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
-pre-test:
- @${REINPLACE_CMD} "/^json{}$$/d" ${WRKSRC}/tests/cmds.txt
- @${REINPLACE_CMD} "/ json{}$$/d" ${WRKSRC}/tests/expected_output.txt
- @${REINPLACE_CMD} "/^#toc li + a json{}$$/d" ${WRKSRC}/tests/cmds.txt
- @${REINPLACE_CMD} "/ #toc li + a json{}$$/d" ${WRKSRC}/tests/expected_output.txt
-
do-test:
cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} run.py > test_results.txt
cd ${WRKSRC}/tests && ${DIFF} expected_output.txt test_results.txt
diff --git a/textproc/pup/distinfo b/textproc/pup/distinfo
index 1d45dcb2aab8..76e03cfe27bd 100644
--- a/textproc/pup/distinfo
+++ b/textproc/pup/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1600967195
+TIMESTAMP = 1601022698
SHA256 (ericchiang-pup-v0.4.0-10-g681d7bb_GH0.tar.gz) = 72a4c6fcf915ae33f9522a649b52cb44a1b83e9e3f18f8702177d0c722b1d2f9
SIZE (ericchiang-pup-v0.4.0-10-g681d7bb_GH0.tar.gz) = 1514776
SHA256 (fatih-color-v1.0.0_GH0.tar.gz) = 035f20ae3e9940416433ba4c3d9cb55511608a1ac3927e371be61fe5d6052590
@@ -13,5 +13,7 @@ SHA256 (mattn-go-colorable-v0.0.5_GH0.tar.gz) = 8cd5edba9e942ee564359af89c735743
SIZE (mattn-go-colorable-v0.0.5_GH0.tar.gz) = 5856
SHA256 (mattn-go-isatty-56b76bdf51f7_GH0.tar.gz) = 665e8446874f1e8bf32048c5dea7c70350ad2af3ddf9f38587dccb2a7a41330a
SIZE (mattn-go-isatty-56b76bdf51f7_GH0.tar.gz) = 1958
+SHA256 (107.patch) = 403af0675b6d21d83bc97fa2298b49fab573b2dfb1506bfdf73dac89516b8066
+SIZE (107.patch) = 2653
SHA256 (142.patch) = c84d18fd1160267371aa47d47f8346c1ceb9210bd28af74df11bd9527185e628
SIZE (142.patch) = 612