From nobody Mon Nov 1 13:47:00 2021 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 363A41838590; Mon, 1 Nov 2021 13:47:08 +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 4HjZ8W14l6z4kq4; Mon, 1 Nov 2021 13:47:07 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 910D2129D9; Mon, 1 Nov 2021 13:47:00 +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 1A1Dl047050922; Mon, 1 Nov 2021 13:47:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1A1Dl0fc050921; Mon, 1 Nov 2021 13:47:00 GMT (envelope-from git) Date: Mon, 1 Nov 2021 13:47:00 GMT Message-Id: <202111011347.1A1Dl0fc050921@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: 487c0229d53f - main - textproc/py-hashids: Update version in setup.py automatically 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: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: 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: 487c0229d53fb0dab711d131cffc70bea5ae6f27 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=487c0229d53fb0dab711d131cffc70bea5ae6f27 commit 487c0229d53fb0dab711d131cffc70bea5ae6f27 Author: Po-Chuan Hsieh AuthorDate: 2021-11-01 13:27:22 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-11-01 13:41:51 +0000 textproc/py-hashids: Update version in setup.py automatically --- textproc/py-hashids/Makefile | 2 +- textproc/py-hashids/files/setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/textproc/py-hashids/Makefile b/textproc/py-hashids/Makefile index 38aa8c65a293..84070edac10d 100644 --- a/textproc/py-hashids/Makefile +++ b/textproc/py-hashids/Makefile @@ -20,7 +20,7 @@ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes post-patch: - @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ + @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py do-test: cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v diff --git a/textproc/py-hashids/files/setup.py b/textproc/py-hashids/files/setup.py index f8b9328f2033..ede9026d3886 100644 --- a/textproc/py-hashids/files/setup.py +++ b/textproc/py-hashids/files/setup.py @@ -7,7 +7,7 @@ extras_require = \ {'test': ['pytest >=2.1.0']} setup(name='hashids', - version='1.3.1', + version='%%PORTVERSION%%', description='Implements the hashids algorithm in python. For more information, visit http://hashids.org/', author='David Aurelio', author_email='dev@david-aurelio.com',