Skip to content

Commit 1abeab3

Browse files
committed
Initial commit
0 parents  commit 1abeab3

20 files changed

+351
-0
lines changed

.github/workflows/excavator.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Excavator
2+
3+
on:
4+
schedule:
5+
- cron: "0 * * * *"
6+
7+
jobs:
8+
excavator:
9+
name: Excavator
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@master
14+
- name: Excavate
15+
uses: Ash258/Scoop-GithubActions@stable
16+
env:
17+
GITH_EMAIL: therandomlabsinc@gmail.com
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
SKIP_UPDATED: "1"

.github/workflows/issues.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Issues
2+
3+
on:
4+
issues:
5+
types: [opened, labeled]
6+
7+
jobs:
8+
issueVerifier:
9+
name: Issue Verifier
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@master
14+
- name: Verify Issues
15+
uses: Ash258/Scoop-GithubActions@stable
16+
if: github.event.action == 'opened' || (github.event.action == 'labeled' && contains(github.event.issue.labels.*.name, 'verify'))
17+
env:
18+
GITH_EMAIL: therandomlabsinc@gmail.com
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Pull Request Comments
2+
3+
on:
4+
issue_comment:
5+
types: [created]
6+
7+
jobs:
8+
pullRequestValidator:
9+
name: Pull Request Validator
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@master
14+
- name: Validate Pull Request
15+
uses: Ash258/Scoop-GithubActions@stable
16+
if: startsWith(github.event.comment.body, '/verify')
17+
env:
18+
GITH_EMAIL: therandomlabsinc@gmail.com
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Pull Requests
2+
3+
on:
4+
pull_request:
5+
types: [opened]
6+
7+
jobs:
8+
pullRequestValidator:
9+
name: Pull Request Validator
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@master
14+
- name: Validate Pull Request
15+
uses: Ash258/Scoop-GithubActions@stable
16+
env:
17+
GITH_EMAIL: therandomlabsinc@gmail.com
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.vscode/extensions.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"recommendations": [
3+
"EditorConfig.EditorConfig",
4+
"ms-vscode.PowerShell"
5+
]
6+
}

.vscode/settings.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// Configure PSScriptAnalyzer settings
2+
{
3+
"[powershell]": {
4+
"editor.formatOnSave": true
5+
},
6+
"powershell.scriptAnalysis.settingsPath": "PSScriptAnalyzerSettings.psd1",
7+
"powershell.codeFormatting.preset": "OTBS",
8+
"powershell.codeFormatting.alignPropertyValuePairs": true,
9+
"powershell.codeFormatting.ignoreOneLineBlock": true,
10+
"files.exclude": {
11+
"**/.git": true,
12+
"**/.svn": true,
13+
"**/.hg": true,
14+
"**/CVS": true,
15+
"**/.DS_Store": true,
16+
"**/tmp": true
17+
}
18+
}

LICENSE

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
This is free and unencumbered software released into the public domain.
2+
3+
Anyone is free to copy, modify, publish, use, compile, sell, or
4+
distribute this software, either in source code form or as a compiled
5+
binary, for any purpose, commercial or non-commercial, and by any
6+
means.
7+
8+
In jurisdictions that recognize copyright laws, the author or authors
9+
of this software dedicate any and all copyright interest in the
10+
software to the public domain. We make this dedication for the benefit
11+
of the public at large and to the detriment of our heirs and
12+
successors. We intend this dedication to be an overt act of
13+
relinquishment in perpetuity of all present and future rights to this
14+
software under copyright law.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22+
OTHER DEALINGS IN THE SOFTWARE.
23+
24+
For more information, please refer to <http://unlicense.org>

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!-- markdownlint-disable MD010 -->
2+
<!-- markdownlint-disable MD014 -->
3+
4+
# Scoop-Python
5+
6+
A [Scoop](https://github.com/lukesampson/scoop) bucket for Python applications that do not provide
7+
standalone executables.
8+
9+
$ scoop bucket add python https://github.com/TheRandomLabs/Scoop-Python.git
10+
11+
This bucket is an alternative to using pip to install these packages.
12+
13+
Note that uninstalling a package in this bucket will not uninstall its dependencies to avoid
14+
conflicts.

bin/auto-pr.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
param([String]$upstream = "TheRandomLabs/Scoop-Python:master")
2+
3+
if (!$env:SCOOP_HOME) { $env:SCOOP_HOME = Resolve-Path(Split-Path(Split-Path(scoop which scoop))) }
4+
$auto_pr = "$env:SCOOP_HOME\bin\auto-pr.ps1"
5+
$dir = "$psscriptroot\..\bucket"
6+
Invoke-Expression -Command "& '$auto_pr' -dir '$dir' -upstream $upstream $($args | ForEach-Object { "$_ " })"

bin/checkurls.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
if (!$env:SCOOP_HOME) { $env:SCOOP_HOME = Resolve-Path(Split-Path(Split-Path(scoop which scoop))) }
2+
$checkurls = "$env:SCOOP_HOME\bin\checkurls.ps1"
3+
$dir = "$psscriptroot\..\bucket"
4+
Invoke-Expression -Command "& '$checkurls' -dir '$dir' $($args | ForEach-Object { "$_ " })"

0 commit comments

Comments
 (0)