David Runge pushed to branch main at Arch Linux / Packaging / Packages / python-binaryornot
Commits: 15dfdb6a by David Runge at 2023-09-04T11:50:44+02:00 Switch to upstream provided source tarballs - - - - - 685d41df by David Runge at 2023-09-04T11:50:51+02:00 Use alphabetically sorted bash arrays with one entry per line for better handling - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -8,21 +8,34 @@ pkgdesc="Ultra-lightweight pure Python package to check if a file is binary or t arch=(any) url="https://github.com/audreyr/binaryornot" license=(BSD) -depends=(python-chardet) -makedepends=(python-build python-installer python-setuptools python-wheel) +depends=( + python + python-chardet +) +makedepends=( + python-build + python-installer + python-setuptools + python-wheel +) checkdepends=(python-hypothesis) source=( - https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz + $_name-$pkgver.tar.gz::https://github.com/binaryornot/binaryornot/archive/refs/tags/$pkgver.tar.gz $pkgname-0.4.4-hypothesis_tests.patch::https://github.com/audreyr/binaryornot/pull/52.patch + $pkgname-0.4.4-set_version.patch::https://github.com/binaryornot/binaryornot/commit/cff1a0a4478c17d4f970d133c06abbf6945b6a5e.patch ) -sha512sums=('379e71b41824b9389ea02c64223e26c57694d07b749c197e3a6b9f10558c8d502e9b93a13ae6c3a4bca49064ffc650ce822073dc312fb06e50e06b8a3f04f419' - '8a0f1066a580f08778434ed7d30c2ebf2764dbfd746b561ffce2fb8dd8d77cafaf4a58b03504cf5b1e4d37e0a6ffe3038dcaa5611cdfd7d42ada86edd1e47f3f') -b2sums=('4a70e22eba51a266987308e8d1b4571ace5760f945920194a1a61f4336f33dcb655c4f0b1f760aa3502834d29a1a64ac62657e5d73eac8f1d7d02edf71db8af9' - 'f07730709f11bf0732b60b81603c40bea1fa6da2d8df545b088072e0f710a7e123e438b03d2390122b6000c14343e932b38d4b6f8956ea87b72e29deae1a4715') +sha512sums=('31dfb79bb5847e12487d94519a357dece4572f7ed064686d53a49c2de5a51d6441be64523c98cca6221ed89be5bf26e54866dd3b79ac8d89fd5019a5b4d75a45' + '8a0f1066a580f08778434ed7d30c2ebf2764dbfd746b561ffce2fb8dd8d77cafaf4a58b03504cf5b1e4d37e0a6ffe3038dcaa5611cdfd7d42ada86edd1e47f3f' + 'a56266b54b5000e4cdaadcca2119f1822ab1de1b45adee1095ab8841dc0289cc853b4e3e2be1079786f18dde84424a78909f33130f3081d3fa5cf352026ce1c0') +b2sums=('cb2099313f602915bacd5b463642f16430fcb0ab62dcaae546cb854780996526fb777c0b730b4b89e664ec7f995ddd2d2f632cfbac2dadca45958cfd1dd7a410' + 'f07730709f11bf0732b60b81603c40bea1fa6da2d8df545b088072e0f710a7e123e438b03d2390122b6000c14343e932b38d4b6f8956ea87b72e29deae1a4715' + 'd56fb5a064be3ce810f274bb2e49e9afd921b536b9194da07a87fedd7e403af0edf0e4e05e975efa55b3d7deefd2ad71a2b36a1f1da45c653344f64478b1a613') prepare() { # fix tests using python-hypothesis: https://github.com/audreyr/binaryornot/issues/46 patch -Np1 -d $_name-$pkgver -i ../$pkgname-0.4.4-hypothesis_tests.patch + # fix version as the wrong commit was tagged: https://github.com/binaryornot/binaryornot/issues/210 + patch -Np1 -d $_name-$pkgver -i ../$pkgname-0.4.4-set_version.patch } build() { View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-binaryornot/-/compare/364866f02f03c5f749c19c066a1b920900696929...685d41df726aa08a28c7389bf40652a6211ff4ec -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-binaryornot/-/compare/364866f02f03c5f749c19c066a1b920900696929...685d41df726aa08a28c7389bf40652a6211ff4ec You're receiving this email because of your account on gitlab.archlinux.org.
