Compare commits

..

37 Commits
f26 ... rawhide

Author SHA1 Message Date
Fedora Release Engineering
7d12caa288 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 15:43:58 +00:00
Iñaki Úcar
9581a8f181 Update to latest version 2024-04-26 18:22:53 +02:00
Iñaki Úcar
8760509c32 R-maint-sig mass rebuild 2024-04-25 16:04:23 +02:00
Fedora Release Engineering
f0efff25c3 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 21:48:35 +00:00
Fedora Release Engineering
58b15bc546 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 11:03:50 +00:00
Fedora Release Engineering
17539e9115 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 12:02:45 +00:00
Iñaki Úcar
40e7c4ae6c Ignore vignettes 2023-04-21 21:51:53 +02:00
Iñaki Úcar
6064433970 R-maint-sig mass rebuild 2023-04-21 13:47:06 +02:00
Fedora Release Engineering
d774c66649 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-18 20:36:01 +00:00
Tom spot Callaway
e19b190bed update to 1.3.0, rebuild for R 4.2.1 2022-09-01 13:46:38 -04:00
Fedora Release Engineering
3345c4cd26 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 19:38:00 +00:00
Fedora Release Engineering
01ff054bfb - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-19 20:09:19 +00:00
Fedora Release Engineering
b97b801700 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 16:32:15 +00:00
Fedora Release Engineering
3a53a4d905 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 11:37:20 +00:00
Tom spot Callaway
2d768c739f rebuild for R 4.1.0 2021-06-14 16:48:32 -04:00
Elliott Sales de Andrade
94c624fc17 Update to latest version. 2021-04-24 03:53:45 -04:00
Fedora Release Engineering
e8b3d4211f - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-25 23:07:04 +00:00
Elliott Sales de Andrade
11da011ea8 Fix invalid changelog date. 2020-08-03 21:52:52 -04:00
Fedora Release Engineering
7602ab74f1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 11:03:27 +00:00
Tom Callaway
ee649cf5be update to 1.1.0.1, rebuild for R 4 2020-06-05 18:32:47 -04:00
Fedora Release Engineering
1eebe9d4c1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 10:18:37 +00:00
Elliott Sales de Andrade
88e9db5a65 Merge branch 'f30' 2019-10-05 22:51:12 -04:00
Elliott Sales de Andrade
56cd01fe2f Update to latest version. 2019-10-05 22:50:31 -04:00
Elliott Sales de Andrade
c612373602 Remove explicit dependencies provided by automatic dependency generator. 2019-08-12 01:00:55 -04:00
Fedora Release Engineering
c7771f3998 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 16:40:23 +00:00
Elliott Sales de Andrade
9e6df48ad8 Update to latest version. 2019-02-11 22:06:03 -05:00
Fedora Release Engineering
cf44dde280 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 12:18:21 +00:00
Elliott Sales de Andrade
792545bad3 Switch to canonical URL. 2019-01-22 19:55:23 -05:00
Elliott Sales de Andrade
7e03c2aebc Merge branch 'f28' 2018-09-22 04:02:17 -04:00
Elliott Sales de Andrade
34524432a2 Update to latest versions. 2018-09-22 04:01:20 -04:00
Elliott Sales de Andrade
4ec71a2ae7 Update to latest versions. 2018-09-22 03:51:17 -04:00
Elliott Sales de Andrade
a5dc4c1dfb Remove bundled tinycthread to be sure it's unused. 2018-09-04 17:48:40 -04:00
Elliott Sales de Andrade
b2a43477d3 Update to latest version. 2018-09-04 17:37:17 -04:00
Fedora Release Engineering
3e12844c70 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 19:30:51 +00:00
Elliott Sales de Andrade
200e7d827e Update to latest version and enable docs. 2018-06-15 18:39:48 -04:00
Tom Callaway
8a6b694443 rebuild for R 3.5.0 2018-05-17 13:14:53 -04:00
Elliott Sales de Andrade
201491272a Update to latest version. 2018-05-07 17:47:22 -04:00
4 changed files with 185 additions and 31 deletions

