mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 07:33:19 -04:00
dev-R/rvest: new package, add 1.0.2
Signed-off-by: Robert Greener <me@r0bert.dev>
This commit is contained in:
1
dev-R/rvest/Manifest
Normal file
1
dev-R/rvest/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST rvest_1.0.2.tar.gz 94357 BLAKE2B c5392afc1adc66974acd0f285ab6855dde2d3f5bdb9d511e091e173209118e320477d89197f777fe962d49f208c7fd3f2b7bdff1a3538b2e3666d22908025817 SHA512 6698e852deab33a140fe0609f21d60398c4327a6fdaea395b6454cbaf680c16392837fd0046b4ff399779b1f2e6f66555a80eb41d1b738d156cf80eb910f4560
|
||||
17
dev-R/rvest/metadata.xml
Normal file
17
dev-R/rvest/metadata.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>me@r0bert.dev</email>
|
||||
<name>Robert Greener</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">Wrappers around the 'xml2' and 'httr' packages to make it easy to download, then manipulate, HTML and XML.</longdescription>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Hadley Wickham</name>
|
||||
<email>hadley@rstudio.com</email>
|
||||
</maintainer>
|
||||
<bugs-to>https://github.com/tidyverse/rvest/issues</bugs-to>
|
||||
<remote-id type="github">tidyverse/rvest</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
47
dev-R/rvest/rvest-1.0.2.ebuild
Normal file
47
dev-R/rvest/rvest-1.0.2.ebuild
Normal file
@@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit R-packages edo
|
||||
|
||||
DESCRIPTION='Easily Harvest (Scrape) Web Pages'
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE='MIT'
|
||||
RESTRICT="!test? ( test )"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
>=dev-R/httr-0.5
|
||||
>=dev-R/lifecycle-1.0.0
|
||||
dev-R/magrittr
|
||||
>=dev-R/rlang-0.4.10
|
||||
dev-R/selectr
|
||||
dev-R/tibble
|
||||
>=dev-R/xml2-1.3
|
||||
test? (
|
||||
>=dev-R/testthat-3.0.2
|
||||
dev-R/webfakes
|
||||
)
|
||||
"
|
||||
|
||||
SUGGESTED_PACKAGES="
|
||||
dev-R/covr
|
||||
dev-R/glue
|
||||
dev-R/knitr
|
||||
dev-R/readr
|
||||
dev-R/rmarkdown
|
||||
dev-R/repurrrsive
|
||||
dev-R/spelling
|
||||
>=dev-R/stringi-0.3.1
|
||||
>=dev-R/testthat-3.0.2
|
||||
dev-R/webfakes
|
||||
"
|
||||
|
||||
src_test() {
|
||||
cd "${WORKDIR}/${P}/tests"
|
||||
# These require network access
|
||||
rm testthat/test-session.R
|
||||
rm testthat/test-rename.R
|
||||
R_LIBS="${T}/R" edo Rscript --vanilla testthat.R
|
||||
}
|
||||
Reference in New Issue
Block a user