pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-empty-files
Module Name: pkgsrc
Committed By: schmonz
Date: Wed Dec 15 09:03:53 UTC 2021
Added Files:
pkgsrc/devel/py-empty-files: DESCR Makefile PLIST distinfo
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-empty-files/DESCR \
pkgsrc/devel/py-empty-files/Makefile pkgsrc/devel/py-empty-files/PLIST \
pkgsrc/devel/py-empty-files/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/py-empty-files/DESCR
diff -u /dev/null pkgsrc/devel/py-empty-files/DESCR:1.1
--- /dev/null Wed Dec 15 09:03:53 2021
+++ pkgsrc/devel/py-empty-files/DESCR Wed Dec 15 09:03:52 2021
@@ -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.
Index: pkgsrc/devel/py-empty-files/Makefile
diff -u /dev/null pkgsrc/devel/py-empty-files/Makefile:1.1
--- /dev/null Wed Dec 15 09:03:53 2021
+++ pkgsrc/devel/py-empty-files/Makefile Wed Dec 15 09:03:52 2021
@@ -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"
Index: pkgsrc/devel/py-empty-files/PLIST
diff -u /dev/null pkgsrc/devel/py-empty-files/PLIST:1.1
--- /dev/null Wed Dec 15 09:03:53 2021
+++ pkgsrc/devel/py-empty-files/PLIST Wed Dec 15 09:03:52 2021
@@ -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
Index: pkgsrc/devel/py-empty-files/distinfo
diff -u /dev/null pkgsrc/devel/py-empty-files/distinfo:1.1
--- /dev/null Wed Dec 15 09:03:53 2021
+++ pkgsrc/devel/py-empty-files/distinfo Wed Dec 15 09:03:52 2021
@@ -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