From c44647fb1777c76c7dd17603b24d30bf3e6c949c Mon Sep 17 00:00:00 2001 From: WGolay Date: Wed, 23 Aug 2023 20:38:17 -0400 Subject: [PATCH 1/3] conda-forge channel support --- .github/workflows/publish-conda.yml | 15 +++++++++++ meta.yaml | 39 +++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 .github/workflows/publish-conda.yml create mode 100644 meta.yaml diff --git a/.github/workflows/publish-conda.yml b/.github/workflows/publish-conda.yml new file mode 100644 index 00000000..b49e2a6d --- /dev/null +++ b/.github/workflows/publish-conda.yml @@ -0,0 +1,15 @@ +name: publish_conda + +on: + release: + types: [published] + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3.1.0 + - name: publish-to-conda + uses: fcakyon/conda-publish-action@v1.3 + with: + AnacondaToken: ${{ secrets.ANACONDA_TOKEN }} \ No newline at end of file diff --git a/meta.yaml b/meta.yaml new file mode 100644 index 00000000..e2ae87cc --- /dev/null +++ b/meta.yaml @@ -0,0 +1,39 @@ +{% set name = "tksheet" %} +{% set version = "6.2.3" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://github.com/ragardner/tksheet/archive/{{ version }}.tar.gz + sha256: c370e2a1f2c63f364271d44fd811ab2dfbdba204ba6f9cb3bdb1a82b99cc0c65 + +build: + noarch: python + script: {{ PYTHON }} -m pip install . -vv + number: 0 + +requirements: + host: + - python >=3.6 + - pip + run: + - python >=3.6 + +test: + imports: + - tksheet + commands: + - pip check + requires: + - pip + +about: + home: https://github.com/ragardner/tksheet + license: MIT + license_file: LICENSE.txt + +extra: + recipe-maintainers: + - ragardner From d4a03d2bdd4be6f367aa4e442d5054d4291421a6 Mon Sep 17 00:00:00 2001 From: WGolay Date: Wed, 23 Aug 2023 22:01:53 -0400 Subject: [PATCH 2/3] Remove action --- .github/workflows/publish-conda.yml | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 .github/workflows/publish-conda.yml diff --git a/.github/workflows/publish-conda.yml b/.github/workflows/publish-conda.yml deleted file mode 100644 index b49e2a6d..00000000 --- a/.github/workflows/publish-conda.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: publish_conda - -on: - release: - types: [published] - -jobs: - publish: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3.1.0 - - name: publish-to-conda - uses: fcakyon/conda-publish-action@v1.3 - with: - AnacondaToken: ${{ secrets.ANACONDA_TOKEN }} \ No newline at end of file From 88d554866d52c92043af6d71e8f9884461cdf39b Mon Sep 17 00:00:00 2001 From: WGolay Date: Sat, 26 Aug 2023 11:32:19 -0400 Subject: [PATCH 3/3] Update sha256, add couple more fields to meta.yaml --- meta.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/meta.yaml b/meta.yaml index e2ae87cc..42e206bc 100644 --- a/meta.yaml +++ b/meta.yaml @@ -6,6 +6,7 @@ package: version: {{ version }} source: + url: https://github.com/ragardner/tksheet/releases/download/{{ version }}/tksheet-{{ version }}.tar.gz url: https://github.com/ragardner/tksheet/archive/{{ version }}.tar.gz sha256: c370e2a1f2c63f364271d44fd811ab2dfbdba204ba6f9cb3bdb1a82b99cc0c65 @@ -20,6 +21,7 @@ requirements: - pip run: - python >=3.6 + - tk >=8.6 test: imports: @@ -31,8 +33,14 @@ test: about: home: https://github.com/ragardner/tksheet + summary: Python 3.6+ tkinter table widget for displaying tabular data + description: | + A Tkinter spreadsheet widget for Python 3.6+. license: MIT + license_family: MIT license_file: LICENSE.txt + doc_url: https://github.com/ragardner/tksheet/wiki + dev_url: https://github.com/ragardner/tksheet extra: recipe-maintainers: