-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
79 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,26 @@ | ||
name: Publish AlphacodersDownloader to AUR | ||
|
||
on: | ||
release: | ||
types: [published] | ||
workflow_run: | ||
workflow: 'Publish AlphacodersDownloader to Test-PyPI and PyPI' | ||
types: | ||
- completed | ||
workflow_dispatch: | ||
|
||
jobs: | ||
publish_to_aur: | ||
publish-to-aur: | ||
name: Publish AlphacodersDownloader to AUR | ||
runs-on: ubuntu-latest | ||
container: | ||
image: archlinux:latest | ||
steps: | ||
- name: Downloading Files | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Generate checksum | ||
run: | | ||
cd archlinux && pacman -S pacman-contrib --noconfirm && updpkgsums | ||
- name: Update AUR Package | ||
uses: KSXGitHub/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
__title__ = "AlphacodersDownloader" | ||
__version__ = "0.1.3" | ||
__version__ = "0.1.3.1" | ||
__author__ = "Asthowen" | ||
__license__ = "GNU v3.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
class WallpapersNotFounds(Exception): | ||
def __init__(self, wallpaper: str): | ||
super().__init__(f"I can't found wallpapers at URL: {wallpaper}!") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
# Maintainer: Asthowen <[email protected]> | ||
# Maintainer: squitch <[email protected]> | ||
|
||
pkgname='python-alphacodersdownloader' | ||
pkgver=0.1.3 | ||
pkgver=0.1.3.1 | ||
pkgrel=1 | ||
pkgdesc="A script for download backgrounds on https://alphacoders.com written in Python." | ||
pkgdesc='A script for download backgrounds on https://alphacoders.com written in Python.' | ||
arch=('any') | ||
url='https://github.com/Asthowen/AlphacodersWallpaperDownloader/' | ||
license=('GNUv3') | ||
makedepends=('python-setuptools') | ||
depends=('python>=3.6' 'python-aiohttp' 'python-aiofiles' 'python-setproctitle' 'python-beautifulsoup4') | ||
source=("https://pypi.io/packages/source/A/AlphacodersDownloader/AlphacodersDownloader-$pkgver.tar.gz") | ||
sha256sums=('SKIP') | ||
source=('https://pypi.io/packages/source/A/AlphacodersDownloader/AlphacodersDownloader-$pkgver.tar.gz') | ||
|
||
build() { | ||
cd AlphacodersDownloader-$pkgver | ||
|
@@ -20,4 +20,4 @@ build() { | |
package() { | ||
cd AlphacodersDownloader-$pkgver | ||
python setup.py install --root="$pkgdir" --optimize=1 --skip-build | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
|
||
setuptools.setup( | ||
name='AlphacodersDownloader', | ||
version='0.1.3', | ||
version='0.1.3.1', | ||
author='Asthowen', | ||
author_email='[email protected]', | ||
maintainer='Asthowen', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
setuptools.setup( | ||
name='AlphacodersDownloader', | ||
version='0.1.3', | ||
version='0.1.3.1', | ||
author='Asthowen', | ||
author_email='[email protected]', | ||
maintainer='Asthowen', | ||
|