Skip to content

Commit

Permalink
multiple: initial commits (dropped by dickheads).
Browse files Browse the repository at this point in the history
  • Loading branch information
noptrix committed May 19, 2024
1 parent 1594b6f commit 75e75ce
Show file tree
Hide file tree
Showing 5 changed files with 198 additions and 0 deletions.
41 changes: 41 additions & 0 deletions packages/python-apscheduler/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-apscheduler
_pkgname=${pkgname#python-}
pkgver=3.10.0
_commit=a2247473fb0f664ce02f6fb0c584a003df1e952b
pkgrel=3
pkgdesc="In-process task scheduler with Cron-like capabilities"
url="https://github.com/agronholm/apscheduler"
license=('MIT')
arch=('any')
depends=('python-setuptools' 'python-six' 'python-pytz' 'python-tzlocal')
makedepends=('git' 'python-build' 'python-pip')
# python-kazoo, python-pymongo removed due to lack of running service
source=("git+https://github.com/agronholm/apscheduler.git#commit=$_commit")
sha512sums=('SKIP')

build() {
cd $_pkgname

python -m build --wheel --outdir="$startdir/dist"
}

package() {
cd $_pkgname

pip install \
--verbose \
--disable-pip-version-check \
--no-warn-script-location \
--ignore-installed \
--no-compile \
--no-deps \
--root="$pkgdir" \
--prefix=/usr \
--no-index \
--find-links="file://$startdir/dist" \
$_pkgname
}

39 changes: 39 additions & 0 deletions packages/python-cached-property/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-cached-property
_pkgname=${pkgname#python-}
pkgver=1.5.2
pkgrel=8
pkgdesc='A decorator for caching properties in classes.'
arch=('any')
license=('BSD')
url='https://github.com/pydanny/cached-property'
depends=('python')
makedepends=('python-build' 'python-pip')
source=("https://github.com/pydanny/cached-property/archive/$pkgver.tar.gz")
sha512sums=('71ce8376c5d90c8e97dc91af7a9329d3645a311c7cc41cf052074989430de68b66efc17c62c6780982f500b3d09a12cb24613df7b4f1bff95cf68f6442f50d0d')

build() {
cd "$_pkgname-$pkgver"

python -m build --wheel --outdir="$startdir/dist"
}

package() {
cd "$_pkgname-$pkgver"

pip install \
--verbose \
--disable-pip-version-check \
--no-warn-script-location \
--ignore-installed \
--no-compile \
--no-deps \
--root="$pkgdir" \
--prefix=/usr \
--no-index \
--find-links="file://$startdir/dist" \
$_pkgname
}

40 changes: 40 additions & 0 deletions packages/python-funcy/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-funcy
_pkgname=${pkgname#python-}
pkgver=2.0
_commit=13fac0037c109a9e4649fc8ee343be17647f7407
pkgrel=4
pkgdesc='A fancy and practical functional tools.'
url='https://github.com/Suor/funcy'
arch=('any')
license=('BSD')
depends=('python')
makedepends=('git' 'python-build' 'python-pip')
source=("git+https://github.com/Suor/funcy.git#commit=$_commit")
sha512sums=('SKIP')

build() {
cd $_pkgname

python -m build --wheel --outdir="$startdir/dist"
}

package() {
cd $_pkgname

pip install \
--verbose \
--disable-pip-version-check \
--no-warn-script-location \
--ignore-installed \
--no-compile \
--no-deps \
--root="$pkgdir" \
--prefix=/usr \
--no-index \
--find-links="file://$startdir/dist" \
$_pkgname
}

39 changes: 39 additions & 0 deletions packages/python-fuzzywuzzy/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-fuzzywuzzy
_pkgname=${pkgname#python-}
pkgver=0.18.0
pkgrel=8
pkgdesc='Fuzzy string matching like a boss.'
arch=('any')
url='https://pypi.python.org/pypi/fuzzywuzzy'
license=('GPL2')
depends=('python')
optdepends=('python-levenshtein: provides a 4-10x speedup in string matching')
makedepends=('python-build' 'python-pip')
source=("https://github.com/seatgeek/fuzzywuzzy/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('3266dbb9932581db1f2e6a91fcb25730e453fe36461b496d5ea07ff285b5c3cafe35a340ea97d6a465eb253a2605f088e30d748fba3ea2a42b9c67dbc1496529')

build() {
cd "$_pkgname-$pkgver"

python -m build --wheel --outdir="$startdir/dist"
}

package() {
cd "$_pkgname-$pkgver"

pip install \
--verbose \
--disable-pip-version-check \
--no-warn-script-location \
--ignore-installed \
--no-compile \
--no-deps \
--root="$pkgdir" \
--prefix=/usr \
--no-index \
--find-links="file://$startdir/dist" \
$_pkgname
}
39 changes: 39 additions & 0 deletions packages/python-mimerender/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-mimerender
_pkgname=${pkgname#python-}
pkgver=0.6.0
pkgrel=10
pkgdesc="Transparently select a render function for an HTTP request handler's result."
arch=('any')
url='https://github.com/martinblech/mimerender'
license=('MIT')
depends=('python' 'python-mimeparse')
makedepends=('python-build' 'python-pip')
source=("https://github.com/martinblech/mimerender/archive/v$pkgver.tar.gz")
sha512sums=('68c584ba8ae608097b739078dd729bd8b5493087901ba281959abdb81d4e6052ff045c487fde4f67744b413bab36d7f938c68b162049ebe33bff642571b8fd98')

build() {
cd "$_pkgname-$pkgver"

python -m build --wheel --outdir="$startdir/dist"
}

package() {
cd "$_pkgname-$pkgver"

pip install \
--verbose \
--disable-pip-version-check \
--no-warn-script-location \
--ignore-installed \
--no-compile \
--no-deps \
--root="$pkgdir" \
--prefix=/usr \
--no-index \
--find-links="file://$startdir/dist" \
$_pkgname
}

0 comments on commit 75e75ce

Please sign in to comment.