diff --git a/dev-python/binaryornot/binaryornot-0.4.4.recipe b/dev-python/binaryornot/binaryornot-0.4.4.recipe deleted file mode 100644 index 62d77e29d..000000000 --- a/dev-python/binaryornot/binaryornot-0.4.4.recipe +++ /dev/null @@ -1,67 +0,0 @@ -SUMMARY="Ultra-lightweight pure Python package to check if a file is binary or text" -DESCRIPTION="Ultra-lightweight pure Python package to guess whether a file is binary or text, \ -using a heuristic similar to Perl's pp_fttext and its analysis by @eliben." -HOMEPAGE="https://github.com/audreyr/binaryornot/" -COPYRIGHT="2013 Audrey Roy" -LICENSE="BSD (3-clause)" -REVISION="1" -SOURCE_URI="https://github.com/audreyr/binaryornot/archive/$portVersion.tar.gz" -CHECKSUM_SHA256="8cca04876a5e9d01f0dda79390e99089da87f3c1948ab2720661ba379d1b23f2" -PATCHES="cff1a0a4478c17d4f970d133c06abbf6945b6a5e.patch" - -ARCHITECTURES="any" - -PROVIDES=" - $portName = $portVersion - " -REQUIRES=" - haiku - " - -BUILD_REQUIRES=" - haiku_devel - " - -PYTHON_PACKAGES=(python39 python310) -PYTHON_VERSIONS=(3.9 3.10) -for i in "${!PYTHON_PACKAGES[@]}"; do - pythonPackage=${PYTHON_PACKAGES[i]} - pythonVersion=${PYTHON_VERSIONS[$i]} - - eval "PROVIDES_${pythonPackage}=\" - ${portName}_$pythonPackage = $portVersion - \"" - eval "REQUIRES_$pythonPackage=\" - haiku - chardet_$pythonPackage - cmd:python$pythonVersion - \"" - - BUILD_REQUIRES="$BUILD_REQUIRES - build_$pythonPackage - installer_$pythonPackage - setuptools_$pythonPackage - wheel_$pythonPackage - " - BUILD_PREREQUIRES="$BUILD_PREREQUIRES - cmd:python$pythonVersion - " -done - - -INSTALL() -{ - export SETUPTOOLS_SCM_PRETEND_VERSION=$portVersion - - for i in "${!PYTHON_PACKAGES[@]}"; do - pythonVersion=${PYTHON_VERSIONS[$i]} - - python=python$pythonVersion - - $python -m build --wheel --skip-dependency-check --no-isolation - $python -m installer -p $prefix dist/*.whl - - packageEntries ${PYTHON_PACKAGES[i]} \ - $prefix/lib/python* - done -} diff --git a/dev-python/binaryornot/patches/cff1a0a4478c17d4f970d133c06abbf6945b6a5e.patch b/dev-python/binaryornot/patches/cff1a0a4478c17d4f970d133c06abbf6945b6a5e.patch deleted file mode 100644 index c057a379d..000000000 --- a/dev-python/binaryornot/patches/cff1a0a4478c17d4f970d133c06abbf6945b6a5e.patch +++ /dev/null @@ -1,32 +0,0 @@ -From cff1a0a4478c17d4f970d133c06abbf6945b6a5e Mon Sep 17 00:00:00 2001 -From: Audrey Roy Greenfeld -Date: Thu, 3 Aug 2017 08:53:25 -0700 -Subject: [PATCH] Tag 0.4.4 - ---- - binaryornot/__init__.py | 2 +- - setup.py | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/binaryornot/__init__.py b/binaryornot/__init__.py -index df6f12b..518255b 100644 ---- a/binaryornot/__init__.py -+++ b/binaryornot/__init__.py -@@ -1,3 +1,3 @@ - __author__ = 'Audrey Roy' - __email__ = 'audreyr@gmail.com' --__version__ = '0.4.3' -+__version__ = '0.4.4' -diff --git a/setup.py b/setup.py -index 68a4f5b..a0c9e14 100755 ---- a/setup.py -+++ b/setup.py -@@ -13,7 +13,7 @@ - with open('HISTORY.rst') as history_file: - history = history_file.read().replace('.. :changelog:', '') - --version = '0.4.3' -+version = '0.4.4' - - if sys.argv[-1] == 'publish': - os.system('python setup.py sdist bdist_wheel upload')