From owner-dev-commits-ports-all@freebsd.org Sun Sep 19 06:07:22 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1438F6ABC5E; Sun, 19 Sep 2021 06:07:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HBxzs3gxyz3Mkl; Sun, 19 Sep 2021 06:07:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4FB99183AC; Sun, 19 Sep 2021 06:07:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 18J67KpS053106; Sun, 19 Sep 2021 06:07:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18J67K6h053105; Sun, 19 Sep 2021 06:07:20 GMT (envelope-from git) Date: Sun, 19 Sep 2021 06:07:20 GMT Message-Id: <202109190607.18J67K6h053105@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: d350da2e9f0f - main - databases/pear-DB_DataObject: Change the way *_DEPENDS are set MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d350da2e9f0f95963cae442478eab89076e2dc54 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Sep 2021 06:07:22 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=d350da2e9f0f95963cae442478eab89076e2dc54 commit d350da2e9f0f95963cae442478eab89076e2dc54 Author: Po-Chuan Hsieh AuthorDate: 2021-09-19 05:28:52 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-09-19 05:59:57 +0000 databases/pear-DB_DataObject: Change the way *_DEPENDS are set - Remove BUILD_DEPENDS - Update version requirement of RUN_DEPENDS - Add NO_ARCH - Update options: - Remove PEAR_/PEAR:: prefix - Add DB option - Update pkg-descr --- databases/pear-DB_DataObject/Makefile | 19 ++++++++++--------- databases/pear-DB_DataObject/pkg-descr | 7 ++++--- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/databases/pear-DB_DataObject/Makefile b/databases/pear-DB_DataObject/Makefile index d1ec72d354ad..c3e3ecb0bb34 100644 --- a/databases/pear-DB_DataObject/Makefile +++ b/databases/pear-DB_DataObject/Makefile @@ -11,19 +11,20 @@ COMMENT= SQL Builder, Object Interface to Database Tables LICENSE= PHP301 LICENSE_FILE= ${WRKSRC}/docs/LICENCE.txt -BUILD_DEPENDS= ${PEAR_PKGNAMEPREFIX}DB>=1.9.3:databases/pear-DB@${PHP_FLAVOR} \ - ${PEAR_PKGNAMEPREFIX}Date>=1.4.7:devel/pear-Date@${PHP_FLAVOR} -RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}DB>=1.9.3:databases/pear-DB@${PHP_FLAVOR} \ - ${PEAR_PKGNAMEPREFIX}Date>=1.4.7:devel/pear-Date@${PHP_FLAVOR} +RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}Date>=1.4.3:devel/pear-Date@${PHP_FLAVOR} USES= pear -OPTIONS_DEFINE= PEAR_MDB2 PEAR_VALIDATE +NO_ARCH= yes -PEAR_MDB2_DESC= PEAR::MDB2 support -PEAR_VALIDATE_DESC= PEAR::Validate support +OPTIONS_DEFINE= DB MDB2 VALIDATE +OPTIONS_DEFAULT=DB +DB_DESC= DB support +MDB2_DESC= MDB2 support +VALIDATE_DESC= Validate support -PEAR_MDB2_RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}MDB2>=2.5.0.b5:databases/pear-MDB2@${PHP_FLAVOR} -PEAR_VALIDATE_RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}Validate>=0.8.5:devel/pear-Validate@${PHP_FLAVOR} +DB_RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}DB>=1.7.0:databases/pear-DB@${PHP_FLAVOR} +MDB2_RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}MDB2>=2.0.0.r1:databases/pear-MDB2@${PHP_FLAVOR} +VALIDATE_RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}Validate>=0.1.1:devel/pear-Validate@${PHP_FLAVOR} .include diff --git a/databases/pear-DB_DataObject/pkg-descr b/databases/pear-DB_DataObject/pkg-descr index 1974d857719c..e09c9e08a401 100644 --- a/databases/pear-DB_DataObject/pkg-descr +++ b/databases/pear-DB_DataObject/pkg-descr @@ -1,8 +1,9 @@ -PEAR::DB_DataObject performs 2 tasks: +DataObject performs 2 tasks: 1. Builds SQL statements based on the objects vars and the builder methods. 2. acts as a datastore for a table row. + The core class is designed to be extended for each of your tables so that you -put the data logic inside the data classes. -included is a Generator to make your configuration files and your base classes. +put the data logic inside the data classes. A generator is included to make your +configuration files and your base classes. WWW: https://pear.php.net/package/DB_DataObject