head	1.9;
access;
symbols
	pkgsrc-2026Q1:1.9.0.28
	pkgsrc-2026Q1-base:1.9
	pkgsrc-2025Q4:1.9.0.26
	pkgsrc-2025Q4-base:1.9
	pkgsrc-2025Q3:1.9.0.24
	pkgsrc-2025Q3-base:1.9
	pkgsrc-2025Q2:1.9.0.22
	pkgsrc-2025Q2-base:1.9
	pkgsrc-2025Q1:1.9.0.20
	pkgsrc-2025Q1-base:1.9
	pkgsrc-2024Q4:1.9.0.18
	pkgsrc-2024Q4-base:1.9
	pkgsrc-2024Q3:1.9.0.16
	pkgsrc-2024Q3-base:1.9
	pkgsrc-2024Q2:1.9.0.14
	pkgsrc-2024Q2-base:1.9
	pkgsrc-2024Q1:1.9.0.12
	pkgsrc-2024Q1-base:1.9
	pkgsrc-2023Q4:1.9.0.10
	pkgsrc-2023Q4-base:1.9
	pkgsrc-2023Q3:1.9.0.8
	pkgsrc-2023Q3-base:1.9
	pkgsrc-2023Q2:1.9.0.6
	pkgsrc-2023Q2-base:1.9
	pkgsrc-2023Q1:1.9.0.4
	pkgsrc-2023Q1-base:1.9
	pkgsrc-2022Q4:1.9.0.2
	pkgsrc-2022Q4-base:1.9
	pkgsrc-2022Q3:1.8.0.2
	pkgsrc-2022Q3-base:1.8
	pkgsrc-2022Q2:1.7.0.2
	pkgsrc-2022Q2-base:1.7
	pkgsrc-2022Q1:1.5.0.2
	pkgsrc-2022Q1-base:1.5
	pkgsrc-2021Q4:1.2.0.2
	pkgsrc-2021Q4-base:1.2
	pkgsrc-2021Q3:1.1.0.12
	pkgsrc-2021Q3-base:1.1
	pkgsrc-2021Q2:1.1.0.10
	pkgsrc-2021Q2-base:1.1
	pkgsrc-2021Q1:1.1.0.8
	pkgsrc-2021Q1-base:1.1
	pkgsrc-2020Q4:1.1.0.6
	pkgsrc-2020Q4-base:1.1
	pkgsrc-2020Q3:1.1.0.4
	pkgsrc-2020Q3-base:1.1
	pkgsrc-2020Q2:1.1.0.2
	pkgsrc-2020Q2-base:1.1;
locks; strict;
comment	@# @;


1.9
date	2022.11.14.10.11.38;	author adam;	state Exp;
branches;
next	1.8;
commitid	aWyXEPlsCaqMGE1E;

1.8
date	2022.08.18.17.11.56;	author adam;	state Exp;
branches;
next	1.7;
commitid	NbSre8oVLCGoQnQD;

1.7
date	2022.05.02.08.46.18;	author adam;	state Exp;
branches;
next	1.6;
commitid	iQRseP7ypfk9wsCD;

1.6
date	2022.04.18.11.35.09;	author adam;	state Exp;
branches;
next	1.5;
commitid	fm0LHQUb60kZTFAD;

1.5
date	2022.01.05.15.41.22;	author wiz;	state Exp;
branches;
next	1.4;
commitid	FQ77UruBIUsgzsnD;

1.4
date	2022.01.04.20.54.48;	author wiz;	state Exp;
branches;
next	1.3;
commitid	CYyhdK9qtoffkmnD;

1.3
date	2021.12.31.12.16.51;	author adam;	state Exp;
branches;
next	1.2;
commitid	VpqGf6sWgo7wBNmD;

1.2
date	2021.10.01.12.48.28;	author adam;	state Exp;
branches;
next	1.1;
commitid	7KYYfqNtW0SLH6bD;

1.1
date	2020.05.19.16.58.23;	author wiz;	state Exp;
branches;
next	;
commitid	eEsc0JnEx9Z0aS8C;


desc
@@


1.9
log
@py-filetype: updated to 1.2.0

v1.2.0 / 2022-11-02
===================

* chore(version): bump minor
* Merge pull request 147 from sayanarijit/fix-146
* Add tests for m4a
* Try matching audio before video
* Merge pull request 145 from RSabet/master
* update README to include avif
* added image filetype avif
* Update __init__.py
* Merge pull request 141 from ferstar/master
* test: remove unused imported(F401)
* refactor: duck-typing reading magic string and try to restore the reader position if possible
* test: fix E275 missing whitespace after keyword
* test: Use tox pipeline instead of pytest
* test: ignore E501 error for flake8 check
* fix: CLI params parser
* Merge pull request 137 from ferstar/master
* fix: guess ".docx" func and add another doc file test case
* fix: guess ".doc" func and add another doc file test case
* test: skip benchmark test in tox config
* fix: restore reader position after retrieving signature bytes
* Merge pull request 136 from ferstar/master
* test: no need to skip zstd test case
* Merge pull request 135 from ferstar/master
* fix: regression for file-like obj file type detection
* Merge pull request 134 from babenek/actions
* Merge pull request 129 from ferstar/master
* Merge branch 'master' into master
* Merge pull request 133 from magbyr/master
* Merge pull request 131 from babenek/master
* CI workflow in github actions
* Changed to if statements in matching method
* Changed return method because of coverage calculation problems
* Extra line at EOF
* Extra line at EOF
* Extra line at EOF
* Apply suggestions from code review
* README changes
* Linter changes
* Added document filetypes for doc, docx, odt, xls, xlsx, ods, ppt, pptx and odp. Added tests and sample documents for document filetypes
* Fix undocumented exception
* style: Simplify binary to integer method
* feat: add zstd skippable frames support
* test: fix the tox config and missing test sample files
* test: fix the zst test sample file
* fix(readme): rst syntax wtf
@
text
@# $NetBSD: Makefile,v 1.8 2022/08/18 17:11:56 adam Exp $

