From nobody Sun Jul 21 09:59:47 2024 X-Original-To: dev-commits-ports-all@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 4WRf5w1gpjz5RBKY; Sun, 21 Jul 2024 09:59:48 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WRf5v6s8Gz4vRY; Sun, 21 Jul 2024 09:59:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721555988; 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=V/BK4VBmwwPhSQtpc9d6HlYp8uN9+JNAZJ8yKzRYnDQ=; b=Ee7h2gMYJzFJknGzqWRn7fuDtiRfIeN396TQHmIpe8VuzMVbcbQMW9pW0jSe8m+5sXKBrJ km86je4PoYS+epJRULrUU4p8XGbWQ+0np87buTPwGqmtBl7AlKg75pT7PkAUOiZkqvlHsv oG3DgNExto+vbMrTmcoofMwpAn6h8gBa2iddtOS0Zd88RVlyQxfl4I2/2R/N6SA8q7Jl5d KumMRsIIZyA5K1cGAx7SHP4939l59m74DnCabYhNMYuWmcW9xJ3kNz8BGTtnuzbEFwBYWd 48ByabAsOCa99m8+DgYH/4ZoKi8tAxw+u8ZrN956BNuBUZdE2GI7nfQ5nLTLyw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721555988; a=rsa-sha256; cv=none; b=QjFDjykykKkigNvEKnz3TwjkkhkciMdKLnsf6lpy3ne2YjzkpY8v0/QZxe37+A3x5Wo8Nh nEK72gGlVwZRNegXJrc8RRqdBmIiQHtfMbO46+5Bo5WAld1vHkxvTjZHiI/JDoD1DjBIHV q0iY5xDqYbTBANV+E0YZtRmSHLEZOHWO3sBFtEM7CfeYoaH3V/CDOej1i9rbo72SJbujZw AsarWmzfg/o7wOaQwgYXMlXCl5rb9mPSsl4yIEG4NYDXEu8ImIJ8ygFhk0tCwWZJqd9hFj kRz9WVJGnK3AE1QCiy415ei3Fk7mPr13mOKrc5mDFySE3bvJd+P06iVTHgwv9w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721555988; 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=V/BK4VBmwwPhSQtpc9d6HlYp8uN9+JNAZJ8yKzRYnDQ=; b=Hs8M64Ifd9hTZHHpGyB9wJxJRtRP8vzcEcB5e8B1I1UhhFI2RZNgREmH0IwfUSI0ak8JzN B8bJZ+Ms1nJj4iG5SvaQJAHEXGnF3Zk2BYD+7brI7FzNNqBi60gtJFUismJlDN0sjDPMCN WrMQDD6sz9N0Fa+r6V8pxjhxmae7JiEpIeN+/+1OkTgPm0XXs+wbkA1R1DoK373p2j+0/s 3+wIu4wXfR3aYJGKIlCqsqIWjKwxG9nNrYYIKssroJvNxjUiyjOCJpiRQI5OtcKodegGHP XIck/LjR06F3aroHpOvZA13vUnxgKKrWpdVXCR7WVq3HjyCfif3zq6BkvqjANA== 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 4WRf5v6RvLzvnS; Sun, 21 Jul 2024 09:59:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46L9xlUF078485; Sun, 21 Jul 2024 09:59:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46L9xlTY078482; Sun, 21 Jul 2024 09:59:47 GMT (envelope-from git) Date: Sun, 21 Jul 2024 09:59:47 GMT Message-Id: <202407210959.46L9xlTY078482@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: 2c514f74a30c - main - devel/py-xrootd: Add py-xrootd 5.7.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org 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: 2c514f74a30c33c214a703ac7ec1d4a2a9796ac7 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=2c514f74a30c33c214a703ac7ec1d4a2a9796ac7 commit 2c514f74a30c33c214a703ac7ec1d4a2a9796ac7 Author: Po-Chuan Hsieh AuthorDate: 2024-07-21 09:55:11 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-07-21 09:55:11 +0000 devel/py-xrootd: Add py-xrootd 5.7.0 The XRootD project provides a high-performance, fault-tolerant, and secure solution for handling massive amounts of data distributed across multiple storage resources, such as disk servers, tape libraries, and remote sites. It enables efficient data access and movement in a transparent and uniform manner, regardless of the underlying storage technology or location. It was initially developed by the High Energy Physics (HEP) community to meet the data storage and access requirements of the BaBar experiment at SLAC and later extended to meet the needs of experiments at the Large Hadron Collider (LHC) at CERN. XRootD is the core technology powering the EOS distributed filesystem, which is the storage solution used by LHC experiments and the storage backend for CERNBox. XRootD is also used as the core technology for global CDN deployments across multiple science domains. XRootD is based on a scalable architecture that supports multi-protocol communications. XRootD provides a set of plugins and tools that allows the user to configure it freely to deploy data access clusters of any size, and which can include sophisticated features such as erasure coded files, various methods of authentication and authorization, as well as integration with other storage systems like ceph. This port is the Python binding for XRootD. --- databases/Makefile | 1 + databases/py-xrootd/Makefile | 28 ++++++++++++++++++++++++++++ databases/py-xrootd/distinfo | 3 +++ databases/py-xrootd/files/patch-setup.py | 11 +++++++++++ databases/py-xrootd/pkg-descr | 21 +++++++++++++++++++++ 5 files changed, 64 insertions(+) diff --git a/databases/Makefile b/databases/Makefile index 1e6dbfa87208..a48c28daf7f0 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -841,6 +841,7 @@ SUBDIR += py-varstack SUBDIR += py-whisper SUBDIR += py-xapian + SUBDIR += py-xrootd SUBDIR += py-zodbpickle SUBDIR += pythoncego SUBDIR += qdbm diff --git a/databases/py-xrootd/Makefile b/databases/py-xrootd/Makefile new file mode 100644 index 000000000000..5863652e0c0d --- /dev/null +++ b/databases/py-xrootd/Makefile @@ -0,0 +1,28 @@ +PORTNAME= xrootd +PORTVERSION= 5.7.0 +CATEGORIES= databases python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Python binding for XRootD (eXtended ROOT Daemon) +WWW= https://xrootd.slac.stanford.edu/ \ + https://github.com/xrootd/xrootd/tree/master/bindings/python \ + https://github.com/xrootd/xrootd + +LICENSE= LGPL3+ +LICENSE_FILE= ${WRKSRC}/../../COPYING.LGPL + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +LIB_DEPENDS= libXrdCl.so:databases/xrootd + +USES= cmake:indirect python +USE_PYTHON= autoplist concurrent pep517 + +WRKSRC_SUBDIR= bindings/python + +post-install: + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + + +.include diff --git a/databases/py-xrootd/distinfo b/databases/py-xrootd/distinfo new file mode 100644 index 000000000000..7fcb0e090c4d --- /dev/null +++ b/databases/py-xrootd/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1721499006 +SHA256 (xrootd-5.7.0.tar.gz) = 453bda26b2492580f90d374974905a5446bfffa749952337ca21cd25c19ef24c +SIZE (xrootd-5.7.0.tar.gz) = 6812420 diff --git a/databases/py-xrootd/files/patch-setup.py b/databases/py-xrootd/files/patch-setup.py new file mode 100644 index 000000000000..6c1b4166b20c --- /dev/null +++ b/databases/py-xrootd/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2024-07-01 06:56:54 UTC ++++ setup.py +@@ -118,7 +118,7 @@ class CMakeBuild(build_ext): + os.makedirs(self.build_temp) + + check_call([cmake, ext.src, '-B', self.build_temp] + cmake_args) +- check_call([cmake, '--build', self.build_temp, '--parallel']) ++ check_call([cmake, '--build', self.build_temp]) + + version = get_version() + diff --git a/databases/py-xrootd/pkg-descr b/databases/py-xrootd/pkg-descr new file mode 100644 index 000000000000..588f78fa126b --- /dev/null +++ b/databases/py-xrootd/pkg-descr @@ -0,0 +1,21 @@ +The XRootD project provides a high-performance, fault-tolerant, and secure +solution for handling massive amounts of data distributed across multiple +storage resources, such as disk servers, tape libraries, and remote sites. It +enables efficient data access and movement in a transparent and uniform manner, +regardless of the underlying storage technology or location. It was initially +developed by the High Energy Physics (HEP) community to meet the data storage +and access requirements of the BaBar experiment at SLAC and later extended to +meet the needs of experiments at the Large Hadron Collider (LHC) at CERN. XRootD +is the core technology powering the EOS distributed filesystem, which is the +storage solution used by LHC experiments and the storage backend for CERNBox. +XRootD is also used as the core technology for global CDN deployments across +multiple science domains. + +XRootD is based on a scalable architecture that supports multi-protocol +communications. XRootD provides a set of plugins and tools that allows the user +to configure it freely to deploy data access clusters of any size, and which can +include sophisticated features such as erasure coded files, various methods of +authentication and authorization, as well as integration with other storage +systems like ceph. + +This port is the Python binding for XRootD.