pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-empty-files Add py-empty-files, a Python impl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6f6a912d6e72
branches:  trunk
changeset: 771209:6f6a912d6e72
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Wed Dec 15 09:03:52 2021 +0000

description:
Add py-empty-files, a Python implementation of the Null Object
pattern for files.

This library will create an empty file of a type requested. If possible,
that file will be the smallest valid file for that type. For example, an
empty jpg will be a 1x1 pixel jpg.

diffstat:

 devel/py-empty-files/DESCR    |   3 +++
 devel/py-empty-files/Makefile |  28 ++++++++++++++++++++++++++++
 devel/py-empty-files/PLIST    |  15 +++++++++++++++
 devel/py-empty-files/distinfo |   5 +++++
 4 files changed, 51 insertions(+), 0 deletions(-)

diffs (67 lines):

diff -r 37cc74a0ccce -r 6f6a912d6e72 devel/py-empty-files/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-empty-files/DESCR        Wed Dec 15 09:03:52 2021 +0000
@@ -0,0 +1,3 @@
+This library will create an empty file of a type requested. If possible,
+that file will be the smallest valid file for that type. For example, an
+empty jpg will be a 1x1 pixel jpg.
diff -r 37cc74a0ccce -r 6f6a912d6e72 devel/py-empty-files/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-empty-files/Makefile     Wed Dec 15 09:03:52 2021 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2021/12/15 09:03:52 schmonz Exp $
+
+VERSION=       0.0.3
+GITHUB_TAG=    refs/tags/v${VERSION}
+GITHUB_PROJECT=        EmptyFiles.Python
+DISTNAME=      ${GITHUB_PROJECT}-${VERSION}
+PKGNAME=       ${PYPKGPREFIX}-empty-files-${VERSION}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=approvals/}
+
+MAINTAINER=    schmonz%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/approvals/${GITHUB_PROJECT}
+COMMENT=       Null Object pattern for files
+LICENSE=       apache-2.0
+
+WRKSRC=                ${WRKDIR}/${DISTNAME}
+
+DEPENDS+=      ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
+
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONED_DEPENDENCIES= test
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 37cc74a0ccce -r 6f6a912d6e72 devel/py-empty-files/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-empty-files/PLIST        Wed Dec 15 09:03:52 2021 +0000
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1 2021/12/15 09:03:52 schmonz Exp $
+${PYSITELIB}/empty_files-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/PKG-INFO
+${PYSITELIB}/empty_files-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/SOURCES.txt
+${PYSITELIB}/empty_files-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/dependency_links.txt
+${PYSITELIB}/empty_files-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/requires.txt
+${PYSITELIB}/empty_files-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/top_level.txt
+${PYSITELIB}/empty_files/__init__.py
+${PYSITELIB}/empty_files/__init__.pyc
+${PYSITELIB}/empty_files/__init__.pyo
+${PYSITELIB}/empty_files/empty_files.py
+${PYSITELIB}/empty_files/empty_files.pyc
+${PYSITELIB}/empty_files/empty_files.pyo
+${PYSITELIB}/empty_files/version.py
+${PYSITELIB}/empty_files/version.pyc
+${PYSITELIB}/empty_files/version.pyo
diff -r 37cc74a0ccce -r 6f6a912d6e72 devel/py-empty-files/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-empty-files/distinfo     Wed Dec 15 09:03:52 2021 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2021/12/15 09:03:52 schmonz Exp $
+
+BLAKE2s (EmptyFiles.Python-0.0.3.tar.gz) = f0a2eedf5baebb990daaedb83aa8f6a315158eb9c224b6ebb7b774476285abe7
+SHA512 (EmptyFiles.Python-0.0.3.tar.gz) = d143e4c23d858b0c09ef5a4ad90ed889aa894123457634f3adfbf284b4a065a48993174b086da45ae5dba0c5e24b0c9cad6d1c0d8f43be583f54933f66c0233e
+Size (EmptyFiles.Python-0.0.3.tar.gz) = 9817 bytes



Home | Main Index | Thread Index | Old Index