From nobody Sat Aug 27 10:30:43 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 4MFCdw1xYsz4b4dT; Sat, 27 Aug 2022 10:30:44 +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 4MFCdv6Wqpz3wms; Sat, 27 Aug 2022 10:30:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661596244; 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=kuWf2kQ8J7Vs3fdUjKJOX5NRnllcTPcbQL1vKklEjGU=; b=kwxnU6meH4qCMqsq1jZNJGWJKzLNFPKUum1DhVbfUcKIL9txoue3ZW/LREG/Y8Mve8yIrH ZIvyT+0dUPwWl2Aron6mOkp47uov2Pu1AQ8P63V729E9zKaNiJUbKnMOIGjmi48Jz0wdK1 xXT6MToWEg9uR2jA0SlhxQaMnO6OUb1rHqZEuPOkZwQbb/9Y/CT3MnMPeKcv2R4R3ZcnA9 j1MJMnWx5311IaCBbDUELwI30cNAL6cb2lLq2Hzj2eN9Q6W7h4D4dP1/EmdlXkawAc8713 /ji5dsl9SpwO/0TuryuOJEcX01voGmnrzd/p7kqM0g+AmV3VIx2VINUN/iLNmg== 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 4MFCdv5Tfvzjjn; Sat, 27 Aug 2022 10:30:43 +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 27RAUhft047138; Sat, 27 Aug 2022 10:30:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27RAUhRD047137; Sat, 27 Aug 2022 10:30:43 GMT (envelope-from git) Date: Sat, 27 Aug 2022 10:30:43 GMT Message-Id: <202208271030.27RAUhRD047137@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: f3e2ea8aabdc - main - devel/py-stone: Add py-stone 3.3.1 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f3e2ea8aabdcf065e3fbb74a0d0d4b8dfd9064cc Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661596244; 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=kuWf2kQ8J7Vs3fdUjKJOX5NRnllcTPcbQL1vKklEjGU=; b=JEvwsnLRL+IvfSx+q8mmP+6kJ6aCJhB04UHRcu32OJUkbKC1l9nCcQH/Cnomym422PdBJY QbMSuU4OJG1Cg2gC5PR5B+G0pn62oqZbOiMzu4W9V67uxvJw7O5u9Royu3+6g307JGxoxZ 6TX9M7ZN0FkkXHK0S9+wcVEKxwudC39dpGWu34OlWhnT/9IPU7V9ObaO/shEUeKok1Vzth wkuY2qsDsX+OZZ+ujqRqh9+Lr72+1r5U4qEB6znv2F2mjZX4aqPlLAfDAmlKDNlsLQXfVk s1RKlboX6RgEQoVywryYNw5SZk6xh2ZikBiWyzx4AEa1DhRdyFZdFGe/deEvRw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661596244; a=rsa-sha256; cv=none; b=wCxNkK2OrwWDtClltGaf/wP8XuX1Ywzt7EDSOWIL+hBBwSPMOToCfaRO2L9YUeI7XMwTh6 sWTZ0wA574uSVSfHURaNRUDG/l1Y3NlAIRv2ipW6ecPwjKmdtTOMLguqb+hIuRKQxmfLkG DfA3KRv0I/a+1IOQiZ7aRABCE3K5kQKw6QSPYZkN/xsja9KTI3LezbgkbAhCK1l2pH8fEe JgYG12mKZaExX73tOdsHc8QSL8d3g9R22KLuBtvJX1av/3pd5N47PRljPBR2vWYSiJ8Z18 SYUi5d6hcWsnHl9HWbCbwyEvn2+YGLW1Rb1gaQnDk+DoC4Jx6VOxotR4KK2LSA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=f3e2ea8aabdcf065e3fbb74a0d0d4b8dfd9064cc commit f3e2ea8aabdcf065e3fbb74a0d0d4b8dfd9064cc Author: Po-Chuan Hsieh AuthorDate: 2022-08-27 10:10:27 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-08-27 10:10:27 +0000 devel/py-stone: Add py-stone 3.3.1 The Official API Spec Language for Dropbox. WWW: https://github.com/dropbox/stone --- devel/Makefile | 1 + devel/py-stone/Makefile | 24 ++++++++++++++++++++++++ devel/py-stone/distinfo | 3 +++ devel/py-stone/files/patch-setup.py | 12 ++++++++++++ devel/py-stone/files/requirements.txt | 2 ++ devel/py-stone/pkg-descr | 3 +++ 6 files changed, 45 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 07b33620493a..974224f919ca 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5315,6 +5315,7 @@ SUBDIR += py-stdlib-list SUBDIR += py-stdnum SUBDIR += py-stevedore + SUBDIR += py-stone SUBDIR += py-stopit SUBDIR += py-strategies SUBDIR += py-streamparse diff --git a/devel/py-stone/Makefile b/devel/py-stone/Makefile new file mode 100644 index 000000000000..caeae48914bf --- /dev/null +++ b/devel/py-stone/Makefile @@ -0,0 +1,24 @@ +PORTNAME= stone +PORTVERSION= 3.3.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Interface description language (IDL) for APIs + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>=3.4:devel/py-ply@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=1.12.0:devel/py-six@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +post-patch: + @${CP} ${FILESDIR}/requirements.txt ${WRKSRC}/ + +.include diff --git a/devel/py-stone/distinfo b/devel/py-stone/distinfo new file mode 100644 index 000000000000..6cf3c14364d8 --- /dev/null +++ b/devel/py-stone/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660576686 +SHA256 (stone-3.3.1.tar.gz) = 4ef0397512f609757975f7ec09b35639d72ba7e3e17ce4ddf399578346b4cb50 +SIZE (stone-3.3.1.tar.gz) = 190888 diff --git a/devel/py-stone/files/patch-setup.py b/devel/py-stone/files/patch-setup.py new file mode 100644 index 000000000000..a21bd671c6a3 --- /dev/null +++ b/devel/py-stone/files/patch-setup.py @@ -0,0 +1,12 @@ +--- setup.py.orig 2022-01-25 21:31:58 UTC ++++ setup.py +@@ -22,9 +22,6 @@ with open('requirements.txt') as f: # pylint: disable + install_reqs += f.read().splitlines() + + setup_requires = [ +- # Pin pytest-runner to 5.2.0, since 5.3.0 uses `find_namespaces` directive, not supported in +- # Python 2.7 +- 'pytest-runner == 5.2.0', + ] + + # WARNING: This imposes limitations on test/requirements.txt such that the diff --git a/devel/py-stone/files/requirements.txt b/devel/py-stone/files/requirements.txt new file mode 100644 index 000000000000..df3799c3ccb9 --- /dev/null +++ b/devel/py-stone/files/requirements.txt @@ -0,0 +1,2 @@ +ply>= 3.4 +six>= 1.12.0 diff --git a/devel/py-stone/pkg-descr b/devel/py-stone/pkg-descr new file mode 100644 index 000000000000..1e264d0b513c --- /dev/null +++ b/devel/py-stone/pkg-descr @@ -0,0 +1,3 @@ +The Official API Spec Language for Dropbox. + +WWW: https://github.com/dropbox/stone