diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-10 20:30:09 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 20:30:09 +0000 |
| commit | 3f65678719501bea9bef1d6f9c9ca948481bd805 (patch) | |
| tree | 2bb181b700a51f6244d6555e4d3be12466578701 | |
| parent | bfdfcf47f939e836032c7a9153c230441a43778a (diff) | |
automatic import of python-recurring-ical-events
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-recurring-ical-events.spec | 143 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 145 insertions, 0 deletions
@@ -0,0 +1 @@ +/recurring_ical_events-2.0.2.tar.gz diff --git a/python-recurring-ical-events.spec b/python-recurring-ical-events.spec new file mode 100644 index 0000000..5a19abb --- /dev/null +++ b/python-recurring-ical-events.spec @@ -0,0 +1,143 @@ +%global _empty_manifest_terminate_build 0 +Name: python-recurring-ical-events +Version: 2.0.2 +Release: 1 +Summary: A Python module which repeats ICalendar events by RRULE, RDATE and EXDATE. +License: LGPLv3+ +URL: https://github.com/niccokunzmann/python-recurring-ical-events +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ec/97/7a54ae3154fb40ef8d7fae9e2e7c7c562e391b7e65574c73940c7c17a4f4/recurring_ical_events-2.0.2.tar.gz +BuildArch: noarch + +Requires: python3-icalendar +Requires: python3-pytz +Requires: python3-dateutil +Requires: python3-x-wr-timezone +Requires: python3-x-wr-timezone + +%description +ICal has some complexity to it: +Events, TODOs and Journal entries can be repeated, removed from the feed and edited later on. +This tool takes care of these circumstances. +Let's put our expertise together and build a tool that can solve this! +* day light saving time (DONE) +* recurring events (DONE) +* recurring events with edits (DONE) +* recurring events where events are omitted (DONE) +* recurring events events where the edit took place later (DONE) +* normal events (DONE) +* recurrence of dates but not hours, minutes, and smaller (DONE) +* endless recurrence (DONE) +* ending recurrence (DONE) +* events with start date and no end date (DONE) +* events with start as date and start as datetime (DONE) +* `RRULE <https://www.kanzaki.com/docs/ical/rrule.html>`_ (DONE) +* `RDATE <https://www.kanzaki.com/docs/ical/rdate.html>`_ (DONE) +* `DURATION <https://www.kanzaki.com/docs/ical/duration.html>`_ (DONE) +* `EXDATE <https://www.kanzaki.com/docs/ical/exdate.html>`_ (DONE) +* `X-WR-TIMEZONE` compatibilty (DONE) +Not included: +* EXRULE (deprecated), see `8.3.2. Properties Registry + <https://tools.ietf.org/html/rfc5545#section-8.3.2>`_ + +%package -n python3-recurring-ical-events +Summary: A Python module which repeats ICalendar events by RRULE, RDATE and EXDATE. +Provides: python-recurring-ical-events +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-recurring-ical-events +ICal has some complexity to it: +Events, TODOs and Journal entries can be repeated, removed from the feed and edited later on. +This tool takes care of these circumstances. +Let's put our expertise together and build a tool that can solve this! +* day light saving time (DONE) +* recurring events (DONE) +* recurring events with edits (DONE) +* recurring events where events are omitted (DONE) +* recurring events events where the edit took place later (DONE) +* normal events (DONE) +* recurrence of dates but not hours, minutes, and smaller (DONE) +* endless recurrence (DONE) +* ending recurrence (DONE) +* events with start date and no end date (DONE) +* events with start as date and start as datetime (DONE) +* `RRULE <https://www.kanzaki.com/docs/ical/rrule.html>`_ (DONE) +* `RDATE <https://www.kanzaki.com/docs/ical/rdate.html>`_ (DONE) +* `DURATION <https://www.kanzaki.com/docs/ical/duration.html>`_ (DONE) +* `EXDATE <https://www.kanzaki.com/docs/ical/exdate.html>`_ (DONE) +* `X-WR-TIMEZONE` compatibilty (DONE) +Not included: +* EXRULE (deprecated), see `8.3.2. Properties Registry + <https://tools.ietf.org/html/rfc5545#section-8.3.2>`_ + +%package help +Summary: Development documents and examples for recurring-ical-events +Provides: python3-recurring-ical-events-doc +%description help +ICal has some complexity to it: +Events, TODOs and Journal entries can be repeated, removed from the feed and edited later on. +This tool takes care of these circumstances. +Let's put our expertise together and build a tool that can solve this! +* day light saving time (DONE) +* recurring events (DONE) +* recurring events with edits (DONE) +* recurring events where events are omitted (DONE) +* recurring events events where the edit took place later (DONE) +* normal events (DONE) +* recurrence of dates but not hours, minutes, and smaller (DONE) +* endless recurrence (DONE) +* ending recurrence (DONE) +* events with start date and no end date (DONE) +* events with start as date and start as datetime (DONE) +* `RRULE <https://www.kanzaki.com/docs/ical/rrule.html>`_ (DONE) +* `RDATE <https://www.kanzaki.com/docs/ical/rdate.html>`_ (DONE) +* `DURATION <https://www.kanzaki.com/docs/ical/duration.html>`_ (DONE) +* `EXDATE <https://www.kanzaki.com/docs/ical/exdate.html>`_ (DONE) +* `X-WR-TIMEZONE` compatibilty (DONE) +Not included: +* EXRULE (deprecated), see `8.3.2. Properties Registry + <https://tools.ietf.org/html/rfc5545#section-8.3.2>`_ + +%prep +%autosetup -n recurring-ical-events-2.0.2 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-recurring-ical-events -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.2-1 +- Package Spec generated @@ -0,0 +1 @@ +91b76ccd91963441cba65db700740dec recurring_ical_events-2.0.2.tar.gz |
