[arch-commits] Commit in ydcv/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Jan 13 14:59:05 UTC 2021


    Date: Wednesday, January 13, 2021 @ 14:59:05
  Author: felixonmars
Revision: 820481

upgpkg: ydcv 0.7-4: setuptools is no longer needed as runtime dependency

Modified:
  ydcv/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-13 14:54:57 UTC (rev 820480)
+++ PKGBUILD	2021-01-13 14:59:05 UTC (rev 820481)
@@ -4,18 +4,16 @@
 pkgname=ydcv
 pkgdesc="YouDao Console Version - Simple wrapper for Youdao online translate (Chinese <-> English) service API, as an alternative to the StarDict Console Version (sdcv)"
 pkgver=0.7
-pkgrel=3
+pkgrel=4
 arch=("any")
 url="https://github.com/felixonmars/ydcv"
 license=("GPL")
-depends=('python-setuptools')
+depends=('python')
 makedepends=('python-setuptools-scm' 'python-setuptools-markdown')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/felixonmars/$pkgname/archive/$pkgver.tar.gz")
 sha512sums=('04277b2cc586bf19b0cd8cb52c0287ac75b235f72cbab19358a962f14de74f042cc90da1ec7ded06e3ce07a4694a6511599ce9213485ed0e4d40a84d296663bf')
 
-prepare() {
-  export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-}
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
 
 package() {
   cd $pkgname-$pkgver



More information about the arch-commits mailing list