update dependencies
This commit is contained in:
21
.SRCINFO
Normal file
21
.SRCINFO
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
pkgbase = mokuro
|
||||||
|
pkgdesc = Read Japanese manga inside browser with selectable text.
|
||||||
|
pkgver = 0.2.2
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://pypi.org/project/mokuro/#history
|
||||||
|
arch = any
|
||||||
|
license = GPL3
|
||||||
|
makedepends = python-pip
|
||||||
|
makedepends = python-build
|
||||||
|
makedepends = python-wheel
|
||||||
|
makedepends = python-installer
|
||||||
|
depends = python>=3.6
|
||||||
|
depends = python-opencv
|
||||||
|
depends = python-torch-summary
|
||||||
|
depends = python-shapely
|
||||||
|
depends = python-yattag
|
||||||
|
optdepends = python-pytorch: for gpu acceleration
|
||||||
|
source = https://files.pythonhosted.org/packages/source/m/mokuro/mokuro-0.2.2.tar.gz
|
||||||
|
sha256sums = 7534d32d1e25ac7be8a828d328be9aceb06a05d3c3392721120410f4cff02fe3
|
||||||
|
|
||||||
|
pkgname = mokuro
|
||||||
32
PKGBUILD
Normal file
32
PKGBUILD
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
# sudacode <suda@sudacode.com>
|
||||||
|
pkgname=mokuro
|
||||||
|
_name=mokuro
|
||||||
|
pkgver=0.2.2
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Read Japanese manga inside browser with selectable text. "
|
||||||
|
arch=('any')
|
||||||
|
url="https://pypi.org/project/mokuro/#history"
|
||||||
|
license=('GPL3')
|
||||||
|
depends=(
|
||||||
|
'python>=3.6'
|
||||||
|
'python-opencv'
|
||||||
|
'python-torch-summary'
|
||||||
|
'python-shapely'
|
||||||
|
'python-yattag'
|
||||||
|
)
|
||||||
|
optdepends=(
|
||||||
|
'python-pytorch: for gpu acceleration'
|
||||||
|
)
|
||||||
|
makedepends=('python-pip' 'python-build' 'python-wheel' 'python-installer')
|
||||||
|
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name//-/_}/${_name//-/_}-$pkgver.tar.gz")
|
||||||
|
sha256sums=('7534d32d1e25ac7be8a828d328be9aceb06a05d3c3392721120410f4cff02fe3')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$_name-$pkgver"
|
||||||
|
python -m pip wheel . --no-deps --wheel-dir dist
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$_name-$pkgver"
|
||||||
|
python -m pip install --no-deps --root="$pkgdir" --prefix=/usr --ignore-installed .
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user