From c856e488c75d3387056dfd3510a109e0ed9b3e9e Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Sat, 17 Feb 2024 16:21:00 +0100 Subject: [PATCH] python3-publicsuffix2: initial commit, version 2.20191221 --- python3-publicsuffix2/.footprint | 16 ++++++++++++++++ python3-publicsuffix2/.signature | 5 +++++ python3-publicsuffix2/Pkgfile | 19 +++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 python3-publicsuffix2/.footprint create mode 100644 python3-publicsuffix2/.signature create mode 100644 python3-publicsuffix2/Pkgfile diff --git a/python3-publicsuffix2/.footprint b/python3-publicsuffix2/.footprint new file mode 100644 index 000000000..02ce1cf8a --- /dev/null +++ b/python3-publicsuffix2/.footprint @@ -0,0 +1,16 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/python3.10/ +drwxr-xr-x root/root usr/lib/python3.10/site-packages/ +drwxr-xr-x root/root usr/lib/python3.10/site-packages/publicsuffix2-2.20191221.dist-info/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/publicsuffix2-2.20191221.dist-info/METADATA +-rw-r--r-- root/root usr/lib/python3.10/site-packages/publicsuffix2-2.20191221.dist-info/RECORD +-rw-r--r-- root/root usr/lib/python3.10/site-packages/publicsuffix2-2.20191221.dist-info/WHEEL +-rw-r--r-- root/root usr/lib/python3.10/site-packages/publicsuffix2-2.20191221.dist-info/top_level.txt +drwxr-xr-x root/root usr/lib/python3.10/site-packages/publicsuffix2/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/publicsuffix2/__init__.py +drwxr-xr-x root/root usr/lib/python3.10/site-packages/publicsuffix2/__pycache__/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/publicsuffix2/__pycache__/__init__.cpython-310.opt-2.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/publicsuffix2/mpl-2.0.LICENSE +-rw-r--r-- root/root usr/lib/python3.10/site-packages/publicsuffix2/public_suffix_list.ABOUT +lrwxrwxrwx root/root usr/lib/python3.10/site-packages/publicsuffix2/public_suffix_list.dat -> /usr/share/publicsuffix/public_suffix_list.dat diff --git a/python3-publicsuffix2/.signature b/python3-publicsuffix2/.signature new file mode 100644 index 000000000..0e4727424 --- /dev/null +++ b/python3-publicsuffix2/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF3wAmGyy5BZ1gaAGMIe3+7vGftJoTbvwQMUK1wtLX90QR3BJQWn2F/7FDJMx5u6UP+2knOP1HTaRj2f7M01HiiwI= +SHA256 (Pkgfile) = 687ef699d1bac6523a2a7612cbaf05df84a9d021c9f7ab3a2c960e815c4fd9fa +SHA256 (.footprint) = fb8f4233b96008b811b71798880afd523de3559f0a546ee0484bccc98206d6a8 +SHA256 (publicsuffix2-2.20191221.tar.gz) = 00f8cc31aa8d0d5592a5ced19cccba7de428ebca985db26ac852d920ddd6fe7b diff --git a/python3-publicsuffix2/Pkgfile b/python3-publicsuffix2/Pkgfile new file mode 100644 index 000000000..60b9862c9 --- /dev/null +++ b/python3-publicsuffix2/Pkgfile @@ -0,0 +1,19 @@ +# Description: Get a public suffix for a domain name using the Public Suffix List. Forked from and using the same API as the publicsuffix package +# URL: https://github.com/nexb/python-publicsuffix2 +# Maintainer: CRUX System Team, core-ports at crux dot nu +# Depends on: python3-setuptools-scm publicsuffix-list + +name=python3-publicsuffix2 +version=2.20191221 +release=1 +source=(https://pypi.org/packages/source/p/publicsuffix2/publicsuffix2-$version.tar.gz) + +build() { + cd publicsuffix2-$version + + /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation + /usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl + + ln -svf /usr/share/publicsuffix/public_suffix_list.dat \ + $PKG/usr/lib/python3.*/site-packages/publicsuffix2/public_suffix_list.dat +}