-
-
Notifications
You must be signed in to change notification settings - Fork 590
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
147 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). | ||
# See COPYING for license details. | ||
|
||
pkgname=ghunt | ||
pkgver=v2.2.0.r11.g5782248 | ||
pkgrel=1 | ||
pkgdesc='An offensive OSINT Google framework.' | ||
arch=('any') | ||
groups=('blackarch' 'blackarch-recon') | ||
url='https://github.com/mxrch/GHunt' | ||
license=('AGPL-3.0-only') | ||
depends=('python' # https://github.com/mxrch/GHunt/blob/master/pyproject.toml | ||
'python-geopy' | ||
'python-httpx' | ||
'python-imagehash' | ||
'python-pillow' | ||
'python-dateutil' | ||
'python-rich' | ||
'python-beautifultable' | ||
'python-beautifulsoup4' | ||
'python-alive-progress' | ||
'python-protobuf' | ||
'python-autoslot' | ||
'python-humanize' | ||
'python-inflection' | ||
'python-jsonpickle' | ||
'python-packaging' | ||
'python-rich-argparse' | ||
'python-dnspython') | ||
makedepends=('git' 'python-build' 'python-pip') | ||
source=("$pkgname::git+$url.git") | ||
sha512sums=('SKIP') | ||
|
||
pkgver() { | ||
cd $pkgname | ||
|
||
( set -o pipefail | ||
git describe --long --tags --abbrev=7 2>/dev/null | | ||
sed 's/\([^-]*-g\)/r\1/;s/-/./g' || | ||
printf "%s.%s" "$(git rev-list --count HEAD)" \ | ||
"$(git rev-parse --short=7 HEAD)" | ||
) | ||
} | ||
|
||
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 | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-autoslot | ||
_pkgname=${pkgname#python-} | ||
pkgver=2024.12.1 | ||
pkgrel=1 | ||
pkgdesc='Automatic __slots__ for your Python classes.' | ||
arch=('any') | ||
url='https://github.com/cjrh/autoslot' | ||
license=('Apache-2.0') | ||
depends=('python') | ||
makedepends=('python-build' 'python-pip') | ||
options=(!emptydirs) | ||
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz") | ||
sha512sums=('a82d40a8475bd0035c9e4bcacc19274fba9468dcfbee61245a46161a51c2b5ebebbece57b9bc2c2c5fc44020325546ff329913a28951d51a52f9215ecb16f948') | ||
|
||
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 | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-rich-argparse | ||
_pkgname=rich_argparse | ||
pkgver=1.6.0 | ||
pkgrel=1 | ||
pkgdesc='Rich help formatters for argparse and optparse.' | ||
arch=('any') | ||
url='https://github.com/hamdanal/rich-argparse' | ||
license=('MIT') | ||
depends=('python' 'python-rich') | ||
makedepends=('python-build' 'python-pip') | ||
options=(!emptydirs) | ||
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz") | ||
sha512sums=('503ff4e37b043a5ef84160cca1ad326a4642b820477151e1646077073018353e21bc532254ca1f9bac8014c9fa7f35036d599efb2f29cc5da690053ad12cc5cb') | ||
|
||
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 | ||
} | ||
|