Skip to content

Commit cbe7667

Browse files
committed
Restructure project to make Rust first-class citizen
1 parent c559cc2 commit cbe7667

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+181
-225
lines changed

.github/workflows/build-wheels.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,15 +93,15 @@ jobs:
9393
- name: Build FastWARC
9494
uses: pypa/cibuildwheel@v2.22.0
9595
with:
96-
package-dir: fastwarc
96+
package-dir: fastwarc-py
9797
output-dir: wheelhouse
9898
env:
9999
CIBW_TEST_COMMAND: python -m pytest --capture=sys --verbose {project}/tests/fastwarc
100100

101101
- name: Build Resiliparse
102102
uses: pypa/cibuildwheel@v2.22.0
103103
with:
104-
package-dir: resiliparse
104+
package-dir: resiliparse-py
105105
output-dir: wheelhouse
106106
env:
107107
CIBW_BEFORE_TEST: >-
@@ -180,10 +180,10 @@ jobs:
180180
run: python -m pip install build
181181

182182
- name: Build FastWARC Source Dist
183-
run: python -m build --sdist --outdir dist fastwarc
183+
run: python -m build --sdist --outdir dist fastwarc-py
184184

185185
- name: Build Resiliparse Source Dist
186-
run: python -m build --sdist --outdir dist resiliparse
186+
run: python -m build --sdist --outdir dist resiliparse-py
187187

188188
- name: Upload Source Dists
189189
uses: actions/upload-artifact@v4

.gitignore

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,12 @@ Thumbs.db
160160
.prof
161161

162162
# Cython C/C++ and HTML profiling files
163-
fastwarc/**/*.c
164-
fastwarc/**/*.cpp
165-
fastwarc/**/*.html
166-
resiliparse/**/*.c
167-
resiliparse/**/*.cpp
168-
resiliparse/**/*.html
163+
fastwarc-py/**/*.c
164+
fastwarc-py/**/*.cpp
165+
fastwarc-py/**/*.html
166+
resiliparse-py/**/*.c
167+
resiliparse-py/**/*.cpp
168+
resiliparse-py/**/*.html
169169

170170
# data directories
171171
wikidumps/

.vcpkg/ports/lexbor/portfile.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
vcpkg_from_github(
22
OUT_SOURCE_PATH SOURCE_PATH
3-
REPO lexbor/lexbor
4-
REF v${VERSION}
5-
SHA512 c12a04df5852464e6448a771ca6914ae5eeec48d84f0d199d034b65260edf49a7c47bbd8c910e1bf62b2592237a352368d1640660b2c55c5e5cd355c79782350
3+
REPO phoerious/lexbor
4+
REF 647a0b5
5+
SHA512 a8d7c71a197edab5446bf757bfda4653cb839d69c59e0e6dc80ddf5512c94103e3c54c6a52ffc4de882dea3c7901b1103e7b5c835b80403feee48c0c9ef48d83
66
)
77

88
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" BUILD_STATIC)

.vcpkg/ports/lexbor/vcpkg.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "lexbor",
3-
"version": "2.4.0",
3+
"version": "2.1.0",
44
"description": "Lexbor is development of an open source HTML Renderer library.",
5-
"homepage": "https://github.com/lexbor/lexbor",
5+
"homepage": "https://github.com/phoerious/lexbor",
66
"supports": "!uwp",
77
"dependencies": [
88
{

0 commit comments

Comments
 (0)