From cdf8dfb365798a901e31addc1c91d32618a4eab3 Mon Sep 17 00:00:00 2001 From: Andreas Tille Date: Sat, 16 Jan 2021 16:30:37 +0000 Subject: [PATCH 1/1] Import r-cran-s2_1.0.4-1.debian.tar.xz [dgit import tarball r-cran-s2 1.0.4-1 r-cran-s2_1.0.4-1.debian.tar.xz] --- README.source | 16 ++++++++++++++++ changelog | 29 +++++++++++++++++++++++++++++ control | 32 ++++++++++++++++++++++++++++++++ copyright | 32 ++++++++++++++++++++++++++++++++ docs | 2 ++ rules | 4 ++++ salsa-ci.yml | 11 +++++++++++ source/format | 1 + tests/control | 5 +++++ tests/run-unit-test | 16 ++++++++++++++++ upstream/metadata | 6 ++++++ watch | 2 ++ 12 files changed, 156 insertions(+) create mode 100644 README.source create mode 100644 changelog create mode 100644 control create mode 100644 copyright create mode 100644 docs create mode 100755 rules create mode 100644 salsa-ci.yml create mode 100644 source/format create mode 100644 tests/control create mode 100644 tests/run-unit-test create mode 100644 upstream/metadata create mode 100644 watch diff --git a/README.source b/README.source new file mode 100644 index 0000000..51e4e96 --- /dev/null +++ b/README.source @@ -0,0 +1,16 @@ +Explanation for binary files inside source package according to + https://lists.debian.org/debian-devel/2013/09/msg00332.html + +Files: data/s2_data_tbl_cities.rda +Documented: man/s2_data_tbl_countries.Rd + Low-resolution world boundaries, timezones, and cities + +Files: data/s2_data_tbl_countries.rda +Documented: man/s2_data_tbl_countries.Rd + Low-resolution world boundaries, timezones, and cities + +Files: data/s2_data_tbl_timezones.rda +Documented: man/s2_data_tbl_countries.Rd + Low-resolution world boundaries, timezones, and cities + + -- Andreas Tille Tue, 22 Sep 2020 09:33:00 +0200 diff --git a/changelog b/changelog new file mode 100644 index 0000000..e6dcb63 --- /dev/null +++ b/changelog @@ -0,0 +1,29 @@ +r-cran-s2 (1.0.4-1) unstable; urgency=medium + + * New upstream version + + -- Andreas Tille Sat, 16 Jan 2021 17:30:37 +0100 + +r-cran-s2 (1.0.3-2) unstable; urgency=medium + + * change uint64 to uint64_t in unaligned_access + Closes: #976473 + * Standards-Version: 4.5.1 (routine-update) + + -- Andreas Tille Thu, 10 Dec 2020 08:26:41 +0100 + +r-cran-s2 (1.0.3-1) unstable; urgency=medium + + * New upstream version + * debhelper-compat 13 (routine-update) + * Trim trailing whitespace. + * Set upstream metadata fields: Archive, Bug-Database, Bug-Submit, Repository, + Repository-Browse. + + -- Andreas Tille Sun, 18 Oct 2020 23:03:45 +0200 + +r-cran-s2 (1.0.2-1) unstable; urgency=medium + + * Initial release (closes: #970713) + + -- Andreas Tille Tue, 22 Sep 2020 11:28:09 +0200 diff --git a/control b/control new file mode 100644 index 0000000..3caadac --- /dev/null +++ b/control @@ -0,0 +1,32 @@ +Source: r-cran-s2 +Maintainer: Debian R Packages Maintainers +Uploaders: Andreas Tille +Section: gnu-r +Testsuite: autopkgtest-pkg-r +Priority: optional +Build-Depends: debhelper-compat (= 13), + dh-r, + r-base-dev, + r-cran-rcpp, + r-cran-wk, + libssl-dev +Standards-Version: 4.5.1 +Vcs-Browser: https://salsa.debian.org/r-pkg-team/r-cran-s2 +Vcs-Git: https://salsa.debian.org/r-pkg-team/r-cran-s2.git +Homepage: https://cran.r-project.org/package=s2 +Rules-Requires-Root: no + +Package: r-cran-s2 +Architecture: any +Depends: ${R:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Recommends: ${R:Recommends} +Suggests: ${R:Suggests} +Description: GNU R spherical geometry operators using the S2 geometry library + Provides R bindings for Google's s2 library for geometric calculations + on the sphere. High-performance constructors and exporters provide high + compatibility with existing spatial packages, transformers construct new + geometries from existing geometries, predicates provide a means to + select geometries based on spatial relationships, and accessors extract + information about geometries. diff --git a/copyright b/copyright new file mode 100644 index 0000000..a1bd198 --- /dev/null +++ b/copyright @@ -0,0 +1,32 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: s2 +Upstream-Contact: Edzer Pebesma +Source: https://cran.r-project.org/package=s2 + +Files: * +Copyright: 2015-2020 Dewey Dunnington, + Edzer Pebesma, + Ege Rubak, +License: Apache-2.0 + +Files: configure +Copyright: 2020 Jeroen Ooms +License: Apache-2.0 + +Files: src/s2/* + inst/include/s2/* +Copyright: 2009-2019 Google, Inc. (Original s2geometry.io source code) +License: Apache-2.0 + +Files: src/s2/third_party/absl/* + inst/include/s2/third_party/absl/* +Copyright: 2017 The Abseil Authors +License: Apache-2.0 + +Files: debian/* +Copyright: 2020 Andreas Tille +License: Apache-2.0 + +License: Apache-2.0 + On Debian systems you can find the full text of the Apache License at + /usr/share/common-licenses/Apache-2.0. diff --git a/docs b/docs new file mode 100644 index 0000000..67ce40b --- /dev/null +++ b/docs @@ -0,0 +1,2 @@ +debian/tests/run-unit-test +tests diff --git a/rules b/rules new file mode 100755 index 0000000..68d9a36 --- /dev/null +++ b/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --buildsystem R diff --git a/salsa-ci.yml b/salsa-ci.yml new file mode 100644 index 0000000..ee8502d --- /dev/null +++ b/salsa-ci.yml @@ -0,0 +1,11 @@ +--- +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml + +# R creates .rdb files and .rds with some randomness. +# https://tests.reproducible-builds.org/debian/issues/unstable/randomness_in_r_rdb_rds_databases_issue.html +# Uncomment the following two lines if this package is affected. +#variables: +# SALSA_CI_DISABLE_REPROTEST: 1 + diff --git a/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/tests/control b/tests/control new file mode 100644 index 0000000..6949b53 --- /dev/null +++ b/tests/control @@ -0,0 +1,5 @@ +Tests: run-unit-test +Depends: @, r-cran-testthat, r-cran-vctrs +Restrictions: allow-stderr + + diff --git a/tests/run-unit-test b/tests/run-unit-test new file mode 100644 index 0000000..4f96f77 --- /dev/null +++ b/tests/run-unit-test @@ -0,0 +1,16 @@ +#!/bin/sh -e + +debname=r-cran-s2 + +if [ "$AUTOPKGTEST_TMP" = "" ] ; then + AUTOPKGTEST_TMP=`mktemp -d /tmp/${debname}-test.XXXXXX` + trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM +fi +cd $AUTOPKGTEST_TMP +cp -a /usr/share/doc/$debname/tests/* $AUTOPKGTEST_TMP +gunzip -r * +for testfile in *.R; do + echo "BEGIN TEST $testfile" + LC_ALL=C.UTF-8 R --no-save < $testfile +done + diff --git a/upstream/metadata b/upstream/metadata new file mode 100644 index 0000000..9107b9d --- /dev/null +++ b/upstream/metadata @@ -0,0 +1,6 @@ +--- +Archive: CRAN +Bug-Database: https://github.com/r-spatial/s2/issues +Bug-Submit: https://github.com/r-spatial/s2/issues/new +Repository: https://github.com/r-spatial/s2.git +Repository-Browse: https://github.com/r-spatial/s2 diff --git a/watch b/watch new file mode 100644 index 0000000..c4d3be8 --- /dev/null +++ b/watch @@ -0,0 +1,2 @@ +version=4 +https://cloud.r-project.org/src/contrib/s2_([-\d.]*)\.tar\.gz -- 2.30.2