From nobody Mon Dec 26 02:35:07 2022
X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
	by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NgMMH2S6sz1HRpQ;
	Mon, 26 Dec 2022 02:35:07 +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 4NgMMH1zJkz3mBW;
	Mon, 26 Dec 2022 02:35:07 +0000 (UTC)
	(envelope-from git@FreeBSD.org)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1672022107;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding;
	bh=KzgIEqIj/lejf8XULuOqN7V0K4CmFh14Jv6GsO+RFXk=;
	b=T15yp744NWnVgajwWAzdQnNvJlO1YJA92hkxP6jWSQVw7zDI4eswsAjKoCWBkRKwoVxMJX
	9m4OuhxiROyNDmSuQ6L/SH8knlNRVPmBN12yaKS+bUYBgxNffAvyznya/u25zwFIKyoOK9
	p1UEH5X26s8CqgqHLGyVCe5ce7ALk6tgWh2LfLnECLGgmdKo/B9zCw9bfeOjJQsKLGie6o
	F/Ojlis6gV5UccJqKZXvY8DrjUUTfr8H9zbcnfmum/Ltkhmxurhd6W5f4cXLDk9Dj1LhBW
	lddSpbgqnAj6jI18dbvbUsFDP9BcsZRPMRMQlwi+LK4FK+KongiXp7pgNdxZQQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org;
	s=dkim; t=1672022107;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding;
	bh=KzgIEqIj/lejf8XULuOqN7V0K4CmFh14Jv6GsO+RFXk=;
	b=TBNkV0VNSwbvpEzUyRu9B5TNyQzO9NIh+taioKdeAMMx5/wTdBkQLytJdLzBg1/+cCMGi6
	SPFUkY4m4fjsRIx8Q3CrqutNXicK2iIIFasbgmXmhwiGhbkIqNMQ71UFHBmSjqx460eieh
	Nvhp7TabBKw8nj/CBjZRoabihE5tJpw+GRvVFDPyYdXLZ2YV/ROtDrCe+9x/HIM7qHv0GN
	DxRKjnjwvfjRm0ia+UXbKcTnReg50q17DjdMnxoQRGR0rD1P4LeSNORikNcGldreMi+CRP
	epdd65ldyUj1w8xECeqKdAgAFvPXAGNkpHTJPF+WNAldXYnr5XUXOzt9emKwjA==
ARC-Authentication-Results: i=1;
	mx1.freebsd.org;
	none
ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672022107; a=rsa-sha256; cv=none;
	b=hgFSZxxr8qgfyHlySlRvtCsjvaQX6qJN4jmoN9ssDJwJuVd9H5BrJxph6/MftuB2cJ2aKf
	kWhTN6q1Fa3MfQYOBm6xXHIBhw0O2XrQdjFmfVvdg3a0gclaU1yJra5XkobHgGIeT98PHz
	sr0cCGlUG6NL3Y6eQqR46oMz+9Pgtj8r7E1c1KDPLifXyY5sdbuLH5wEs7waExBJn3QoPW
	My2RMKB+MqPEFscuWkMawSAFedusDVLvfMvztsWrj8fPQEUH40SJaqwGvZOYPhSBcqMgBm
	ab+ity/+/X5cx/o4KvTnd+Eg7tB4IWvM0zWFsy5vfYFCD2Dmc1vr8P4TviFB7A==
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 4NgMMH0yv8zG6Q;
	Mon, 26 Dec 2022 02:35:07 +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 2BQ2Z7wT084729;
	Mon, 26 Dec 2022 02:35:07 GMT
	(envelope-from git@gitrepo.freebsd.org)
Received: (from git@localhost)
	by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BQ2Z7Z1084728;
	Mon, 26 Dec 2022 02:35:07 GMT
	(envelope-from git)
Date: Mon, 26 Dec 2022 02:35:07 GMT
Message-Id: <202212260235.2BQ2Z7Z1084728@gitrepo.freebsd.org>
To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org,
        dev-commits-ports-main@FreeBSD.org
