git: 5fd60d879544 - main - devel/py-aiorpcX-legacy: new port for electrum

Emanuel Haupt ehaupt at FreeBSD.org
Fri Jun 18 07:19:56 UTC 2021


The branch main has been updated by ehaupt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5fd60d879544df5b3bcf01c28a311c63a4a8ae0b

commit 5fd60d879544df5b3bcf01c28a311c63a4a8ae0b
Author:     Emanuel Haupt <ehaupt at FreeBSD.org>
AuthorDate: 2021-06-18 07:16:41 +0000
Commit:     Emanuel Haupt <ehaupt at FreeBSD.org>
CommitDate: 2021-06-18 07:19:50 +0000

    devel/py-aiorpcX-legacy: new port for electrum
    
    Add legacy version of devel/py-aiorpcX in order to satisfy version
    constraints of finance/electrum. Also install register conflicts.
---
 devel/Makefile                    |  1 +
 devel/py-aiorpcX-legacy/Makefile  | 28 ++++++++++++++++++++++++++++
 devel/py-aiorpcX-legacy/distinfo  |  3 +++
 devel/py-aiorpcX-legacy/pkg-descr |  4 ++++
 devel/py-aiorpcX/Makefile         |  3 +++
 5 files changed, 39 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 148a346405bb..bc51cfee7d80 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4076,6 +4076,7 @@
     SUBDIR += py-aioitertools
     SUBDIR += py-aiologger
     SUBDIR += py-aiorpcX
+    SUBDIR += py-aiorpcX-legacy
     SUBDIR += py-aiortc
     SUBDIR += py-amalgamate
     SUBDIR += py-aniso8601
diff --git a/devel/py-aiorpcX-legacy/Makefile b/devel/py-aiorpcX-legacy/Makefile
new file mode 100644
index 000000000000..d3a1db84a02f
--- /dev/null
+++ b/devel/py-aiorpcX-legacy/Makefile
@@ -0,0 +1,28 @@
+# Created by: Emanuel Haupt <ehaupt at FreeBSD.org>
+
+PORTNAME=	aiorpcX
+PORTVERSION=	0.18.7
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX=	-legacy
+
+MAINTAINER=	ehaupt at FreeBSD.org
+COMMENT=	Generic async RPC implementation, including JSON-RPC
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}attrs>=0:devel/py-attrs@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}websockets>=0:devel/py-websockets@${PY_FLAVOR}
+
+USES=		python:3.8+
+USE_PYTHON=	autoplist distutils
+
+CONFLICTS_INSTALL=	py[0-9]*-aiorpcX
+
+NO_ARCH=	yes
+
+# for newer versions use devel/py-aiorpcX
+PORTSCOUT=	ignore:1
+
+.include <bsd.port.mk>
diff --git a/devel/py-aiorpcX-legacy/distinfo b/devel/py-aiorpcX-legacy/distinfo
new file mode 100644
index 000000000000..40d55922f071
--- /dev/null
+++ b/devel/py-aiorpcX-legacy/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1623997743
+SHA256 (aiorpcX-0.18.7.tar.gz) = 808a9ec9172df11677a0f7b459b69d1a6cf8b19c19da55541fa31fb1afce5ce7
+SIZE (aiorpcX-0.18.7.tar.gz) = 28206
diff --git a/devel/py-aiorpcX-legacy/pkg-descr b/devel/py-aiorpcX-legacy/pkg-descr
new file mode 100644
index 000000000000..74eaada27448
--- /dev/null
+++ b/devel/py-aiorpcX-legacy/pkg-descr
@@ -0,0 +1,4 @@
+A generic asyncio library implementation of RPC suitable for an application that
+is a client, server or both.
+
+WWW: https://pypi.org/project/aiorpcX/
diff --git a/devel/py-aiorpcX/Makefile b/devel/py-aiorpcX/Makefile
index 2f4c82990314..a8f80345ba8e 100644
--- a/devel/py-aiorpcX/Makefile
+++ b/devel/py-aiorpcX/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	aiorpcX
 PORTVERSION=	0.22.1
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
@@ -18,6 +19,8 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}attrs>=0:devel/py-attrs@${PY_FLAVOR} \
 USES=		python:3.8+
 USE_PYTHON=	autoplist distutils
 
+CONFLICTS_INSTALL=	py[0-9]*-aiorpcX-legacy
+
 NO_ARCH=	yes
 
 .include <bsd.port.mk>


More information about the dev-commits-ports-main mailing list