pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

R-httpcode: Import R package httpcode-0.3.0 as wip/R-httpcode



Module Name:	pkgsrc-wip
Committed By:	Brook Milligan <brook%nmsu.edu@localhost>
Pushed By:	brook
Date:		Wed Sep 8 13:09:47 2021 -0600
Changeset:	8eb7f600950f06b6c1e750a6024b301e6b8f8e26

Modified Files:
	Makefile
Added Files:
	R-httpcode/DESCR
	R-httpcode/Makefile
	R-httpcode/distinfo

Log Message:
R-httpcode: Import R package httpcode-0.3.0 as wip/R-httpcode

`httpcode` is a tiny R package to search for and show http code
messages and description. It's a port of the Python httpcode
(https://github.com/rspivak/httpcode) library.

`httpcode` has no dependencies.

Follows RFC 2616 (https://www.ietf.org/rfc/rfc2616.txt), and for
additional codes following RFC 6585
(https://tools.ietf.org/html/rfc6585).

Structure of information for each status code:

* `status_code` - the status code
* `message` - very brief message explaining the code
* `explanation` - more verbose explanation, but still short
* `explanation_verbose` - the complete explanation

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8eb7f600950f06b6c1e750a6024b301e6b8f8e26

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile            |  1 +
 R-httpcode/DESCR    |  3 +++
 R-httpcode/Makefile | 14 ++++++++++++++
 R-httpcode/distinfo |  6 ++++++
 4 files changed, 24 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 1ad7db1de4..ca41e9a664 100644
--- a/Makefile
+++ b/Makefile
@@ -57,6 +57,7 @@ SUBDIR+=	R-getopt
 SUBDIR+=	R-gmp
 SUBDIR+=	R-graph
 SUBDIR+=	R-gsl
+SUBDIR+=	R-httpcode
 SUBDIR+=	R-lsei
 SUBDIR+=	R-mclust
 SUBDIR+=	R-mpfr
diff --git a/R-httpcode/DESCR b/R-httpcode/DESCR
new file mode 100644
index 0000000000..b9f09d973f
--- /dev/null
+++ b/R-httpcode/DESCR
@@ -0,0 +1,3 @@
+Find and explain the meaning of 'HTTP' status codes. Functions
+included for searching for codes by full or partial number, by
+message, and get appropriate dog and cat images for many status codes.
diff --git a/R-httpcode/Makefile b/R-httpcode/Makefile
new file mode 100644
index 0000000000..9287d2f937
--- /dev/null
+++ b/R-httpcode/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+R_PKGNAME=	httpcode
+R_PKGVER=	0.3.0
+CATEGORIES=	www
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+COMMENT=	'HTTP' status code helper
+LICENSE=	mit
+
+USE_LANGUAGES=	# none
+
+.include "../../math/R/Makefile.extension"
+.include "../../mk/bsd.pkg.mk"
diff --git a/R-httpcode/distinfo b/R-httpcode/distinfo
new file mode 100644
index 0000000000..4ae534e818
--- /dev/null
+++ b/R-httpcode/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (R/httpcode_0.3.0.tar.gz) = fb2106742ea6af177d9d38a95fb87e223416951d
+RMD160 (R/httpcode_0.3.0.tar.gz) = ee6b7ec182df7484ae457eb49f7cd68f39ceb1ad
+SHA512 (R/httpcode_0.3.0.tar.gz) = 5dbb0502e40bc39f24cbdcc5ca03de777d7bde2944346b57d3ffdea12cf45d68e7a877750f125be1aa03f354655d63e30427f09b2e2db3e2a4493153920a9913
+Size (R/httpcode_0.3.0.tar.gz) = 17821 bytes


Home | Main Index | Thread Index | Old Index