10
.gitignore vendored
View File

@ -1 +1,11 @@
/later_0.7.1.tar.gz
/later_0.7.2.tar.gz
/later_0.7.3.tar.gz
/later_0.7.4.tar.gz
/later_0.7.5.tar.gz
/later_0.8.0.tar.gz
/later_1.0.0.tar.gz
/later_1.1.0.1.tar.gz
/later_1.2.0.tar.gz
/later_1.3.0.tar.gz
/later_1.3.2.tar.gz

View File

@ -1,38 +1,36 @@
%global packname later
%global packname later
%global packver 1.3.2
%global rlibdir %{_libdir}/R/library
# rmarkdown is not yet available.
%global with_doc 0
Name: R-%{packname}
Version: 0.7.1
Release: 3%{?dist}
Summary: Utilities for Delaying Function Execution
Version: %{packver}
Release: 2%{?dist}
Summary: Utilities for Scheduling Functions to Execute Later with Event Loops
# Main GPLv2+; TinyCThread: MIT
License: GPLv2+ and MIT
URL: https://cran.r-project.org/web/packages/%{packname}/index.html
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{version}.tar.gz
License: MIT
URL: https://CRAN.R-project.org/package=%{packname}
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz
# Remove bundled tinycthread and use C11 threads directly.
Source1: tinycthread-threads-wrapper.h
# Here's the R view of the dependencies world:
# Depends:
# Imports: R-Rcpp R-rlang
# Suggests: R-knitr R-rmarkdown R-testthat
# LinkingTo: R-Rcpp R-BH
# Imports: R-Rcpp >= 0.12.9, R-rlang
# Suggests: R-knitr, R-rmarkdown, R-testthat >= 2.1.0
# LinkingTo: R-Rcpp
# Enhances:
Requires: R-Rcpp R-rlang
BuildRequires: R-devel tex(latex)
BuildRequires: R-Rcpp-devel R-BH-devel R-rlang
BuildRequires: R-testthat
%if %{with_doc}
BuildRequires: R-knitr R-rmarkdown
%endif
BuildRequires: R-devel
BuildRequires: tex(latex)
BuildRequires: R-Rcpp-devel >= 0.12.9
BuildRequires: R-rlang
BuildRequires: R-knitr
BuildRequires: R-rmarkdown
BuildRequires: R-testthat >= 2.1.0
%description
Executes arbitrary R or C functions some time after the current time,
after the R execution stack has emptied.
Executes arbitrary R or C functions some time after the current time, after the
R execution stack has emptied. The functions are scheduled in an event loop.
%package devel
@ -46,6 +44,11 @@ Development files for %{name}.
%prep
%setup -q -c -n %{packname}
# Ensure we don't use this bundled code.
rm %{packname}/src/{badthreads.h,tinycthread.c}
cp %SOURCE1 %{packname}/src/tinycthread.h
sed -i -e '/badthread/d' -e '/tinycthread/d' %{packname}/MD5
%build
@ -61,11 +64,7 @@ rm %{buildroot}%{rlibdir}/%{packname}/bgtest.cpp
%check
%if %{with_doc}
%{_bindir}/R CMD check %{packname}
%else
_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --ignore-vignettes
%endif
%{_bindir}/R CMD check --ignore-vignettes %{packname}
%files
@ -74,6 +73,7 @@ _R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --ignore-vignettes
%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
@ -87,9 +87,96 @@ _R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --ignore-vignettes
%changelog
* Thu May 17 2018 Tom Callaway <spot@fedoraproject.org> - 0.7.1-3
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Apr 26 2024 Iñaki Úcar <iucar@fedoraproject.org> - 1.3.2-1
- Update to latest version
* Thu Apr 25 2024 Iñaki Úcar <iucar@fedoraproject.org> - 1.3.0-7
- R-maint-sig mass rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Apr 21 2023 Iñaki Úcar <iucar@fedoraproject.org> - 1.3.0-3
- R-maint-sig mass rebuild
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Sep 1 2022 Tom Callaway <spot@fedoraproject.org> - 1.3.0-1
- update to 1.3.0
- rebuild for R 4.2.1
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon Jun 14 2021 Tom Callaway <spot@fedoraproject.org> - 1.2.0-2
- Rebuilt for R 4.1.0
* Sat Apr 24 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.2.0-1
- Update to latest version (#1952974)
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jun 05 2020 Tom Callaway <spot@fedoraproject.org> - 1.1.0.1-1
- update to 1.1.0.1
- rebuild for R 4
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Oct 05 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.0-1
- Update to latest version
* Sun Aug 11 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8.0-3
- Remove explicit dependencies provided by automatic dependency generator
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon Feb 11 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8.0-1
- Update to latest version
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Sep 22 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.7.5-1
- Update to latest version
* Tue Sep 04 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.7.4-1
- Update to latest version
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Jun 15 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.7.3-1
- Update to latest version
- Enable documentation
* Thu May 17 2018 Tom Callaway <spot@fedoraproject.org> - 0.7.2-2
- rebuild for R 3.5.0
* Mon May 07 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.7.2-1
- Update to latest version
* Fri Apr 20 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.7.1-2
- Remove unnecessary Requires

View File

@ -1 +1 @@
SHA512 (later_0.7.1.tar.gz) = 13b4333f156d1038f52f54073a0b97517cfd78e34aedb2cf40bf18aa225073154c597567c47c7e171b1c127504174a78ff1f4da820fd784fa40bbb811cd0999d
SHA512 (later_1.3.2.tar.gz) = 76fa81a0bf3fb69ac590992a549110fb4c59238bd662b7419eac0c4b892d40d9df4313d38f09d69d6d5dfc118fc38187e13766430900afaa3289178413dc9d5c

View File

@ -0,0 +1,57 @@
#ifndef TINYCTHREAD_THREAD_H
#define TINYCTHREAD_THREAD_H
#include <threads.h>
/* Threads */
#define tct_thrd_t thrd_t
#define tct_thrd_create thrd_create
#define tct_thrd_equal thrd_equal
#define tct_thrd_current thrd_current
#define tct_thrd_sleep thrd_sleep
#define tct_thrd_yield thrd_yield
#define tct_thrd_exit thrd_exit
#define tct_thrd_detach thrd_detach
#define tct_thrd_join thrd_join
#define tct_thrd_success thrd_success
#define tct_thrd_timedout thrd_timedout
#define tct_thrd_busy thrd_busy
#define tct_thrd_nomem thrd_nomem
#define tct_thrd_error thrd_error
#define tct_thrd_start_t thrd_start_t
/* Mutual exclusion */
#define tct_mtx_t mtx_t
#define tct_mtx_init mtx_init
#define tct_mtx_lock mtx_lock
#define tct_mtx_timedlock mtx_timedlock
#define tct_mtx_trylock mtx_trylock
#define tct_mtx_unlock mtx_unlock
#define tct_mtx_destroy mtx_destroy
#define tct_mtx_plain mtx_plain
#define tct_mtx_recursive mtx_recursive
#define tct_mtx_timed mtx_timed
/* Call once */
#define tct_call_once call_once
/* Condition variables */
#define tct_cnd_t cnd_t
#define tct_cnd_init cnd_init
#define tct_cnd_signal cnd_signal
#define tct_cnd_broadcast cnd_broadcast
#define tct_cnd_wait cnd_wait
#define tct_cnd_timedwait cnd_timedwait
#define tct_cnd_destroy cnd_destroy
/* Thread-local storage */
#define tct_thread_local thread_local
#define tct_tss_t tss_t
#define TCT_TSS_DTOR_ITERATIONS TSS_DTOR_ITERATIONS
#define tct_tss_dtor_t tss_dtor_t
#define tct_tss_create tss_create
#define tct_tss_get tss_get
#define tct_tss_set tss_set
#define tct_tss_delete tss_delete
#endif /* TINYCTHREAD_THREAD_H */