aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2015-08-19 00:04:13 +0800
committerolgeni <olgeni@FreeBSD.org>2015-08-19 00:04:13 +0800
commitd616207a08973a75f2347202f438734ad5dc7c3a (patch)
tree2bb2e36f14a4d7151d2881d40a8e8e3913289b7c /databases
parent585ad090d950722fb4a2aa34f689dfe485aac8e4 (diff)
downloadfreebsd-ports-gnome-d616207a08973a75f2347202f438734ad5dc7c3a.tar.gz
freebsd-ports-gnome-d616207a08973a75f2347202f438734ad5dc7c3a.tar.zst
freebsd-ports-gnome-d616207a08973a75f2347202f438734ad5dc7c3a.zip
Upgrade to version 0.16.0.
Add POSTGREX and MARIAEX options to depend on adapters.
Diffstat (limited to 'databases')
-rw-r--r--databases/elixir-ecto/Makefile18
-rw-r--r--databases/elixir-ecto/distinfo4
-rw-r--r--databases/elixir-ecto/pkg-plist20
3 files changed, 34 insertions, 8 deletions
diff --git a/databases/elixir-ecto/Makefile b/databases/elixir-ecto/Makefile
index afcfa7daaed0..f12aad62511c 100644
--- a/databases/elixir-ecto/Makefile
+++ b/databases/elixir-ecto/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= ecto
-PORTVERSION= 0.14.3
+PORTVERSION= 0.16.0
DISTVERSIONPREFIX= v
CATEGORIES= databases
PKGNAMEPREFIX= elixir-
@@ -15,10 +15,26 @@ USES= elixir
USE_GITHUB= yes
GH_ACCOUNT= elixir-lang
+OPTIONS_DEFINE= POSTGREX MARIAEX
+OPTIONS_SUB= yes
+POSTGREX_DESC= PostgreSQL adapter support
+MARIAEX_DESC= MySQL adapter support
+
MIX_BUILD_NAME= shared
MIX_BUILD_DEPS= devel/elixir-decimal \
devel/elixir-poison \
devel/erlang-poolboy
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MPOSTGREX}
+MIX_BUILD_DEPS+=databases/elixir-postgrex
+.endif
+
+.if ${PORT_OPTIONS:MMARIAEX}
+MIX_BUILD_DEPS+=databases/elixir-mariaex
+.endif
+
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
MIX_REWRITE= yes
diff --git a/databases/elixir-ecto/distinfo b/databases/elixir-ecto/distinfo
index 57282adc9562..98cd6acd5de0 100644
--- a/databases/elixir-ecto/distinfo
+++ b/databases/elixir-ecto/distinfo
@@ -1,2 +1,2 @@
-SHA256 (elixir-lang-ecto-v0.14.3_GH0.tar.gz) = e23bcdb7a31505ae5fdb18b83ce612d3632680aee8859bbb76eb5d61f51e6dfe
-SIZE (elixir-lang-ecto-v0.14.3_GH0.tar.gz) = 191285
+SHA256 (elixir-lang-ecto-v0.16.0_GH0.tar.gz) = 05ebfd64bdc30aa7470389129ca03d4977d627e9fa49f699d065286303a3224c
+SIZE (elixir-lang-ecto-v0.16.0_GH0.tar.gz) = 208076
diff --git a/databases/elixir-ecto/pkg-plist b/databases/elixir-ecto/pkg-plist
index 5d695b06d241..8ff4942113d2 100644
--- a/databases/elixir-ecto/pkg-plist
+++ b/databases/elixir-ecto/pkg-plist
@@ -3,7 +3,10 @@ lib/elixir/lib/ecto/ebin/Elixir.Ecto.Adapter.Storage.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Adapter.Transaction.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Adapter.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Adapters.Connection.beam
+%%MARIAEX%%lib/elixir/lib/ecto/ebin/Elixir.Ecto.Adapters.MySQL.Connection.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Adapters.MySQL.beam
+%%POSTGREX%%lib/elixir/lib/ecto/ebin/Elixir.Ecto.Adapters.Postgres.Connection.beam
+%%POSTGREX%%lib/elixir/lib/ecto/ebin/Elixir.Ecto.Adapters.Postgres.DateTime.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Adapters.Postgres.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Adapters.SQL.Query.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Adapters.SQL.Sandbox.beam
@@ -15,9 +18,11 @@ lib/elixir/lib/ecto/ebin/Elixir.Ecto.Association.NotLoaded.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Association.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.CastError.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.ChangeError.beam
+lib/elixir/lib/ecto/ebin/Elixir.Ecto.Changeset.Relation.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Changeset.beam
+lib/elixir/lib/ecto/ebin/Elixir.Ecto.ConstraintError.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Date.beam
-lib/elixir/lib/ecto/ebin/Elixir.Ecto.DateTime.Util.beam
+lib/elixir/lib/ecto/ebin/Elixir.Ecto.DateTime.Utils.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.DateTime.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Embedded.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.InvalidChangesetError.beam
@@ -31,7 +36,6 @@ lib/elixir/lib/ecto/ebin/Elixir.Ecto.Migration.Table.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Migration.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.MigrationError.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Migrator.beam
-lib/elixir/lib/ecto/ebin/Elixir.Ecto.MissingPrimaryKeyError.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Model.Autogenerate.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Model.Callbacks.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Model.Dependent.beam
@@ -39,7 +43,8 @@ lib/elixir/lib/ecto/ebin/Elixir.Ecto.Model.OptimisticLock.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Model.Timestamps.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Model.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.MultipleResultsError.beam
-lib/elixir/lib/ecto/ebin/Elixir.Ecto.NoPrimaryKeyError.beam
+lib/elixir/lib/ecto/ebin/Elixir.Ecto.NoPrimaryKeyFieldError.beam
+lib/elixir/lib/ecto/ebin/Elixir.Ecto.NoPrimaryKeyValueError.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.NoResultsError.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Pool.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Pools.Poolboy.Worker.beam
@@ -48,6 +53,7 @@ lib/elixir/lib/ecto/ebin/Elixir.Ecto.Pools.SojournBroker.CoDel.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Pools.SojournBroker.Timeout.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Pools.SojournBroker.Worker.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Pools.SojournBroker.beam
+lib/elixir/lib/ecto/ebin/Elixir.Ecto.Query.API.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Query.Builder.Distinct.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Query.Builder.Filter.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Query.Builder.From.beam
@@ -74,10 +80,10 @@ lib/elixir/lib/ecto/ebin/Elixir.Ecto.Queryable.Ecto.Query.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Queryable.Tuple.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Queryable.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Repo.Assoc.beam
-lib/elixir/lib/ecto/ebin/Elixir.Ecto.Repo.Config.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Repo.Model.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Repo.Preloader.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Repo.Queryable.beam
+lib/elixir/lib/ecto/ebin/Elixir.Ecto.Repo.Supervisor.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Repo.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Schema.Metadata.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Schema.beam
@@ -86,11 +92,13 @@ lib/elixir/lib/ecto/ebin/Elixir.Ecto.Storage.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Time.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.Type.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.UUID.beam
+lib/elixir/lib/ecto/ebin/Elixir.Ecto.UnmachedRelationError.beam
lib/elixir/lib/ecto/ebin/Elixir.Ecto.beam
lib/elixir/lib/ecto/ebin/Elixir.Inspect.Ecto.Association.NotLoaded.beam
lib/elixir/lib/ecto/ebin/Elixir.Inspect.Ecto.Date.beam
lib/elixir/lib/ecto/ebin/Elixir.Inspect.Ecto.DateTime.beam
lib/elixir/lib/ecto/ebin/Elixir.Inspect.Ecto.Query.beam
+lib/elixir/lib/ecto/ebin/Elixir.Inspect.Ecto.Schema.Metadata.beam
lib/elixir/lib/ecto/ebin/Elixir.Inspect.Ecto.Time.beam
lib/elixir/lib/ecto/ebin/Elixir.Mix.Ecto.beam
lib/elixir/lib/ecto/ebin/Elixir.Mix.Tasks.Ecto.Create.beam
@@ -123,6 +131,7 @@ lib/elixir/lib/ecto/lib/ecto/adapters/sql/query.ex
lib/elixir/lib/ecto/lib/ecto/adapters/sql/sandbox.ex
lib/elixir/lib/ecto/lib/ecto/association.ex
lib/elixir/lib/ecto/lib/ecto/changeset.ex
+lib/elixir/lib/ecto/lib/ecto/changeset/relation.ex
lib/elixir/lib/ecto/lib/ecto/datetime.ex
lib/elixir/lib/ecto/lib/ecto/embedded.ex
lib/elixir/lib/ecto/lib/ecto/exceptions.ex
@@ -146,6 +155,7 @@ lib/elixir/lib/ecto/lib/ecto/pools/sojourn_broker/codel.ex
lib/elixir/lib/ecto/lib/ecto/pools/sojourn_broker/timeout.ex
lib/elixir/lib/ecto/lib/ecto/pools/sojourn_broker/worker.ex
lib/elixir/lib/ecto/lib/ecto/query.ex
+lib/elixir/lib/ecto/lib/ecto/query/api.ex
lib/elixir/lib/ecto/lib/ecto/query/builder.ex
lib/elixir/lib/ecto/lib/ecto/query/builder/distinct.ex
lib/elixir/lib/ecto/lib/ecto/query/builder/filter.ex
@@ -163,10 +173,10 @@ lib/elixir/lib/ecto/lib/ecto/query/planner.ex
lib/elixir/lib/ecto/lib/ecto/queryable.ex
lib/elixir/lib/ecto/lib/ecto/repo.ex
lib/elixir/lib/ecto/lib/ecto/repo/assoc.ex
-lib/elixir/lib/ecto/lib/ecto/repo/config.ex
lib/elixir/lib/ecto/lib/ecto/repo/model.ex
lib/elixir/lib/ecto/lib/ecto/repo/preloader.ex
lib/elixir/lib/ecto/lib/ecto/repo/queryable.ex
+lib/elixir/lib/ecto/lib/ecto/repo/supervisor.ex
lib/elixir/lib/ecto/lib/ecto/schema.ex
lib/elixir/lib/ecto/lib/ecto/storage.ex
lib/elixir/lib/ecto/lib/ecto/type.ex