From nobody Fri Dec 30 09:07: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 4Njztj6tclz2kbxY; Fri, 30 Dec 2022 09:07:57 +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 4Njztj56mXz3qgg; Fri, 30 Dec 2022 09:07:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672391277; 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=RRCnXJHcJ+srrxw97Glj25CfEFd3x6Tn0Ez2wY91pB0=; b=NKvmn9R/J0mKMamxtI9NZVRUpZ1UJu4O7DfJ+aE5pgq6DcgPXSBhBH2g5AAEGEICc9jjgB BlBBJSNf7TsRn56xzw4AaCi3gdSB9B8z2a/k1iwCX4EdWEq8hE6eturXDnkcrv4BZtLuko 7OCcWP6L/ihY0gDdvU8mzLVIM+JeGn6UwRMwilp9ePNAMQiCT1LYXbvyrCQh8opuGDG1bD /K9vMnUlMc4Ofg9kxdOWr6l2OeWJoC7revT/7LVFudI9KgHlgqfG7nVChKz1+ZIT/8S2p8 WoYTTt7IHpcnzxF+K3j5XqvC01SlKkmRYjrDX95AYp4Hr46GmqPCEHO7sDvUuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672391277; 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=RRCnXJHcJ+srrxw97Glj25CfEFd3x6Tn0Ez2wY91pB0=; b=rWW3KkuE4LK9CqtrgS+exT3qj5KHZ7jKMxr8Qr0IE0OIsGkBoc5ojNtmaY1YFItbR4Xbj5 ioPsWmdDwiRrwef8sTakIwGpJaPFLUUPl8/R+8oCK+zYEC4L+uajqRiQfSXTayJQHj9sGt Q9fcLXJZSmJlAydzElJz8q5VtXSdS97BLl8IulE+pSxJQpWqtjSf9IQfIRkeUtCI9MEMC5 sG65xwoTm1KIj+p1KiNNMg3ZCyV+ahE0lDmvkP++SlGw/AX0RH2fJ8/6+swWdR685pPu9+ YvCO5sptVhRj2QOO8cKCAxkJxZbOQCP4uaLfTqTCxGJ36MY4XKNnEKMtTY+CUQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672391277; a=rsa-sha256; cv=none; b=APdxAVToe+VkAqJp0eTDWHscanONTsgpHoI07ZZlb7w4YRzlWAU3ca+Cb8gBS+NHgLD6KU +0nItCFVsIvPbhJVLiJOM1SMIoBnQtVw4UEH2fQxRvxNFSyjJaXkgXsPzOweJQRrrwL0c8 cep1DN3i8dKMJJhHH4ZdlQn3u74iHEMzTVrAL+DEFbObXjcrGZ7hXUEIHAxrGZ2pjymuQo 7cRBZRz89AJWjCw02aUmgpKddGu8fw7VIC3NUu9LMvuoG+p470MaLsAJSy5Tm5pIR/Z1DE Mc/sxWuTdWndyyMPP60kI9gJ+1tZIx2yfobzODa/ifgojLVThLUq3Dwn0LVtqg== 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 4Njztj42YHz138Z; Fri, 30 Dec 2022 09:07: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 2BU97vMI099225; Fri, 30 Dec 2022 09:07:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BU97vrt099224; Fri, 30 Dec 2022 09:07:57 GMT (envelope-from git) Date: Fri, 30 Dec 2022 09:07:57 GMT Message-Id: <202212300907.2BU97vrt099224@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: 6cf0c4cce78c - main - textproc/py-youseedee: Add py-youseedee 0.3.0 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: 6cf0c4cce78cfdfec5080583fe9b5bf04ee2ad1f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=6cf0c4cce78cfdfec5080583fe9b5bf04ee2ad1f commit 6cf0c4cce78cfdfec5080583fe9b5bf04ee2ad1f Author: Po-Chuan Hsieh AuthorDate: 2022-12-30 08:36:18 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-12-30 09:04:01 +0000 textproc/py-youseedee: Add py-youseedee 0.3.0 youseedee provides an interface to the UCD. This module allows you to query the Unicode Character Database. The main function to be imported is ucd_data. --- textproc/Makefile | 1 + textproc/py-youseedee/Makefile | 23 ++++++++++++++++++++++ textproc/py-youseedee/distinfo | 3 +++ .../files/patch-lib-youseedee-__init__.py | 11 +++++++++++ textproc/py-youseedee/pkg-descr | 2 ++ 5 files changed, 40 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 7ca46552b5cf..726d801ed566 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1586,6 +1586,7 @@ SUBDIR += py-xmldiff SUBDIR += py-xmlschema SUBDIR += py-yapf + SUBDIR += py-youseedee SUBDIR += py-zope.i18nmessageid SUBDIR += py-zope.structuredtext SUBDIR += py-zope.tal diff --git a/textproc/py-youseedee/Makefile b/textproc/py-youseedee/Makefile new file mode 100644 index 000000000000..133586876cfa --- /dev/null +++ b/textproc/py-youseedee/Makefile @@ -0,0 +1,23 @@ +PORTNAME= youseedee +PORTVERSION= 0.3.0 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Interface to the Unicode Character Database +WWW= https://github.com/simoncozens/youseedee + +LICENSE= MIT + +RUN_DEPENDS= UCD>=0:textproc/UCD + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +post-patch: + @${REINPLACE_CMD} -e 's|%%UCDDIR%%|${LOCALBASE}/share/unicode/ucd|' ${WRKSRC}/lib/youseedee/__init__.py + +.include diff --git a/textproc/py-youseedee/distinfo b/textproc/py-youseedee/distinfo new file mode 100644 index 000000000000..6c447bae8bbe --- /dev/null +++ b/textproc/py-youseedee/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1669057517 +SHA256 (youseedee-0.3.0.tar.gz) = 596c1112230bdd154b6d6c962872933e16748ae8efd7cb2389b922cc9aabcab0 +SIZE (youseedee-0.3.0.tar.gz) = 9832 diff --git a/textproc/py-youseedee/files/patch-lib-youseedee-__init__.py b/textproc/py-youseedee/files/patch-lib-youseedee-__init__.py new file mode 100644 index 000000000000..94141fa40ac7 --- /dev/null +++ b/textproc/py-youseedee/files/patch-lib-youseedee-__init__.py @@ -0,0 +1,11 @@ +--- lib/youseedee/__init__.py.orig 2020-10-06 16:13:22 UTC ++++ lib/youseedee/__init__.py +@@ -9,7 +9,7 @@ import csv + UCD_URL = "https://unicode.org/Public/UCD/latest/ucd/UCD.zip" + + def ucd_dir(): +- ucddir = os.path.expanduser("~/.youseedee") ++ ucddir = "%%UCDDIR%%" + if not os.path.isdir(ucddir): + os.mkdir(ucddir) + return ucddir diff --git a/textproc/py-youseedee/pkg-descr b/textproc/py-youseedee/pkg-descr new file mode 100644 index 000000000000..c60060d4a9d4 --- /dev/null +++ b/textproc/py-youseedee/pkg-descr @@ -0,0 +1,2 @@ +youseedee provides an interface to the UCD. This module allows you to query the +Unicode Character Database. The main function to be imported is ucd_data.