From nobody Sun Aug 14 18:38:07 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 4M5R4H3WXcz4YgrP; Sun, 14 Aug 2022 18:38:07 +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 4M5R4H2lbhz3CLL; Sun, 14 Aug 2022 18:38:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660502287; 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=Pb83iObefCgzIRjwF61gciih6KBgbBnq3iszV/8nqqI=; b=tB9RzC1xzfVdgWFWVMqUn2vPyNEp1oG3JXD7Dnaep0bzVVtdvLEMZv40GmQYTx4MtxfnxE IjT33b9lJ+ZgwX2pEqsFFRAyU6B4ZoEqy+kuep//6jiyNQdOK+uze1nEdFuUKB4bVFBFE4 AOf46oAIwU6PvfaXjR47aK2L4rDYWIUgPUktw+MJLUkxlmARDZA1rq81nCgf+FfVqL/0hJ PAWVXOqz2ZVBgC96fmUoqYTIENieclaUXeULFmPMVbdW3+WjY5uu49xFgTYzr+3JPKbx/k dp6fRmkbiuh7diGsL8jm99DWPYzYI8dK0rbC8SePXrDKosY2O0J3oWdGvggepQ== 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 4M5R4H1ll1z11Mm; Sun, 14 Aug 2022 18:38:07 +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 27EIc7Ej073862; Sun, 14 Aug 2022 18:38:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27EIc7jt073861; Sun, 14 Aug 2022 18:38:07 GMT (envelope-from git) Date: Sun, 14 Aug 2022 18:38:07 GMT Message-Id: <202208141838.27EIc7jt073861@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: 78deabb5e1ef - main - math/py-rectangle-packer: New port: Rectangle packing library 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: 78deabb5e1ef30032eabd04c854051d749c04da0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660502287; 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=Pb83iObefCgzIRjwF61gciih6KBgbBnq3iszV/8nqqI=; b=Z8Odk3dihs9HN4+4RjN5Xui8CtPmpHMx4Do2I89yhKviuH4f+ohtdz+vuIBYIl9r6Y2e+a uud1SvkbScPowGSj13Jdkq1s65kCvnSPUDNBSiEpI9asXiwuc2OoC2LWlBrrUaOEdxCyg4 WygByD5nH3IjpHQ92di86HnPVY0Qg5mt9esHecFtDFYjcF4doTjhqnR7U7qUReOu78hDbw GCqnCpG7BJSI8+pS9fzoRAauDEWzzPDmoXRCa7nCrchGPwSiDntw/Xu/Fl02JycBK5ooGB THgx83Q+5hNxTMpRkx01lzTk9mo1DvQuQ6bnjE/WiZXRhUjs0+xqrjsb4nWeXA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660502287; a=rsa-sha256; cv=none; b=RBjUPfZeLbe3HKB8Kr+EvGfigU/Tup0Mr3LQstL9fJzOymDtkj7C0+c/tJJSzcUF1lHDda dU1uf2feXNPsbi1zGR02kLJAxf6PaXvP9nKQ4aGrIN9UUG3rdj+tGy0dJPs4f5NXtztssW aFbFp9MZoeTlcr9lCl7xx9eFlYrsatOQGOavKAvN4e+2a7rtbis5FjrA+gO8tXPU/wxefB 37UZYNLU/zNLpAJ3hE7NxmDmfvWA4AE98TVfZccqb+oNLkYdaTd+U5paP8enfTileRue7b FsIYYHmGCiz7tRr89PlriG6KX7x8lsT9MlyzEQ51gIRtJN7KDT6IFn8aywt1WQ== 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=78deabb5e1ef30032eabd04c854051d749c04da0 commit 78deabb5e1ef30032eabd04c854051d749c04da0 Author: Yuri Victorovich AuthorDate: 2022-08-14 18:36:41 +0000 Commit: Yuri Victorovich CommitDate: 2022-08-14 18:37:56 +0000 math/py-rectangle-packer: New port: Rectangle packing library --- math/Makefile | 1 + math/py-rectangle-packer/Makefile | 26 ++++++++++++++++++++++++++ math/py-rectangle-packer/distinfo | 3 +++ math/py-rectangle-packer/pkg-descr | 5 +++++ 4 files changed, 35 insertions(+) diff --git a/math/Makefile b/math/Makefile index 2a4291f27543..5e5bd2db07e7 100644 --- a/math/Makefile +++ b/math/Makefile @@ -960,6 +960,7 @@ SUBDIR += py-qdldl SUBDIR += py-quadprog SUBDIR += py-random2 + SUBDIR += py-rectangle-packer SUBDIR += py-roman SUBDIR += py-rpy2 SUBDIR += py-rustworkx diff --git a/math/py-rectangle-packer/Makefile b/math/py-rectangle-packer/Makefile new file mode 100644 index 000000000000..b40ab1c7f6a2 --- /dev/null +++ b/math/py-rectangle-packer/Makefile @@ -0,0 +1,26 @@ +PORTNAME= rectangle-packer +DISTVERSION= 2.0.1 +CATEGORIES= math python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Rectangle packing library + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +USES= python:3.6+ +USE_PYTHON= distutils cython autoplist unittest + +USE_GITHUB= yes +GH_ACCOUNT= Penlect + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} +TEST_WRKSRC= ${WRKSRC}/test + +post-install: + @${STRIP_CMD} \ + ${STAGEDIR}${PYTHON_SITELIBDIR}/rpack/_core${PYTHON_EXT_SUFFIX}.so \ + ${STAGEDIR}${PYTHON_SITELIBDIR}/rpack/_rpack${PYTHON_EXT_SUFFIX}.so + +.include diff --git a/math/py-rectangle-packer/distinfo b/math/py-rectangle-packer/distinfo new file mode 100644 index 000000000000..eb064206e95a --- /dev/null +++ b/math/py-rectangle-packer/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660501577 +SHA256 (Penlect-rectangle-packer-2.0.1_GH0.tar.gz) = 900c23384d7f0e58b9df72b6ce66bbfe57821cf87ca1c1e46ac960591b978a89 +SIZE (Penlect-rectangle-packer-2.0.1_GH0.tar.gz) = 98442 diff --git a/math/py-rectangle-packer/pkg-descr b/math/py-rectangle-packer/pkg-descr new file mode 100644 index 000000000000..7436583f9ce2 --- /dev/null +++ b/math/py-rectangle-packer/pkg-descr @@ -0,0 +1,5 @@ +rectangle-packer solves the following problem: Given a set of rectangles with +fixed orientations, find a bounding box of minimum area that contains them all +with no overlap. + +WWW: https://github.com/Penlect/rectangle-packer