summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2019-02-03 15:06:51 +0000
committertaca <taca@pkgsrc.org>2019-02-03 15:06:51 +0000
commit20fa9b6c3502ed7b7c2e3ca86982283c74ea7bfc (patch)
tree24aa508e03b7f2074b6c643df7142174526f85b1 /time
parent45c55763900f7b82d33b0414041bcbc2b1dd5d8d (diff)
downloadpkgsrc-20fa9b6c3502ed7b7c2e3ca86982283c74ea7bfc.tar.gz
time/ruby-tzinfo1: add ruby-tzinfo1
Add ruby-tzinfo version 1.2.5 as ruby-tzinfo1. This is for ruby packages require ruby-tzinfo 1.*.
Diffstat (limited to 'time')
-rw-r--r--time/ruby-tzinfo1/DESCR29
-rw-r--r--time/ruby-tzinfo1/Makefile18
-rw-r--r--time/ruby-tzinfo1/PLIST109
-rw-r--r--time/ruby-tzinfo1/distinfo6
4 files changed, 162 insertions, 0 deletions
diff --git a/time/ruby-tzinfo1/DESCR b/time/ruby-tzinfo1/DESCR
new file mode 100644
index 00000000000..274ef921588
--- /dev/null
+++ b/time/ruby-tzinfo1/DESCR
@@ -0,0 +1,29 @@
+TZInfo provides daylight savings aware transformations between times in
+different timezones.
+
+Data Sources
+------------
+
+TZInfo requires a source of timezone data. There are two built-in options:
+
+1. The TZInfo::Data library (the tzinfo-data gem). TZInfo::Data contains a set
+ of Ruby modules that are generated from the [IANA Time Zone Database](http://www.iana.org/time-zones).
+2. A zoneinfo directory. Most Unix-like systems include a zoneinfo directory
+ containing timezone definitions. These are also generated from the
+ [IANA Time Zone Database](http://www.iana.org/time-zones).
+
+By default, TZInfo::Data will be used. If TZInfo::Data is not available (i.e.
+if `require 'tzinfo/data'` fails), then TZInfo will search for a zoneinfo
+directory instead (using the search path specified by
+`TZInfo::ZoneinfoDataSource::DEFAULT_SEARCH_PATH`).
+
+If no data source can be found, a `TZInfo::DataSourceNotFound` exception will be
+raised when TZInfo is used. Further information is available
+[in the wiki](http://tzinfo.github.io/datasourcenotfound) to help with
+resolving `TZInfo::DataSourceNotFound` errors.
+
+The default data source selection can be overridden using
+`TZInfo::DataSource.set`.
+
+Custom data sources can also be used. See `TZInfo::DataSource.set` for
+further details.
diff --git a/time/ruby-tzinfo1/Makefile b/time/ruby-tzinfo1/Makefile
new file mode 100644
index 00000000000..c8022695842
--- /dev/null
+++ b/time/ruby-tzinfo1/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2019/02/03 15:06:51 taca Exp $
+
+DISTNAME= tzinfo-${VERS}
+PKGNAME= ${RUBY_PKGPREFIX}-tzinfo1-${VERS}
+CATEGORIES= time
+
+MAINTAINER= taca@NetBSD.org
+HOMEPAGE= https://tzinfo.github.io/
+COMMENT= Daylight savings aware timezone library
+LICENSE= mit
+
+DEPENDS+= ${RUBY_PKGPREFIX}-thread_safe>=0.1<1:../../misc/ruby-thread_safe
+
+VERS= 1.2.5
+USE_LANGUAGES= # none
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/ruby-tzinfo1/PLIST b/time/ruby-tzinfo1/PLIST
new file mode 100644
index 00000000000..41180371429
--- /dev/null
+++ b/time/ruby-tzinfo1/PLIST
@@ -0,0 +1,109 @@
+@comment $NetBSD: PLIST,v 1.1 2019/02/03 15:06:51 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/.yardopts
+${GEM_LIBDIR}/CHANGES.md
+${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/lib/tzinfo.rb
+${GEM_LIBDIR}/lib/tzinfo/country.rb
+${GEM_LIBDIR}/lib/tzinfo/country_index_definition.rb
+${GEM_LIBDIR}/lib/tzinfo/country_info.rb
+${GEM_LIBDIR}/lib/tzinfo/country_timezone.rb
+${GEM_LIBDIR}/lib/tzinfo/data_source.rb
+${GEM_LIBDIR}/lib/tzinfo/data_timezone.rb
+${GEM_LIBDIR}/lib/tzinfo/data_timezone_info.rb
+${GEM_LIBDIR}/lib/tzinfo/info_timezone.rb
+${GEM_LIBDIR}/lib/tzinfo/linked_timezone.rb
+${GEM_LIBDIR}/lib/tzinfo/linked_timezone_info.rb
+${GEM_LIBDIR}/lib/tzinfo/offset_rationals.rb
+${GEM_LIBDIR}/lib/tzinfo/ruby_core_support.rb
+${GEM_LIBDIR}/lib/tzinfo/ruby_country_info.rb
+${GEM_LIBDIR}/lib/tzinfo/ruby_data_source.rb
+${GEM_LIBDIR}/lib/tzinfo/time_or_datetime.rb
+${GEM_LIBDIR}/lib/tzinfo/timezone.rb
+${GEM_LIBDIR}/lib/tzinfo/timezone_definition.rb
+${GEM_LIBDIR}/lib/tzinfo/timezone_index_definition.rb
+${GEM_LIBDIR}/lib/tzinfo/timezone_info.rb
+${GEM_LIBDIR}/lib/tzinfo/timezone_offset.rb
+${GEM_LIBDIR}/lib/tzinfo/timezone_period.rb
+${GEM_LIBDIR}/lib/tzinfo/timezone_proxy.rb
+${GEM_LIBDIR}/lib/tzinfo/timezone_transition.rb
+${GEM_LIBDIR}/lib/tzinfo/timezone_transition_definition.rb
+${GEM_LIBDIR}/lib/tzinfo/transition_data_timezone_info.rb
+${GEM_LIBDIR}/lib/tzinfo/zoneinfo_country_info.rb
+${GEM_LIBDIR}/lib/tzinfo/zoneinfo_data_source.rb
+${GEM_LIBDIR}/lib/tzinfo/zoneinfo_timezone_info.rb
+${GEM_LIBDIR}/test/tc_country.rb
+${GEM_LIBDIR}/test/tc_country_index_definition.rb
+${GEM_LIBDIR}/test/tc_country_info.rb
+${GEM_LIBDIR}/test/tc_country_timezone.rb
+${GEM_LIBDIR}/test/tc_data_source.rb
+${GEM_LIBDIR}/test/tc_data_timezone.rb
+${GEM_LIBDIR}/test/tc_data_timezone_info.rb
+${GEM_LIBDIR}/test/tc_info_timezone.rb
+${GEM_LIBDIR}/test/tc_linked_timezone.rb
+${GEM_LIBDIR}/test/tc_linked_timezone_info.rb
+${GEM_LIBDIR}/test/tc_offset_rationals.rb
+${GEM_LIBDIR}/test/tc_ruby_core_support.rb
+${GEM_LIBDIR}/test/tc_ruby_country_info.rb
+${GEM_LIBDIR}/test/tc_ruby_data_source.rb
+${GEM_LIBDIR}/test/tc_time_or_datetime.rb
+${GEM_LIBDIR}/test/tc_timezone.rb
+${GEM_LIBDIR}/test/tc_timezone_definition.rb
+${GEM_LIBDIR}/test/tc_timezone_index_definition.rb
+${GEM_LIBDIR}/test/tc_timezone_info.rb
+${GEM_LIBDIR}/test/tc_timezone_london.rb
+${GEM_LIBDIR}/test/tc_timezone_melbourne.rb
+${GEM_LIBDIR}/test/tc_timezone_new_york.rb
+${GEM_LIBDIR}/test/tc_timezone_offset.rb
+${GEM_LIBDIR}/test/tc_timezone_period.rb
+${GEM_LIBDIR}/test/tc_timezone_proxy.rb
+${GEM_LIBDIR}/test/tc_timezone_transition.rb
+${GEM_LIBDIR}/test/tc_timezone_transition_definition.rb
+${GEM_LIBDIR}/test/tc_timezone_utc.rb
+${GEM_LIBDIR}/test/tc_transition_data_timezone_info.rb
+${GEM_LIBDIR}/test/tc_zoneinfo_country_info.rb
+${GEM_LIBDIR}/test/tc_zoneinfo_data_source.rb
+${GEM_LIBDIR}/test/tc_zoneinfo_timezone_info.rb
+${GEM_LIBDIR}/test/test_utils.rb
+${GEM_LIBDIR}/test/ts_all.rb
+${GEM_LIBDIR}/test/ts_all_ruby.rb
+${GEM_LIBDIR}/test/ts_all_zoneinfo.rb
+${GEM_LIBDIR}/test/tzinfo-data/tzinfo/data.rb
+${GEM_LIBDIR}/test/tzinfo-data/tzinfo/data/definitions/America/Argentina/Buenos_Aires.rb
+${GEM_LIBDIR}/test/tzinfo-data/tzinfo/data/definitions/America/New_York.rb
+${GEM_LIBDIR}/test/tzinfo-data/tzinfo/data/definitions/Australia/Melbourne.rb
+${GEM_LIBDIR}/test/tzinfo-data/tzinfo/data/definitions/EST.rb
+${GEM_LIBDIR}/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__m__1.rb
+${GEM_LIBDIR}/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__p__1.rb
+${GEM_LIBDIR}/test/tzinfo-data/tzinfo/data/definitions/Etc/UTC.rb
+${GEM_LIBDIR}/test/tzinfo-data/tzinfo/data/definitions/Europe/Amsterdam.rb
+${GEM_LIBDIR}/test/tzinfo-data/tzinfo/data/definitions/Europe/Andorra.rb
+${GEM_LIBDIR}/test/tzinfo-data/tzinfo/data/definitions/Europe/London.rb
+${GEM_LIBDIR}/test/tzinfo-data/tzinfo/data/definitions/Europe/Paris.rb
+${GEM_LIBDIR}/test/tzinfo-data/tzinfo/data/definitions/Europe/Prague.rb
+${GEM_LIBDIR}/test/tzinfo-data/tzinfo/data/definitions/UTC.rb
+${GEM_LIBDIR}/test/tzinfo-data/tzinfo/data/indexes/countries.rb
+${GEM_LIBDIR}/test/tzinfo-data/tzinfo/data/indexes/timezones.rb
+${GEM_LIBDIR}/test/tzinfo-data/tzinfo/data/version.rb
+${GEM_LIBDIR}/test/zoneinfo/America/Argentina/Buenos_Aires
+${GEM_LIBDIR}/test/zoneinfo/America/New_York
+${GEM_LIBDIR}/test/zoneinfo/Australia/Melbourne
+${GEM_LIBDIR}/test/zoneinfo/EST
+${GEM_LIBDIR}/test/zoneinfo/Etc/UTC
+${GEM_LIBDIR}/test/zoneinfo/Europe/Amsterdam
+${GEM_LIBDIR}/test/zoneinfo/Europe/Andorra
+${GEM_LIBDIR}/test/zoneinfo/Europe/London
+${GEM_LIBDIR}/test/zoneinfo/Europe/Paris
+${GEM_LIBDIR}/test/zoneinfo/Europe/Prague
+${GEM_LIBDIR}/test/zoneinfo/Factory
+${GEM_LIBDIR}/test/zoneinfo/iso3166.tab
+${GEM_LIBDIR}/test/zoneinfo/leapseconds
+${GEM_LIBDIR}/test/zoneinfo/posix/Europe/London
+${GEM_LIBDIR}/test/zoneinfo/posixrules
+${GEM_LIBDIR}/test/zoneinfo/right/Europe/London
+${GEM_LIBDIR}/test/zoneinfo/zone.tab
+${GEM_LIBDIR}/test/zoneinfo/zone1970.tab
+${GEM_LIBDIR}/tzinfo.gemspec
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/time/ruby-tzinfo1/distinfo b/time/ruby-tzinfo1/distinfo
new file mode 100644
index 00000000000..918d290fda1
--- /dev/null
+++ b/time/ruby-tzinfo1/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/02/03 15:06:51 taca Exp $
+
+SHA1 (tzinfo-1.2.5.gem) = c63e819a4ef646956bef31acec7d39ddccaff35c
+RMD160 (tzinfo-1.2.5.gem) = cfefbf80840bc193a086eb32c4c079365b0f14be
+SHA512 (tzinfo-1.2.5.gem) = 87f7cd66d6e80d51d216cb993cc76fe7758db03ffd39dde96eb24a9d208699766a8dbff048485fb732ce125ee9f971e38ed9ee1197f3ee3fc3ee8a8da840dd45
+Size (tzinfo-1.2.5.gem) = 153600 bytes