pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-pywhat: Import py-pywhat-5.1.0
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Tue Jan 21 23:00:53 2025 +0100
Changeset: 7faa61ea352d18d267eadfe68f880b1232d9cd22
Added Files:
py-pywhat/ALTERNATIVES
py-pywhat/DESCR
py-pywhat/Makefile
py-pywhat/PLIST
py-pywhat/distinfo
Log Message:
py-pywhat: Import py-pywhat-5.1.0
what's job is to identify what something is. Whether it be a file or
text! Or even the hex of a file! What about text within files? We have
that too! what is recursive, it will identify everything in text and
more!
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7faa61ea352d18d267eadfe68f880b1232d9cd22
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-pywhat/ALTERNATIVES | 2 ++
py-pywhat/DESCR | 4 ++++
py-pywhat/Makefile | 27 +++++++++++++++++++++++++++
py-pywhat/PLIST | 40 ++++++++++++++++++++++++++++++++++++++++
py-pywhat/distinfo | 5 +++++
5 files changed, 78 insertions(+)
diffs:
diff --git a/py-pywhat/ALTERNATIVES b/py-pywhat/ALTERNATIVES
new file mode 100644
index 0000000000..a1aba0bf7f
--- /dev/null
+++ b/py-pywhat/ALTERNATIVES
@@ -0,0 +1,2 @@
+bin/pywhat @PREFIX@/bin/pywhat@PYVERSSUFFIX@
+bin/what @PREFIX@/bin/what@PYVERSSUFFIX@
diff --git a/py-pywhat/DESCR b/py-pywhat/DESCR
new file mode 100644
index 0000000000..636ced4e67
--- /dev/null
+++ b/py-pywhat/DESCR
@@ -0,0 +1,4 @@
+what's job is to identify what something is. Whether it be a file or
+text! Or even the hex of a file! What about text within files? We have
+that too! what is recursive, it will identify everything in text and
+more!
diff --git a/py-pywhat/Makefile b/py-pywhat/Makefile
new file mode 100644
index 0000000000..641db3a08e
--- /dev/null
+++ b/py-pywhat/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.96 2025/01/19 16:29:06 leot Exp $
+
+DISTNAME= pywhat-5.1.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= textproc python
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/pywhat/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/bee-san/pyWhat/
+COMMENT= Identify what something is
+LICENSE= mit
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core>=1.0.0:../../devel/py-poetry-core
+DEPENDS+= ${PYPKGPREFIX}-click>=8.0.0:../../devel/py-click
+DEPENDS+= ${PYPKGPREFIX}-rich>=11.0.0:../../comms/py-rich
+
+REPLACE_PYTHON+= pywhat/*.py
+
+USE_LANGUAGES= # none
+
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/bin/pywhat ${DESTDIR}${PREFIX}/bin/pywhat${PYVERSSUFFIX}
+ ${MV} ${DESTDIR}${PREFIX}/bin/what ${DESTDIR}${PREFIX}/bin/what${PYVERSSUFFIX}
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-pywhat/PLIST b/py-pywhat/PLIST
new file mode 100644
index 0000000000..adf13b71d8
--- /dev/null
+++ b/py-pywhat/PLIST
@@ -0,0 +1,40 @@
+@comment $NetBSD$
+bin/pywhat${PYVERSSUFFIX}
+bin/what${PYVERSSUFFIX}
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/pywhat/Data/file_signatures.json
+${PYSITELIB}/pywhat/Data/mac_vendors.json
+${PYSITELIB}/pywhat/Data/mastercard_companies.json
+${PYSITELIB}/pywhat/Data/phone_codes.json
+${PYSITELIB}/pywhat/Data/regex.json
+${PYSITELIB}/pywhat/__init__.py
+${PYSITELIB}/pywhat/__init__.pyc
+${PYSITELIB}/pywhat/__init__.pyo
+${PYSITELIB}/pywhat/__main__.py
+${PYSITELIB}/pywhat/__main__.pyc
+${PYSITELIB}/pywhat/__main__.pyo
+${PYSITELIB}/pywhat/filter.py
+${PYSITELIB}/pywhat/filter.pyc
+${PYSITELIB}/pywhat/filter.pyo
+${PYSITELIB}/pywhat/helper.py
+${PYSITELIB}/pywhat/helper.pyc
+${PYSITELIB}/pywhat/helper.pyo
+${PYSITELIB}/pywhat/identifier.py
+${PYSITELIB}/pywhat/identifier.pyc
+${PYSITELIB}/pywhat/identifier.pyo
+${PYSITELIB}/pywhat/magic_numbers.py
+${PYSITELIB}/pywhat/magic_numbers.pyc
+${PYSITELIB}/pywhat/magic_numbers.pyo
+${PYSITELIB}/pywhat/printer.py
+${PYSITELIB}/pywhat/printer.pyc
+${PYSITELIB}/pywhat/printer.pyo
+${PYSITELIB}/pywhat/regex_identifier.py
+${PYSITELIB}/pywhat/regex_identifier.pyc
+${PYSITELIB}/pywhat/regex_identifier.pyo
+${PYSITELIB}/pywhat/what.py
+${PYSITELIB}/pywhat/what.pyc
+${PYSITELIB}/pywhat/what.pyo
diff --git a/py-pywhat/distinfo b/py-pywhat/distinfo
new file mode 100644
index 0000000000..68e6c371d5
--- /dev/null
+++ b/py-pywhat/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.90 2025/01/19 16:29:06 leot Exp $
+
+BLAKE2s (pywhat-5.1.0.tar.gz) = 99f705bea65462f38055d286ff53ccaa740bb13270cbba82e5075be18764230b
+SHA512 (pywhat-5.1.0.tar.gz) = ac4b0467caca7ae464c2593a91f49b224112d6a044a71cadab9ef9efe2314dda46a7a08773a1ff4ea38c284b34399f466b0b40fdb399315b9335b929eae18f1b
+Size (pywhat-5.1.0.tar.gz) = 592482 bytes
Home |
Main Index |
Thread Index |
Old Index