From nobody Sun Nov 06 19:53:57 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 4N54n21Mt8z4gyRr; Sun, 6 Nov 2022 19:53:58 +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 4N54n15lVqz43K4; Sun, 6 Nov 2022 19:53:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667764437; 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=9QtgdVgZCJitIl6GTCPI+0fwC70x72BNMfpytzHnaoo=; b=GOz2fLx6DdftVWxbrevlu0eir9Q9cAJ492ZXzrQf8dIqmIwd6bM/f9wTEqnVj2yRu7TSMv JUOM4mrarIAqJB5N9lkBbpGxJ7UzWE48MOg5ZzfMOKf846o7yoDfB2mDxDci1wBH6e0yi2 HeF6S/VIoW8lWYiq0TdJoH6RqdppCJ8oWQQjuHF3E3fuvlzkaJhBmGUJUiWf4cLyg2ZLG+ eMErZnD4PUuiguDTZS3YllA+G3BUlqCzvzdK6ICeih2OzErWvlF0c2KhiYHnfcfDDLJA77 T3I0U1ymPYiII84Z7mu18AfP0c14JWa7Ef7iiDybxxvVqDZZUXd8pZ+EUnJgFQ== 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 4N54n14sFYzYPh; Sun, 6 Nov 2022 19:53:57 +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 2A6JrvDZ051262; Sun, 6 Nov 2022 19:53:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2A6Jrv68051261; Sun, 6 Nov 2022 19:53:57 GMT (envelope-from git) Date: Sun, 6 Nov 2022 19:53:57 GMT Message-Id: <202211061953.2A6Jrv68051261@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: c56303179f80 - main - devel/py-pylint-venv: Correct version in python metadata 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c56303179f80954e3c317be9c45c157a8aec9aff Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667764437; 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=9QtgdVgZCJitIl6GTCPI+0fwC70x72BNMfpytzHnaoo=; b=pCIP6ocoEODFzukEiEX2jMf7Q5TMa9y0FiT73v+ASyfqYDqidjhauYmcP8SxyqIYQlDrrR ISo8W6wzclYMhLwRE4k54BJRoZth7BlAUjNJtoMADni6WNXplI/DZj2a1CQsdg4JKKgEn/ FBAtYwB/NTSLO7+ob/lkr8Jzq1NNqqshoFv7ZhV2LFnNyVo0hgItbibSpcisvaDy/L9ir6 GYqB1WmzCq7fNFbMvRV5jqFQ0kp1VMoKHkLkz/VBV7ZVUr6q9LAAM4OyKOaK3XxtJN4jgz F2c5pnSvqQkKdRseFvwVmYgKlIKGGxSDH5qe3qr7c8gDeXX42WelZ3XEZ5i09Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667764437; a=rsa-sha256; cv=none; b=j9UCtgafWOAxSwKuz5z+CHQWLxpNimqevLPyRRgJauqiFJVdkPZLyTriyLhKa5+F6w7d5B AqeGVsPR+7lDC+CJRHFoTlCA2IHRVy5pw8rI7i4o7N2v3f6ucjWCd45rQVFGaXcLDqAqp1 R9oOhNIgIlrCoYyS/nyS5uZqLoQ3HNtZwtbucVnpEUP+naqYPKJR3HYDVCRhaFmuxmK3pQ UpmeaKInIt3jesF7qbyXosq9xj8sHJFtPnaWfgVEB1hnf/unUsLzv3gGZE1nF1gf8D1qqc r48AMc37Jv4mCTL3pfZTGq6glTCzmfI1mYVRLHjCRWzK8cLB2rXrHzGIV3BBww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=c56303179f80954e3c317be9c45c157a8aec9aff commit c56303179f80954e3c317be9c45c157a8aec9aff Author: Yuri Victorovich AuthorDate: 2022-11-06 19:09:22 +0000 Commit: Yuri Victorovich CommitDate: 2022-11-06 19:53:48 +0000 devel/py-pylint-venv: Correct version in python metadata --- devel/py-pylint-venv/Makefile | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/devel/py-pylint-venv/Makefile b/devel/py-pylint-venv/Makefile index fac086d0ab2d..0e3d993ff234 100644 --- a/devel/py-pylint-venv/Makefile +++ b/devel/py-pylint-venv/Makefile @@ -1,5 +1,6 @@ PORTNAME= pylint-venv -PORTVERSION= 2.3.0 +DISTVERSION= 2.3.0 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -18,8 +19,20 @@ USE_PYTHON= distutils autoplist NO_ARCH= yes +POST_PLIST+= fix-plist + # upstream stopped providing setup.py post-patch: @${ECHO_CMD} 'import setuptools; setuptools.setup()' > ${WRKSRC}/setup.py +post-install: + @cd ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} && \ + ${REINPLACE_CMD} \ + -e 's|^Version:.*|Version: ${DISTVERSION}|' \ + pylint_venv-0.0.0-py${PYTHON_VER}.egg-info/PKG-INFO && \ + ${MV} pylint_venv-0.0.0-py${PYTHON_VER}.egg-info pylint_venv-${DISTVERSION}-py${PYTHON_VER}.egg-info + +fix-plist: + ${REINPLACE_CMD} -e 's|0\.0\.0|${DISTVERSION}|' ${TMPPLIST} + .include