Initial import (#1585315).

This commit is contained in:
Elliott Sales de Andrade 2018-06-02 16:51:31 -04:00
parent a6849c9fa6
commit 396402905a
4 changed files with 95 additions and 3 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/glue_1.2.0.tar.gz

93
R-glue.spec Normal file
View File

@ -0,0 +1,93 @@
%global packname glue
%global rlibdir %{_libdir}/R/library
# Not all available yet.
%global with_suggests 0
Name: R-%{packname}
Version: 1.2.0
Release: 1%{?dist}
Summary: Interpreted String Literals
License: MIT
URL: https://cran.r-project.org/web/packages/%{packname}/index.html
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{version}.tar.gz
# Here's the R view of the dependencies world:
# Depends:
# Imports: R-methods
# Suggests: R-testthat, R-covr, R-magrittr, R-crayon, R-knitr, R-rmarkdown, R-DBI, R-RSQLite, R-R.utils, R-forcats, R-microbenchmark, R-rprintf, R-stringr, R-ggplot2
# LinkingTo:
# Enhances:
Requires: R-methods
Suggests: R-crayon
Suggests: R-DBI
BuildRequires: R-devel
BuildRequires: tex(latex)
BuildRequires: R-methods
BuildRequires: R-testthat
BuildRequires: R-magrittr
BuildRequires: R-crayon
BuildRequires: R-knitr
BuildRequires: R-rmarkdown
BuildRequires: R-DBI
BuildRequires: R-RSQLite
BuildRequires: R-R.utils
BuildRequires: R-rprintf
BuildRequires: R-stringr
%if %{with_suggests}
BuildRequires: R-forcats
BuildRequires: R-microbenchmark
BuildRequires: R-ggplot2
%endif
%description
An implementation of interpreted string literals, inspired by Python's
Literal String Interpolation <https://www.python.org/dev/peps/pep-0498/>
and Docstrings <https://www.python.org/dev/peps/pep-0257/> and Julia's
Triple-Quoted String Literals
%prep
%setup -q -c -n %{packname}
%build
%install
mkdir -p %{buildroot}%{rlibdir}
%{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname}
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
rm -f %{buildroot}%{rlibdir}/R.css
%check
export LANG=C.UTF-8
%if %{with_suggests}
%{_bindir}/R CMD check %{packname}
%else
_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname}
%endif
%files
%dir %{rlibdir}/%{packname}
%doc %{rlibdir}/%{packname}/doc
%doc %{rlibdir}/%{packname}/html
%{rlibdir}/%{packname}/DESCRIPTION
%doc %{rlibdir}/%{packname}/NEWS.md
%license %{rlibdir}/%{packname}/LICENSE
%{rlibdir}/%{packname}/INDEX
%{rlibdir}/%{packname}/NAMESPACE
%{rlibdir}/%{packname}/Meta
%{rlibdir}/%{packname}/R
%{rlibdir}/%{packname}/help
%dir %{rlibdir}/%{packname}/libs
%{rlibdir}/%{packname}/libs/%{packname}.so
%changelog
* Wed Apr 25 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.2.0-1
- initial package for Fedora

View File

@ -1,3 +0,0 @@
# R-glue
The R-glue package

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (glue_1.2.0.tar.gz) = e390f4c829367da2f0033bcd5500173abe96802698b27fb9d923deacc1fb610e8a407eeffedbb09e2ff2a8e931bf791cff68f861b481ffd684ee7e34610f7208