DISTNAME=	filetype-1.2.0
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	sysutils python
MASTER_SITES=	${MASTER_SITE_PYPI:=f/filetype/}

MAINTAINER=	khorben@@defora.org
HOMEPAGE=	https://github.com/h2non/filetype.py
COMMENT=	Infer binary file types checking the magic numbers signature
LICENSE=	mit

TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TEST_DEPENDS+=	${PYPKGPREFIX}-test-benchmark-[0-9]*:../../devel/py-test-benchmark

USE_LANGUAGES=	# none

PYTHON_VERSIONS_INCOMPATIBLE=	27

USE_PKG_RESOURCES=	yes

post-install:
	cd ${DESTDIR}${PREFIX}/bin && \
	${MV} filetype filetype-${PYVERSSUFFIX} || ${TRUE}

do-test:
	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}

.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
@


1.8
log
@py-filetype: updated to 1.1.0

v1.1.0
* feat(version): bump minor
* docs: add zstd type
* fix: remove unnecessary duck-typing try
* feat: add zst(d) type
* chore: fix lint errors
* test: fix memoryview test cases
* BugFix for uncaught exceptions
* Support PDF with BOM
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2022/05/02 08:46:18 adam Exp $
d3 1
a3 1
DISTNAME=	filetype-1.1.0
@


1.7
log
@py-filetype: updated to 1.0.13

v1.0.13 / 2022-04-21
====================

  * chore(version): bump patch
  * chore(version): bump patch
  * refactor(apng)
  * refactor(apng)
  * Merge pull request 120
  * fix typo
  * add APNG support (part 3)
  *  add APNG support (part 2)
  * add APNG support (part 1)

v1.0.12 / 2022-04-19
====================

  * Merge branch 'master' of https://github.com/h2non/filetype.py
  * feat: version bump
  * Merge pull request 118
  * fix(font): minimum length check (woff)
  * Add support for more WOFF/WOFF2 flavors
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2022/04/18 11:35:09 adam Exp $
d3 1
a3 1
DISTNAME=	filetype-1.0.13
@


1.6
log
@py-filetype: updated to 1.0.10

v1.0.10
* Merge pull request 113 from nottaw/master
* Use `==` for string comparisons
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2022/01/05 15:41:22 wiz Exp $
d3 1
a3 1
DISTNAME=	filetype-1.0.10
@


1.5
log
@python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2022/01/04 20:54:48 wiz Exp $
d3 1
a3 1
DISTNAME=	filetype-1.0.9
a4 1
PKGREVISION=	2
@


1.4
log
@*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2021/12/31 12:16:51 adam Exp $
d5 1
a5 1
PKGREVISION=	1
d21 2
@


1.3
log
@py-filetype: updated to 1.0.9

v1.0.9

Update init.py
Merge pull request 111 from asfaltboy/patch-1
Add python 3.9 to version classifiers
Merge pull request 108 from hannesbraun/aiff-support
Add AIFF support
fix(Readme): rst syntax
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2021/10/01 12:48:28 adam Exp $
d5 1
@


1.2
log
@py-filetype: updated to 1.0.8

1.0.8:
Unknown changes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2020/05/19 16:58:23 wiz Exp $
d3 1
a3 1
DISTNAME=	filetype-1.0.8
d13 1
d16 1
a16 1
PYTHON_VERSIONED_DEPENDENCIES+=	test:test
d18 1
a18 1
USE_LANGUAGES=	# none
a26 1
.include "../../lang/python/versioned_dependencies.mk"
@


1.1
log
@sysutils/py-filetype: import py-filetype-1.0.7

Small and dependency free Python package to infer file type and MIME type
checking the magic numbers signature of a file or buffer.

This is a Python port from filetype Go package.
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
DISTNAME=	filetype-1.0.7
d6 1
a6 3
MASTER_SITES=	${MASTER_SITE_GITHUB:=h2non/}
GITHUB_PROJECT=	filetype.py
GITHUB_TAG=	v${PKGVERSION_NOREV}
d9 1
a9 1
HOMEPAGE=	https://github.com/h2non/filetype.py/
d19 4
d24 1
a24 1
	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} py.test-${PYVERSSUFFIX}
@

