Skip to content

Commit 76aae4a

Browse files
committed
Updated conda files
1 parent f0cdd0c commit 76aae4a

File tree

2 files changed

+24
-31
lines changed

2 files changed

+24
-31
lines changed

meta.yaml

Lines changed: 16 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,47 +3,40 @@
33
{% set version = "2.1.4" %}
44

55
package:
6-
name: "{{ name|lower }}"
7-
version: "{{ version }}"
6+
name: {{ name|lower }}
7+
version: {{ version }}
88

99
source:
10-
git_url: https://github.com/mpcabd/python-arabic-reshaper.git
11-
git_rev: "v{{ version }}"
12-
git_depth: 1
10+
url: https://pypi.io/packages/source/{{ pypi_name[0] }}/{{ pypi_name }}/arabic_reshaper-{{ version }}.tar.gz
11+
sha256: e84b3b0ad8eae395641c94d3010b53bfed2c2b1ab80f25eb8cdc01019ddf6426
1312

1413
build:
15-
noarch: generic
14+
noarch: python
15+
script: {{ PYTHON }} -m pip install .[with-fonttools] -vv
1616
number: 0
17-
script: "{{ PYTHON }} -m pip install .[with-fonttools] -vv"
1817

1918
requirements:
2019
host:
21-
- configparser; # [ py < 3 ]
22-
- fonttools >=4.0 # [ py > 3 ]
23-
- fonttools >=3.0,<4.0 # [ py < 3 ]
24-
- future
25-
- pip
2620
- python
27-
- setuptools
21+
- pip
2822
run:
29-
- configparser; # [ py < 3 ]
30-
- fonttools >=4.0 # [ py > 3 ]
31-
- fonttools >=3.0,<4.0 # [ py < 3 ]
32-
- future
3323
- python
34-
- setuptools
24+
- configparser # [py<3]
25+
- future
3526

3627
test:
3728
imports:
3829
- arabic_reshaper
30+
commands:
31+
- pip check
32+
requires:
33+
- pip
3934

4035
about:
41-
home: "https://mpcabd.xyz/python-arabic-text-reshaper/"
36+
home: https://github.com/mpcabd/python-arabic-reshaper/
37+
summary: Reconstruct Arabic sentences to be used in applications that don't support Arabic
4238
license: MIT
43-
license_family: MIT
44-
summary: "Reconstruct Arabic sentences to be used in applications that don't support Arabic"
45-
doc_url: "https://github.com/mpcabd/python-arabic-reshaper/"
46-
dev_url: "https://github.com/mpcabd/python-arabic-reshaper/"
39+
license_file: LICENSE
4740

4841
extra:
4942
recipe-maintainers:

upload-to-anaconda.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
# conda config --set anaconda_upload no
44
# conda config --add channels conda-forge
55
# conda-build . --python 3.6
6-
conda-build . --python 3.7
7-
conda-build . --python 3.8
8-
conda-build . --python 3.9
9-
conda-build . --python 3.10
6+
# conda-build . --python 3.7
7+
# conda-build . --python 3.8
8+
# conda-build . --python 3.9
9+
# conda-build . --python 3.10
1010
# anaconda login
1111
# anaconda upload --user mpcabd /opt/conda/conda-bld/noarch/arabic-reshaper-*-py36_0.tar.bz2
12-
anaconda upload --user mpcabd /opt/conda/conda-bld/noarch/arabic-reshaper-*-py37_0.tar.bz2
13-
anaconda upload --user mpcabd /opt/conda/conda-bld/noarch/arabic-reshaper-*-py38_0.tar.bz2
14-
anaconda upload --user mpcabd /opt/conda/conda-bld/noarch/arabic-reshaper-*-py39_0.tar.bz2
15-
anaconda upload --user mpcabd /opt/conda/conda-bld/noarch/arabic-reshaper-*-py310_0.tar.bz2
12+
# anaconda upload --user mpcabd /opt/conda/conda-bld/noarch/arabic-reshaper-*-py37_0.tar.bz2
13+
# anaconda upload --user mpcabd /opt/conda/conda-bld/noarch/arabic-reshaper-*-py38_0.tar.bz2
14+
# anaconda upload --user mpcabd /opt/conda/conda-bld/noarch/arabic-reshaper-*-py39_0.tar.bz2
15+
# anaconda upload --user mpcabd /opt/conda/conda-bld/noarch/arabic-reshaper-*-py310_0.tar.bz2

0 commit comments

Comments
 (0)