[crux-commits] ports/contrib (3.5): python3-distro: initial import, version 1.5.0

crux at crux.nu crux at crux.nu
Thu Jun 4 15:55:22 UTC 2020


commit 4abf829b7b534582020b232a989cc02651adc4f9
Author: Matt Housh <jaeger at crux.ninja>
Date:   Thu Jun 4 10:52:43 2020 -0500

    python3-distro: initial import, version 1.5.0

diff --git a/python3-distro/.footprint b/python3-distro/.footprint
new file mode 100644
index 000000000..5e00a70ef
--- /dev/null
+++ b/python3-distro/.footprint
@@ -0,0 +1,15 @@
+drwxr-xr-x	root/root	usr/
+drwxr-xr-x	root/root	usr/bin/
+-rwxr-xr-x	root/root	usr/bin/distro
+drwxr-xr-x	root/root	usr/lib/
+drwxr-xr-x	root/root	usr/lib/python3.7/
+drwxr-xr-x	root/root	usr/lib/python3.7/site-packages/
+drwxr-xr-x	root/root	usr/lib/python3.7/site-packages/__pycache__/
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/__pycache__/distro.cpython-37.pyc
+drwxr-xr-x	root/root	usr/lib/python3.7/site-packages/distro-1.5.0-py3.7.egg-info/
+-rw-rw-r--	root/root	usr/lib/python3.7/site-packages/distro-1.5.0-py3.7.egg-info/PKG-INFO
+-rw-rw-r--	root/root	usr/lib/python3.7/site-packages/distro-1.5.0-py3.7.egg-info/SOURCES.txt
+-rw-rw-r--	root/root	usr/lib/python3.7/site-packages/distro-1.5.0-py3.7.egg-info/dependency_links.txt
+-rw-rw-r--	root/root	usr/lib/python3.7/site-packages/distro-1.5.0-py3.7.egg-info/entry_points.txt
+-rw-rw-r--	root/root	usr/lib/python3.7/site-packages/distro-1.5.0-py3.7.egg-info/top_level.txt
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/distro.py
diff --git a/python3-distro/.signature b/python3-distro/.signature
new file mode 100644
index 000000000..67d7128b1
--- /dev/null
+++ b/python3-distro/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/contrib.pub
+RWSagIOpLGJF30o7XspA21p1l5WYOrjvGvqsN4LCIjJJ74kxAxDZHkwKv0IhILnbuDEs6zVOIYhzWzk3Y3THuOd4x/KQWZ+0yA0=
+SHA256 (Pkgfile) = 52656ce973115dfa8e0a217a07bcfa8314fbe9695f33c8869faa546dd6c98791
+SHA256 (.footprint) = f5be7afed0e78c5b8ba51539ad32ae52f4ab6a2b12748d724ba1d0165b5d940a
+SHA256 (distro-1.5.0.tar.gz) = 0e58756ae38fbd8fc3020d54badb8eae17c5b9dcbed388b17bb55b8a5928df92
diff --git a/python3-distro/Pkgfile b/python3-distro/Pkgfile
new file mode 100644
index 000000000..c9f687234
--- /dev/null
+++ b/python3-distro/Pkgfile
@@ -0,0 +1,15 @@
+# Description: Distro - an OS platform information API
+# URL: https://pypi.org/project/distro/
+# Maintainer: Matt Housh, jaeger at crux dot ninja
+# Depends on: python3-setuptools
+
+name=python3-distro
+version=1.5.0
+release=1
+source=(https://files.pythonhosted.org/packages/a6/a4/75064c334d8ae433445a20816b788700db1651f21bdb0af33db2aab142fe/distro-$version.tar.gz)
+
+build() {
+	cd distro-$version
+	python3 setup.py build
+	python3 setup.py install --root=$PKG
+}


More information about the crux-commits mailing list