From: Yuri Victorovich <yuri@FreeBSD.org>
Subject: git: 4a8fb590ff26 - main - finance/py-pandas-market-calendars: New port: Market and exchange trading calendars for pandas
List-Id: Commits to the main branch of the FreeBSD ports repository <dev-commits-ports-main.freebsd.org>
List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main
List-Help: <mailto:dev-commits-ports-main+help@freebsd.org>
List-Post: <mailto:dev-commits-ports-main@freebsd.org>
List-Subscribe: <mailto:dev-commits-ports-main+subscribe@freebsd.org>
List-Unsubscribe: <mailto:dev-commits-ports-main+unsubscribe@freebsd.org>
Sender: owner-dev-commits-ports-main@freebsd.org
X-BeenThere: dev-commits-ports-main@freebsd.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Git-Committer: yuri
X-Git-Repository: ports
X-Git-Refname: refs/heads/main
X-Git-Reftype: branch
X-Git-Commit: 4a8fb590ff26e8247fe52869a8fb709257f33adb
Auto-Submitted: auto-generated
X-ThisMailContainsUnwantedMimeParts: N

The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4a8fb590ff26e8247fe52869a8fb709257f33adb

commit 4a8fb590ff26e8247fe52869a8fb709257f33adb
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-12-26 02:27:05 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-12-26 02:34:59 +0000

    finance/py-pandas-market-calendars: New port: Market and exchange trading calendars for pandas
---
 finance/Makefile                             |  1 +
 finance/py-pandas-market-calendars/Makefile  | 32 ++++++++++++++++++++++++++++
 finance/py-pandas-market-calendars/distinfo  |  3 +++
 finance/py-pandas-market-calendars/pkg-descr | 13 +++++++++++
 4 files changed, 49 insertions(+)

diff --git a/finance/Makefile b/finance/Makefile
index 56b715c4819c..6935f53bd964 100644
--- a/finance/Makefile
+++ b/finance/Makefile
@@ -109,6 +109,7 @@
     SUBDIR += py-investpy
     SUBDIR += py-mplfinance
     SUBDIR += py-ofxparse
+    SUBDIR += py-pandas-market-calendars
     SUBDIR += py-pycoin
     SUBDIR += py-python-bitcoinlib
     SUBDIR += py-python-obelisk
diff --git a/finance/py-pandas-market-calendars/Makefile b/finance/py-pandas-market-calendars/Makefile
new file mode 100644
index 000000000000..61fddca5fff7
--- /dev/null
+++ b/finance/py-pandas-market-calendars/Makefile
@@ -0,0 +1,32 @@
+PORTNAME=	pandas-market-calendars
+DISTVERSIONPREFIX=	v
+DISTVERSION=	4.1.2
+CATEGORIES=	finance python
+#MASTER_SITES=	CHEESESHOP # no tests
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME:S/-/_/g}-${PORTVERSION}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Market and exchange trading calendars for pandas
+WWW=		https://github.com/rsheftel/pandas_market_calendars
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+PY_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}exchange-calendars>=3.3:finance/py-exchange-calendars@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pandas>=1.1:math/py-pandas@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR}
+BUILD_DEPENDS=	${PY_DEPENDS}
+RUN_DEPENDS=	${PY_DEPENDS}
+
+USES=		python:3.8+
+USE_PYTHON=	distutils autoplist pytest
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	rsheftel
+GH_PROJECT=	${PORTNAME:S/-/_/g}
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/finance/py-pandas-market-calendars/distinfo b/finance/py-pandas-market-calendars/distinfo
new file mode 100644
index 000000000000..6859adc19b45
--- /dev/null
+++ b/finance/py-pandas-market-calendars/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1672016958
+SHA256 (rsheftel-pandas_market_calendars-v4.1.2_GH0.tar.gz) = f83ba62c8839130b103cad34e5de03074f8c1518afa944eebe9fbe755122d6bc
+SIZE (rsheftel-pandas_market_calendars-v4.1.2_GH0.tar.gz) = 209465
diff --git a/finance/py-pandas-market-calendars/pkg-descr b/finance/py-pandas-market-calendars/pkg-descr
new file mode 100644
index 000000000000..ec58edf5ca93
--- /dev/null
+++ b/finance/py-pandas-market-calendars/pkg-descr
@@ -0,0 +1,13 @@
+The Pandas package is widely used in finance and specifically for time series
+analysis. It includes excellent functionality for generating sequences of dates
+and capabilities for custom holiday calendars, but as an explicit design choice
+it does not include the actual holiday calendars for specific exchanges or OTC
+markets.
+
+The pandas_market_calendars package looks to fill that role with the holiday,
+late open and early close calendars for specific exchanges and OTC conventions.
+pandas_market_calendars also adds several functions to manipulate the market
+calendars and includes a date_range function to create a pandas DatetimeIndex
+including only the datetimes when the markets are open. Additionally the package
+contains product specific calendars for future exchanges which have different
+market open, closes, breaks and holidays based on product type.