File tree 5 files changed +128
-5
lines changed
mingw-w64-python-func-timeout
mingw-w64-python-jaraco.itertools
mingw-w64-python-more-itertools
5 files changed +128
-5
lines changed Original file line number Diff line number Diff line change
1
+ # Maintainer: ???
2
+
3
+ _pyname=func_timeout
4
+ _realname=func-timeout
5
+ pkgbase=mingw-w64-python-${_realname}
6
+ pkgname=(" ${MINGW_PACKAGE_PREFIX} -python-${_realname} " )
7
+ pkgver=4.3.5
8
+ pkgrel=1
9
+ pkgdesc=' Python module which allows you to specify timeouts when calling any existing function, and support for stoppable threads (mingw-w64)'
10
+ arch=(' any' )
11
+ mingw_arch=(' mingw32' ' mingw64' ' ucrt64' ' clang64' ' clang32' ' clangarm64' )
12
+ url=" https://github.com/kata198/func_timeout"
13
+ license=(' MIT' )
14
+ makedepends=(
15
+ " ${MINGW_PACKAGE_PREFIX} -python-setuptools"
16
+ " ${MINGW_PACKAGE_PREFIX} -python-setuptools-scm"
17
+ )
18
+ source=(" ${_pyname} -${pkgver} .tar.gz::https://pypi.org/packages/source/${_pyname:: 1} /${_pyname} /${_pyname} -${pkgver} .tar.gz" )
19
+ sha256sums=(' 74cd3c428ec94f4edfba81f9b2f14904846d5ffccc27c92433b8b5939b5575dd' )
20
+
21
+ prepare () {
22
+ cd " $srcdir "
23
+ rm -rf python-build-${CARCH} | true
24
+ cp -r " $_pyname -$pkgver " " python-build-${CARCH} "
25
+ export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver}
26
+ }
27
+
28
+ build () {
29
+ msg " Python build for ${CARCH} "
30
+ cd " ${srcdir} /python-build-${CARCH} "
31
+ ${MINGW_PREFIX} /bin/python setup.py build
32
+ }
33
+
34
+ package () {
35
+ cd " ${srcdir} /python-build-${CARCH} "
36
+ MSYS2_ARG_CONV_EXCL=" --prefix=;--install-scripts=;--install-platlib=" \
37
+ ${MINGW_PREFIX} /bin/python setup.py install --prefix=${MINGW_PREFIX} \
38
+ --root=" ${pkgdir} " --optimize=1 --skip-build
39
+ install -Dm644 LICENSE " ${pkgdir}${MINGW_PREFIX} /share/licenses/python-${_realname} /LICENSE"
40
+ }
Original file line number Diff line number Diff line change
1
+ # Maintainer: ???
2
+
3
+ _pyname=inflect
4
+ _realname=inflect
5
+ pkgbase=mingw-w64-python-${_realname}
6
+ pkgname=(" ${MINGW_PACKAGE_PREFIX} -python-${_realname} " )
7
+ pkgver=5.3.0
8
+ pkgrel=1
9
+ pkgdesc=' Python module to correctly generate plurals, ordinals, indefinite articles; convert numbers to words (mingw-w64)'
10
+ arch=(' any' )
11
+ mingw_arch=(' mingw32' ' mingw64' ' ucrt64' ' clang64' ' clang32' ' clangarm64' )
12
+ url=" https://github.com/jaraco/inflect"
13
+ license=(' MIT' )
14
+ makedepends=(
15
+ " ${MINGW_PACKAGE_PREFIX} -python-setuptools"
16
+ " ${MINGW_PACKAGE_PREFIX} -python-setuptools-scm"
17
+ )
18
+ source=(" ${_pyname} -${pkgver} .tar.gz::https://pypi.org/packages/source/${_pyname:: 1} /${_pyname} /${_pyname} -${pkgver} .tar.gz" )
19
+ sha256sums=(' 41a23f6788962e9775e40e2ecfb1d6455d02de315022afeedd3c5dc070019d73' )
20
+
21
+ prepare () {
22
+ cd " $srcdir "
23
+ rm -rf python-build-${CARCH} | true
24
+ cp -r " ${_pyname// _/ -} -$pkgver " " python-build-${CARCH} "
25
+ export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver}
26
+ }
27
+
28
+ build () {
29
+ msg " Python build for ${CARCH} "
30
+ cd " ${srcdir} /python-build-${CARCH} "
31
+ ${MINGW_PREFIX} /bin/python setup.py build
32
+ }
33
+
34
+ package () {
35
+ cd " ${srcdir} /python-build-${CARCH} "
36
+ MSYS2_ARG_CONV_EXCL=" --prefix=;--install-scripts=;--install-platlib=" \
37
+ ${MINGW_PREFIX} /bin/python setup.py install --prefix=${MINGW_PREFIX} \
38
+ --root=" ${pkgdir} " --optimize=1 --skip-build
39
+ install -Dm644 LICENSE " ${pkgdir}${MINGW_PREFIX} /share/licenses/python-${_realname} /LICENSE"
40
+ }
Original file line number Diff line number Diff line change
1
+ # Maintainer: ???
2
+
3
+ _pyname=jaraco.itertools
4
+ _realname=jaraco.itertools
5
+ pkgbase=mingw-w64-python-${_realname}
6
+ pkgname=(" ${MINGW_PACKAGE_PREFIX} -python-${_realname} " )
7
+ pkgver=6.0.3
8
+ pkgrel=1
9
+ pkgdesc=' Jaraco Itertools (mingw-w64)'
10
+ arch=(' any' )
11
+ mingw_arch=(' mingw32' ' mingw64' ' ucrt64' ' clang64' ' clang32' ' clangarm64' )
12
+ url=" https://github.com/jaraco/jaraco.itertools"
13
+ license=(' MIT' )
14
+ depends=(
15
+ " ${MINGW_PACKAGE_PREFIX} -python-more-itertools"
16
+ " ${MINGW_PACKAGE_PREFIX} -python-inflect"
17
+ )
18
+ makedepends=(
19
+ " ${MINGW_PACKAGE_PREFIX} -python-setuptools"
20
+ " ${MINGW_PACKAGE_PREFIX} -python-setuptools-scm"
21
+ )
22
+ source=(" ${_pyname} -${pkgver} .tar.gz::https://pypi.org/packages/source/${_pyname:: 1} /${_pyname} /${_pyname} -${pkgver} .tar.gz" )
23
+ sha256sums=(' 1775bfcad5de275a540a36720c5ab34594ea1dbe7ffefa32099b0129c5604608' )
24
+
25
+ prepare () {
26
+ cd " $srcdir "
27
+ rm -rf python-build-${CARCH} | true
28
+ cp -r " ${_pyname// _/ -} -$pkgver " " python-build-${CARCH} "
29
+ export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver}
30
+ }
31
+
32
+ build () {
33
+ msg " Python build for ${CARCH} "
34
+ cd " ${srcdir} /python-build-${CARCH} "
35
+ ${MINGW_PREFIX} /bin/python setup.py build
36
+ }
37
+
38
+ package () {
39
+ cd " ${srcdir} /python-build-${CARCH} "
40
+ MSYS2_ARG_CONV_EXCL=" --prefix=;--install-scripts=;--install-platlib=" \
41
+ ${MINGW_PREFIX} /bin/python setup.py install --prefix=${MINGW_PREFIX} \
42
+ --root=" ${pkgdir} " --optimize=1 --skip-build
43
+ install -Dm644 LICENSE " ${pkgdir}${MINGW_PREFIX} /share/licenses/python-${_realname} /LICENSE"
44
+ }
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ conflicts=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
10
10
replaces=(" ${MINGW_PACKAGE_PREFIX} -python3-${_realname} " )
11
11
pkgdesc=" More routines for operating on iterables, beyond itertools (mingw-w64)"
12
12
arch=(' any' )
13
- mingw_arch=(' mingw32' ' mingw64' ' ucrt64' ' clang64' ' clang32' )
13
+ mingw_arch=(' mingw32' ' mingw64' ' ucrt64' ' clang64' ' clang32' ' clangarm64 ' )
14
14
url=" https://github.com/erikrose/more-itertools"
15
15
license=(' MIT' )
16
16
depends=(" ${MINGW_PACKAGE_PREFIX} -python" )
Original file line number Diff line number Diff line change @@ -10,17 +10,16 @@ pkgver=3.1.0
10
10
pkgrel=2
11
11
pkgdesc=" Pathlib-compatible object wrapper for zip files (mingw-w64)"
12
12
arch=(' any' )
13
- mingw_arch=(' mingw32' ' mingw64' ' ucrt64' ' clang64' ' clang32' )
13
+ mingw_arch=(' mingw32' ' mingw64' ' ucrt64' ' clang64' ' clang32' ' clangarm64 ' )
14
14
url=' https://github.com/jaraco/zipp'
15
15
license=(' MIT' )
16
16
validpgpkeys=(' gpg_KEY' )
17
17
depends=(" ${MINGW_PACKAGE_PREFIX} -python"
18
18
" ${MINGW_PACKAGE_PREFIX} -python-more-itertools" )
19
19
makedepends=(" ${MINGW_PACKAGE_PREFIX} -python-setuptools"
20
20
" ${MINGW_PACKAGE_PREFIX} -python-setuptools-scm" )
21
- checkdepends=(" ${MINGW_PACKAGE_PREFIX} -python-pathlib2"
22
- " ${MINGW_PACKAGE_PREFIX} -python-contextlib2"
23
- " ${MINGW_PACKAGE_PREFIX} -python-unittest2" )
21
+ checkdepends=(" ${MINGW_PACKAGE_PREFIX} -python-jaraco.itertools"
22
+ " ${MINGW_PACKAGE_PREFIX} -python-func-timeout" )
24
23
options=(' staticlibs' ' strip' ' !debug' )
25
24
source=(" ${_realname} -${pkgver} .tar.gz" ::" https://github.com/jaraco/zipp/archive/v${pkgver} .tar.gz" )
26
25
sha512sums=(' 13df30bfb890f0a50928740e257cc8cf289cbb08b0394d841737730fe8a431a60086bb867fae1e8c343503ffd7a94be271abc42b67a77a6ce3be968a4c85fe2b' )
You can’t perform that action at this time.
0 commit comments