Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Oct 2020 07:43:43 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r551859 - in head/devel: . py-poetry-core py-poetry-core/files
Message-ID:  <202010100743.09A7hhZF062482@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Oct 10 07:43:42 2020
New Revision: 551859
URL: https://svnweb.freebsd.org/changeset/ports/551859

Log:
  Add py-poetry-core 1.0.0
  
  Poetry Core is a PEP 517 build backend implementation developed for Poetry. This
  project is intended to be a light weight, fully compliant, self-contained
  package allowing PEP 517 compatible build frontends to build Poetry managed
  projects.
  
  WWW: https://github.com/python-poetry/poetry-core

Added:
  head/devel/py-poetry-core/
  head/devel/py-poetry-core/Makefile   (contents, props changed)
  head/devel/py-poetry-core/distinfo   (contents, props changed)
  head/devel/py-poetry-core/files/
  head/devel/py-poetry-core/files/patch-setup.py   (contents, props changed)
  head/devel/py-poetry-core/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat Oct 10 07:11:46 2020	(r551858)
+++ head/devel/Makefile	Sat Oct 10 07:43:42 2020	(r551859)
@@ -4781,6 +4781,7 @@
     SUBDIR += py-ply
     SUBDIR += py-pockets
     SUBDIR += py-podcastparser
+    SUBDIR += py-poetry-core
     SUBDIR += py-polib
     SUBDIR += py-pooch
     SUBDIR += py-portalocker

Added: head/devel/py-poetry-core/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-poetry-core/Makefile	Sat Oct 10 07:43:42 2020	(r551859)
@@ -0,0 +1,27 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	poetry-core
+PORTVERSION=	1.0.0
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Poetry PEP 517 Build Backend
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3800
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=1.7.0:devel/py-importlib-metadata@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>

Added: head/devel/py-poetry-core/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-poetry-core/distinfo	Sat Oct 10 07:43:42 2020	(r551859)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1601996440
+SHA256 (poetry-core-1.0.0.tar.gz) = 6a664ff389b9f45382536f8fa1611a0cb4d2de7c5a5c885db1f0c600cd11fbd5
+SIZE (poetry-core-1.0.0.tar.gz) = 333868

Added: head/devel/py-poetry-core/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-poetry-core/files/patch-setup.py	Sat Oct 10 07:43:42 2020	(r551859)
@@ -0,0 +1,11 @@
+--- setup.py.orig	2020-09-30 23:13:15 UTC
++++ setup.py
+@@ -44,7 +44,7 @@ extras_require = \
+                                                          'typing>=3.7.4.1,<4.0.0.0',
+                                                          'enum34>=1.1.10,<2.0.0',
+                                                          'functools32>=3.2.3-2,<4.0.0'],
+- ':python_version >= "2.7" and python_version < "2.8" or python_version >= "3.5" and python_version < "3.8"': ['importlib-metadata>=1.7.0,<2.0.0']}
++ ':python_version >= "2.7" and python_version < "2.8" or python_version >= "3.5" and python_version < "3.8"': ['importlib-metadata>=1.7.0']}
+ 
+ setup_kwargs = {
+     'name': 'poetry-core',

Added: head/devel/py-poetry-core/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-poetry-core/pkg-descr	Sat Oct 10 07:43:42 2020	(r551859)
@@ -0,0 +1,6 @@
+Poetry Core is a PEP 517 build backend implementation developed for Poetry. This
+project is intended to be a light weight, fully compliant, self-contained
+package allowing PEP 517 compatible build frontends to build Poetry managed
+projects.
+
+WWW: https://github.com/python-poetry/poetry-core



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010100743.09A7hhZF062482>